LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 12-11-2002, 03:22 PM   #1
Skywolf
LQ Newbie
 
Registered: Nov 2002
Distribution: Mandrake
Posts: 10

Rep: Reputation: 0
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.1ENY

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
 
Old 12-11-2002, 03:23 PM   #2
Skywolf
LQ Newbie
 
Registered: Nov 2002
Distribution: Mandrake
Posts: 10

Original Poster
Rep: Reputation: 0
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
 
Old 12-12-2002, 05:27 PM   #3
Stingreen
Member
 
Registered: May 2001
Location: Baltimore,MD,USA,Earth,Some Galaxy, We haven't gone that far!
Distribution: Redhat 7.3
Posts: 104

Rep: Reputation: 15
Make sure you have the following line in your /etc/hosts file.

127.0.0.1 localhost
 
Old 12-12-2002, 09:05 PM   #4
Skywolf
LQ Newbie
 
Registered: Nov 2002
Distribution: Mandrake
Posts: 10

Original Poster
Rep: Reputation: 0
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
 
  


Reply



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
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 15 03-30-2015 02:39 PM
Any idea why this time I can not ping my LAN pc but can PING for ex. www.yahoo.com vakia Debian 5 09-28-2005 06:42 PM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM
windows 98 m/c ping to ip address of red hat server but fails to ping hostname ravilohot Linux - Networking 2 09-07-2004 04:57 AM
I can ping google.com successfully,but ping client(in my intranet) failed.Why? whepin Linux - Newbie 4 12-30-2001 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:42 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration