CentOS 5 Networking :: Ping Localhost Not Working?
Mar 13, 2009
it was not working and ping is not reply me and I add ifconfig lo 127.0.0.1 it is working and getting ping but when reboot it is lost setting how can I set it for always ping working.
PING localhost (127.0.0.1) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ifconfig lo 127.0.0.1 later
[Code]....
now working but IWant reboot later working about same. how can I setting it boot start this .
View 7 Replies
ADVERTISEMENT
Sep 10, 2009
My server was working perfectly.
My other uses on on LAN can access Internet but Cant ping the server.
Though they were able to do that earlier.
No software installed. No change in any files.
View 1 Replies
View Related
Jul 8, 2010
I'm having trouble pinging localhost, specifically, pinging localhost when I'm not connected to a network. When I try it keeps telling me the operation is not permitted:
Code:
matt@mubuntu:~$ ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
if I connect to the network, start pinging then disconnect it continues pinging. Google seems to think it could be something to do with my iptables setup:
Code:
matt@mubuntu:~$ sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
[code]....
When not connected to network
Code:
matt@mubuntu:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
But as far as I can tell there isn't anything in there which would stop me connecting to the localhost (I also can't connect to my local apache instance when offline)... (It's worth mentioning that a couple of weeks ago I had the pc setup to share it's internet connection with a laptop, ala this guide, however I've since disabled the iptables rules and disabled ip forwarding.)
View 4 Replies
View Related
May 27, 2010
This is a RHEL 5.4 install. I did a fairly routine install setting up a static IP address of 10.5.96.10, a subnet mask of 255.255.254.0, and a gateway of 10.5.96.1 with the standard DNS setup for this network. These are all standard network setting for this network and otherwise work fine on other systems. The IP, gateway, and subnetmask all appear correctly on all relevant configuration files. This server can not ping any other system on the network and can not ping its default gateway. No other systems can ping this one either. Also this system can not ping "localhost" or its own hostname. The hosts file contains the line:
[code]...
I can ping 127.0.0.1 and 10.5.96.10 and it works fine. Also the firewall is disabled. I know I probably can't get a straight forward fix with the information I have on hand right now, I'm more of a Debian guy, so there might be some Red Hat intricacies I'm not familiar with. I think I had a CentOS install some months back that had this issue and I don't remember how I fixed it, or if I even did. I might have just replaced it with Debian. That's unfortunately not an option this time around since it's not my box.
View 4 Replies
View Related
Jul 15, 2011
I am using an virtual machine. where I need to ping from one machine to another. earlier I was able to ping. But after going to google.com once, I cannot ping back to this machine.
But if I gave ping -I eth1 <IP> then I can ping.
I cannot install any package, so tell me solution which includes not installing any package.
View 2 Replies
View Related
Jul 17, 2009
I have a strange problem for internet. My clients (winxp - S2) can't get internet.Let me explain my scenerios. Fedora 10 with lan (eth0) having direct internet from dsl model, client (XP service pack 2) can use samba shares using dhcp (wlan0) installed in Fedora 10 box. client can ping my linux box.Now problem is: client (dosbox) can ping the google ip address (i.e ping 74.125.39.106) but can't use 'ping www.google.com'. That means ping with ip works for internet from my client. My linux box can. I can use internet from FC10 but can't use iexplorer from my client to have internet. I have enable ipmasquarding in Firewall and dhcpd is running on wlan0 for dynamic ip address of my clients.Can someone suggest me what kind of problem having I? What should i do to success iexplorer for internet? what possibly am i missing?
View 3 Replies
View Related
Oct 7, 2009
I'm running wordpress and have gone to the painstaking effort of setting up the ftp server on my 5.3 machine so it can do its own updates and download plugins. However, I've found that if I try to download anything, I get a "unable to resolve host..." error from the script. If I watch Iptraf while making the request, I see all the port 53 requests going to 127.0.0.1. Pings are too.
However, if I ssh in, I can ping and wget and whatever I want all day long and all the DNS requests to go the router (Clarkconnect 3.2 gateway machine). The web browser in the terminal works fine too. What is it about the php scripts that is causing them to misdirect pings and dns requests? I've never seen anything like it and can't find anything on the web about it either.
[Code]....
View 2 Replies
View Related
Dec 5, 2010
I have recently upgraded to a VPS for the purpose of web hosting a group of sites related to my business.The reason for the upgrade was because we wish to run a shopping cart software which required greater memory for PHP and the VPS was the most economic solution. So, I have very basic linux knowledge but I am the definition of a newbie when it comes to going further than just scratching the surface of server configuration! I have successfully hosted our main site for a number of weeks but recently the postfix service stopped sending mail. I have Plesk Control Panel installed and postfix continually shows as not started even though in SSH the service status is definitely running - I have gone through the troubleshooting checklist here (http://www.postfix-book.com/debugging.html#d0e6) but can't get any further than section 2.1 as when running the host command (#host relay-test.mail-abuse.org), I get # -bash: host:command not found. I've gone further in the document but not found any issues...
When postfix was working properly (i.e. sending emails!), the plesk CP showed the service as started and all emails from the website were sending as normal. The mailq command is showing the messages stuck in the mailq and the maillog shows the following:- http://pastebin.centos.org/36446 - these are the latest few pages.To check the configuration and basic elements I have flushed the mailq (which shows a stack of messages waiting) and I have also spent a long time (2 weeks) reading up on the parameters that should be in main.cf and master.cf.I have found that when I 'telnet localhost 25' I get the following response...[root@s15397216]# telnet localhost 25Trying 127.0.0.1...Connected to localhost.Escape character is '^]'.
View 2 Replies
View Related
Jan 1, 2010
I can ping my router, i can ping google and i can ping the ip address you get in the ubuntu help.If i type 192.168.1.1 i can get my router control panel/i just cant connect to the web,
View 1 Replies
View Related
Feb 28, 2010
I am working behind a http proxy (172.30.x.x:3128). I have configured it in my terminal. All the applications such as wget,lynx firefox etc. are working correctly.However all dns utilities like nslookup, host and even ping too are not working.Following is output of host command:
Code:
root@ding:~# host google.com
;; connection timed out; no servers could be reached
Output of host -T:
[Code]....
To connect to net I have to first run dhclient3(learnt from this forum!).It gives me my ip but where is dns address sent I don't have and idea.
View 14 Replies
View Related
Sep 25, 2009
I have opened/added the ports 1812 and 1813 (both tcp & udp) for radius server in the firewall.
when i use the command : telnet localhost 1812 , the connection says "refused", i get the following messages code...
View 2 Replies
View Related
Feb 12, 2009
I have two CentOS servers on the same LAN. One is CentOS 4.7 the other 5.2 They both also have a WAN interface to the same remote network. On CentOS 4.7 I can ping the remote network through the CentOS 5.2 server. i.e. ping -I eth0 remotehost On CentOS 5.2 I can NOT force the ping to go out the CentOS 4.7 server without over riding my routing tables to make eth0 a more direct route than the eth1 route.
On 5.2 If I do the ping -I eth0 remotehost, and a tcpdump on eth0, the outbound ping will not be going out eth0, he overrides it and sends it out eth1. In fact, on CentOS 4.7 if I do not have a route to the remote network through the other server (turn proxy arp off on the 5.2 machine), I will get "Destination Host Unreachable". I would ideally like to get the 5.2 machine to behave the way the 4.7 machine does.
My real life application for this is that I have a CentOS server in a location that controls access to the Internet. There is another router on the netowrk that handles traffic back to our corporate office. the CentOS server also has the ability to get to the corporate office. I ping the corporate office through eth0 to find out if the link through the other router is indeed up and active. I want to make this a CentOS 5.2 server but alas, I can not tell if the other route is up or not.
View 7 Replies
View Related
May 20, 2009
I have configured (bind) my server with multiple static IP. I can ping the main IP from outside but not the other IP . I can ping all the IP from localhost but not from the internet. I do not have any external firewall or blocking device. server is directly connected via modem. If anyone could advice me for why i cannot ping other Ip's
View 5 Replies
View Related
Oct 2, 2009
just finished installing Centos5 and I had no problems installing it. But when I tried to connect to the internet, the trouble began.My network card is installed and the status is "OK". The network card is a "Realtek RTL 8168C(P)/8111C(P)".The status of the device said "Inactive" and when I tried to activate it, it came with an error: Failed; no link present. Check Cable?Now the cable is connected as it should be.So next step I did is put in a static IP. Now the activation works fine.However I still have no internet. I can't even ping to my router!I need some new drivers for my graphics card too, but first I need the network to work, than I can download other stuff..
View 6 Replies
View Related
Jun 14, 2010
I have static route for eth1:
[Code].....
eth1 (13.3.3.2) is connected to router port 2/0 (13.3.3.1). I am trying to ping from eth1 to router or vice versa. None of them is not working. Don't know what is problem. [root@perseus anvltest]# ping 13.3.3.1 PING 13.3.3.1 (13.3.3.1) 56(84) bytes of data.
3 packets transmitted, 0 received, 100% packet loss, time 2000ms
[Code]....
View 4 Replies
View Related
Jun 15, 2011
I am trying to get an arp packet from my wireless wifi router (access point), to which I am not connected. I simply tried ping 192.168.0.1, but the answer was connect: network is unreachable. What can I do about that?
View 5 Replies
View Related
Feb 10, 2010
I have a box at home that I've installed CentOS 5 on to. I'm new to Linux, so before connecting it up to the router I wanted to try and understand the network settings, so I connected it directly to my other PC with an RJ45 cable. From Windows 7 I can ping all known static IP addresses, but from Linux I can only ping the Linux addresses, not the Windows 7 one. Below are the TCP/IP IPv4 settings, all IPv6 settings are set to auto-assign.
Windows box (uses wireless connection for the router):
Local Ethernet Adapter
IP Address: 30.10.0.1
Subnet: 255.255.0.0
No gateway, primary/secondary DNS.
Linux box:
Three adapters:
Two onboard LAN, both configured to:
IP Address: 30.10.0.2 / 30.10.0.3
Subnet: 255.255.0.0
Gateway: 30.10.0.1
No primary/secondary DNS.
One LinkSys PCI card:
IP Address: 20.10.0.1
Subnet: 255.255.255.0
Gateway: 192.168.1.1 (my router)
Primary/Secondary DNS: my ISPs details.
The idea was to connect the box directly to the router (with RJ45) and to be able to remote login from my main PC to this one. This box is to be my home server, which I was going to put virtual machines on to for things like my development work and such.
View 1 Replies
View Related
Dec 16, 2010
In my office i have a network of 172.16.31.0 and a squid proxy server running, all other systems have windows XP and one system has centos. On centos system i have three lan cards and i want to test some things on it. So i assigned another IP on it of range 192.168.7.0/24 and same range on another windows system. And all the systems connected through a same network switch.
Unable to ping between Centos and Windows system. If i ping from one centos to windows system with the series of 172.16.31.0 then it replies very well but same thing is not happening in other 192.168.7.0/24 IP series.
View 2 Replies
View Related
Mar 14, 2009
I just downloaded and installed the latest Cent OS 5. I disabled SE linux, turned off the firewall, and selected the Server package options when installing. I plan on using this as a router/firewall between my internal network and the internet, as well as web server, etc. The first thing I did was to configure the two NICs, internal one with 192.168.7.1 address and the other with an address from my ISP (I have a static address, but I also tried to let the DSL router assign an address via DHCP). Everything looked fine, I checked /etc/resolv.conf and my routes. I was able to ping the DSL router from the server, but I was not able to do a ping or lookup on anything outside my network. I tried host, dig, nslookup, etc, no luck. Obviously then, I was not able to browse the net with firefox.
View 4 Replies
View Related
May 7, 2010
I have installed Centos 5 on a virtual machine (esx4i). I set it to obtain an IP address from the DHCP sever, which is a broadband router, it has been given an IP address of 10.10.11.159 the router is 10.10.11.1 but I can't ping the router and I can't get any access to the network! I have a SCO Openserver server on the same physical box and it works fine so I know the network card & cable is ok.
View 9 Replies
View Related
Nov 21, 2010
I have strange issue on Centos 5.5 server.I have static IP address (192.168.58.2) on eth1 card and can't get ping response from some sites.PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
[code]....
View 3 Replies
View Related
Jul 22, 2010
Ubuntu and after installing it i can't browse any internet through firefox although ping is working good and downloading plugins to system to run MP3 or videos is also working fine but can't open any website through firefox and i tried the live cd of Ubuntu 10.4 at other PC and internet was working fine and firefox was working fine
View 3 Replies
View Related
Jul 2, 2010
I posted it on another forum, but could not get response,So I have this cenOS, Ubuntu and windows operating system running on virtual machines.Now I gave them manual ip address, both ubuntu and windows machines can ping the default gateway, but not the CentOS.It should forward 0.0.0.0. to my cisco router address(192.168.5.254),
View 4 Replies
View Related
Oct 7, 2009
I have a problem on my LAN, then: I have a laptop on which Windows Vista is installed, and every time I try to do ping to my server centos, my centos server does not respond to ping. The server is operating normally, because I found other PCs on my network that communicate normally with my centos server.
View 1 Replies
View Related
Apr 22, 2010
I have a box that I installed Elastix on as I'm trying my hand at Voip and Linux. I'm basically very green when it comes to Linux and the console. As I was following a guide @ engineertim.com to securing the box, it asked me to: wget [URL], But I get: Resolving engineertim.com... failed: Temporary failure in name resolution. I searched around and tried configuring resolv.conf to no resolve - :) unintended pun
I changed /etc/sysconfig/network to include GATEWAY=192.168.1.1 From the internet I have a modem-192.168.2.1, a telecom voip box-192.168.15.1, and then my router 192.168.1.1 I'm able to ping machines attached to the router but nothing beyond that. I tried to get the results for ifconfig via putty on this machine but it says command not found. I can get it when I log in at the box in question though.
View 10 Replies
View Related
Nov 24, 2010
I have a Lan with 100 computers with microsoft windows xp and vista on it, and I need to build a CentOS Primary domain control- PDC. So I am building a PDC , with samba 3.x +Ldap ( Light Directory Acess Protocol), with static eth0 and DHCP-server( Dynamic Host Control Protocol) on eth1.
Eth0 : 192.168.1.3
Eth1 : 192.168.1.5
Here is the configurations files:
== BEGIN uname -rmi ==
2.6.18-194.17.4.el5 x86_64 x86_64
== END uname -rmi ==
== BEGIN rpm -q centos-release ==
centos-release-5-5.el5.centos
== END rpm -q centos-release ==
== BEGIN cat /etc/redhat-release ==
CentOS release 5.5 (Final)
== END cat /etc/redhat-release ==
== BEGIN getenforce ==
Permissive
== END getenforce ==
== BEGIN rpm -q yum rpm python ==
yum-3.2.22-26.el5.centos
rpm-4.4.2.3-20.el5_5.1
python-2.4.3-27.el5
== END rpm -q yum rpm python ==
== BEGIN ifconfig -a == .....
View 3 Replies
View Related
Jan 28, 2011
Givens
LAN
CentOS 5.5
Windows 7 machine (hostname/NETBIOS name: AwesomePC, LAN IP: 192.168.1.20)
Workgroup: Cake
No WINS server
No Domain
No AD
Goal
From CentOS 5.5, have
# ping AwesomePC
resolve to a ping on 192.168.1.20
Problem
# ping AwesomePC
resolves to some random public IP that seems to be coming from my WAN DNS (openDNS) servers
ATTEMPTS
Have edited /etc/nsswitch.conf, edited line: hosts: files wins dns Have edited /etc/resolv.conf, added line: search CAKE Have installed samba (# yum install samba) and run (# service smb start), with /etc/samba/smb.conf, workgroup = CAKE, name resolve order = wins host lmhosts bcast
Does # ping even care about samba? How can I get this to work?
View 5 Replies
View Related
Jul 26, 2011
I am using centOS 5.0. After I change from DHCP to static IP address, I cannot ping hosts on the same subnet. The error message says destination host unreachable. Before I made the changes I was able to ping and now even I change it back to DHCP I still cannot ping with the same destination host unreachable message. The centOS is running on VMware on a Windows host.
ifconfig shows
eth0 Link encap:Ethernet HWaddr 00:0C29:A1:9A:10
inet addr: 192.168.0.202 Bcast:192.168.0.255 Mask: 255.255.255.0
inet6 addr ......
After pinging 192.168.0.106 (106 is on and other host can ping it), arp -a shows ? (192.168.0.106) at <incomplete> on eth0 I tried different ways by disabling the firewall and and disabling SE protection. No Luck.
View 13 Replies
View Related
Jun 25, 2009
I run an centos server. From the console I can ping google.com and get a reply. But when I ping another address say xyz.com, the IP address is resolved (11.22.33.44) but there is no reply. In the same network in our office from my desktop I ping [URL] and there is a reply.I turned of the firewall but still the same problem.
View 9 Replies
View Related
Feb 15, 2010
I have OpenVPN running successfully on a CentOS Linux server. All remote clients connect without a problem and can ping the server LAN (10.5.0.0/24) . The server address is
10.5.0.1. All network shares on the server are available to the remote clients via SAMBA shares and this works well.The problem is that I am unable to get the remote clients to access services on the LAN clients. For example, there is a webserver running on a Windows XP PC (on the server LAN @ 10.5.0.2) with no firewall enabled. The remote VPN clients can ping this webserver at 10.5.0.2, but cannot browse the webserver at [URL]. All clients on the server LAN can however browse the webserver. The remote clients are using Windows XP and VISTA with OpenVPN 2.1.1.
I am new to VPNs and networking, but from my research, it seems as if this may be a routing issue. I would appreciate any help you may give in getting the remote clients to access the services on the LAN clients (other than the server @ 10.5.0.1).
The server configuration is:
local 192.168.10.6
port 1194
proto tcp
[code]...
View 5 Replies
View Related