PDA

View Full Version : Ping to router no longer working


mickwombat
2006-06-11, 06:52 AM CDT
Hi,

I have a problem with connecting to my router. After installing a network card recently everything seemed to be ok. I could ping the router and my ISP but not a domain and hence could not get onto internet. I resolved this by entering in the gateway (of router) for primary DNS and then gateway of the ISP as a secondary DNS. Everything was fine and could get on internet etc.

I then tried to set a static IP Address and reserved this on the router and now I can no longer ping the router or get on internet.

When I try to ping I get the following message,

ping: sendmsg: Operation not permitted

I have tried all sorts of things to resolve this such as removing the network card and reinstalling in network connections and returning the router settings back to how they were when the thing was working but nothing seems to be working.

The output from mii-tool eth0 is

eth0: negotiated 100baseTx-FD, link OK

Also, when I first log into FC4 I get an error message saying "Could not look up internet address for localhost.localdomain. This will prevent GNOME from operating correctly. It may be possible to correct the problem by adding localhost.domain to the file /etc/hosts". However this error message didn't seem to have any bearing on anything when I had the network card up and running the first time.

Any suggestions

Mick :(

mickwombat
2006-06-11, 08:20 AM CDT
Well I disabled SELinux and it now works. Am typing this on the Linux box. But why the bloody hell was it working before without having to go through this nonsense????????

multescugeorge@
2006-06-11, 08:49 AM CDT
ping: sendmsg: Operation not permitted
i had similar issues with my pppoe connection, but SeLinux was not to blame in my case.
I resolved it by restarting iptables service:
service iptables restart
and all was fine.

jbannon
2006-06-11, 12:15 PM CDT
Selinux does have an option to disallow ping as does the firewall. Has anything changed in between it working and not?