LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Can't ping localhost (ping: sendto: Operation not permitted) (https://www.linuxquestions.org/questions/linux-networking-3/cant-ping-localhost-ping-sendto-operation-not-permitted-24361/)

mentor99us 06-26-2002 08:13 AM

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:

Noerr 06-26-2002 10:03 AM

need to check your kernel
what is compiled in from netowrk devices (eth +loopback=>localhost)

mentor99us 06-26-2002 10:11 AM

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 ??

Griffon26 06-27-2002 10:51 AM

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.

mentor99us 07-03-2002 06:00 AM

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

pembo13 06-18-2003 01:05 PM

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

balam 06-19-2003 12:53 PM

try this

/sbin/ping

rocketero 09-05-2012 02:11 PM

Quote:

Originally Posted by balam (Post 343052)
try this

/sbin/ping

thanks, that worked !


All times are GMT -5. The time now is 12:39 AM.