Can't ping localhost (ping: sendto: Operation not permitted)
This is my first post one what appears to be an excellent place for a newbie such as myself, so be nice :-)
I had a problem with a full hard drive which crashed my SuSE 7.1 Linux server. I have cleaned out the disk and sorted out the disk problems, but I am now faced with two network cards that fails to work. If I ping localhost I get the error message PING localhost (127.0.0.1):56 data bytes ping: sendto: Operation not permitted ping: wrote localhost 64 chars, ret=-1 If I ping the interface I get PING 192.168.40.90: 56 data bytes ping: sendto: Invalid argument ping: wrote 192.168.40.90 64 chars, ret=-1 I am running IPTables, but also get this error message when I have removed all blocking.... Other things I have noticed is that I get the following in my boot.msg file Setting up network device eth0 insmod: insmod: a module named eepro100 already exists insmod: insmod: insmod eth0 failed As of yet I cannot find any more error messages out of place !!! I am now stuck and in need of further help. Questions asked will be answered !! :newbie: |
need to check your kernel
what is compiled in from netowrk devices (eth +loopback=>localhost) |
Should be default
I believe it is ok. It worked until I had disk full problem.
Please can you tell me where to check for this ?? |
Please paste the output of lsmod as well as ifconfig.
If the output of ifconfig does not contain anything about eth0, give the output of ifconfig -a instead (and tell us what you did). Finally give us the contents of your /etc/modules.conf. That should give us everything we need to find your problem. |
Managed workaround
Thanks for your comments, but in the end I deleted the interface definitions and reinstalled the network cards. That seemed to fix the problem. Also changed IPTables rules to allow better control of traffic.
Many Thanks |
Similar Prob
Mr mentor99us
I have a similar prob, since i've put in iptables, it get ping: sendmsg: Operation not permitted my config is suppose allow all packets to leave the gateway, any specific rule i should put it? Thanks to all |
try this
/sbin/ping |
Quote:
|
All times are GMT -5. The time now is 12:39 AM. |