LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Help... I can't ping myself :) (https://www.linuxquestions.org/questions/linux-networking-3/help-i-cant-ping-myself-38025/)

Skywolf 12-11-2002 03:22 PM

Help... I can't ping myself :)
 
Okay, as stupid as this sounds:

I have setup an Apache Webserver on a Mandrake 9.0 machine. When I access the machine from my LAN, I can call up both Apache and Webmin - no problem.

However, when I try to ping... The request times out. I can't ping from the LAN or from remote internet.

My hosts.allow is blank, and hosts.deny is:

ALL:ALL EXECEPT 127.0.0.1:DENY

I suspect this is the issue (but then why can I access the Linux box through both LAN FTP and HTTP?), but I'm not sure.

I have turned off shorewall and iptables just to see if that worked, and I still couldn't ping.

Any ideas? The server is behind a cable/dsl router (DI-604) which has a firewall - I don't really need it on the Linux box... Do I?

Any help would be greatly appreciated...

-S

Skywolf 12-11-2002 03:23 PM

One more thing
 
Oh, I can't ping from localhost, either.

In other words, I can't ping from the box to 127.0.0.1.

The ifconfig looks normal as far as I can tell, and obviously the netcard works, cuz I access webmin from another computer.

Shrug

Stingreen 12-12-2002 05:27 PM

Make sure you have the following line in your /etc/hosts file.

127.0.0.1 localhost

Skywolf 12-12-2002 09:05 PM

Well, it works
 
Well, I got it to work - I can now ping (the sysctl file had it off).

Unfortunately, I *still* can't access the server from outside the LAN (sigh)

-S


All times are GMT -5. The time now is 02:10 AM.