LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-26-2002, 08:13 AM   #1
mentor99us
LQ Newbie
 
Registered: Jun 2002
Posts: 3

Rep: Reputation: 0
Angry 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 !!


 
Old 06-26-2002, 10:03 AM   #2
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
need to check your kernel
what is compiled in from netowrk devices (eth +loopback=>localhost)
 
Old 06-26-2002, 10:11 AM   #3
mentor99us
LQ Newbie
 
Registered: Jun 2002
Posts: 3

Original Poster
Rep: Reputation: 0
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 ??
 
Old 06-27-2002, 10:51 AM   #4
Griffon26
Member
 
Registered: Sep 2001
Location: The Netherlands
Distribution: Gentoo, Debian, Mandrake, LFS
Posts: 182

Rep: Reputation: 30
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.
 
Old 07-03-2002, 06:00 AM   #5
mentor99us
LQ Newbie
 
Registered: Jun 2002
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 06-18-2003, 01:05 PM   #6
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Rep: Reputation: 30
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
 
Old 06-19-2003, 12:53 PM   #7
balam
Member
 
Registered: Nov 2002
Location: us
Distribution: red hat
Posts: 143

Rep: Reputation: 15
try this

/sbin/ping
 
Old 09-05-2012, 02:11 PM   #8
rocketero
LQ Newbie
 
Registered: Feb 2007
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by balam View Post
try this

/sbin/ping
thanks, that worked !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ping: sendmsg: operation not permitted br_sriram Linux - Networking 24 04-03-2011 11:12 AM
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 13 03-17-2011 02:47 AM
Can't ping with XP, can't ping localhost bozoka45 Mandriva 4 06-13-2005 04:23 AM
MDK 9.2, Can't ping localhost but can ping outside world? JohnLocke Linux - Networking 2 07-01-2004 05:59 PM
? on not being able to ping localhost eroica Linux - Networking 13 04-01-2004 03:58 PM


All times are GMT -5. The time now is 05:50 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration