Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-02-2004, 11:29 PM   #1
LQ Newbie
Registered: Nov 2004
Posts: 10

Rep: Reputation: 0
can't ping linux box

This is getting frustrating. How can I enable my box to reply to the ping command???

hosts.deny contains...


hosts.allow contains....

ALL: 192.168.0.

Both contain CR after the last entry.

I have other services working (web, ftp, ssh), but can't get a simple ping to work!

Old 12-03-2004, 12:20 AM   #2
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Have you allowed ping in your firewall configuration?

Old 12-03-2004, 04:03 AM   #3
Senior Member
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Check iptables, for the icmp protocol. See if it is Accepted, or rejected.
Old 12-03-2004, 11:33 AM   #4
LQ Newbie
Registered: Nov 2004
Posts: 10

Original Poster
Rep: Reputation: 0
I had the f/w installed, but it wasn't "turned on". I have now enabled it, which all by itself allowed mysql connections. Ping still didn't work. I've added the following rule (after much research) but it didn't help.

:allow-ping - [0:0]
# allow-ping
-A allow-ping -p icmp -m icmp --icmp-type any -j ACCEPT

I realize this isn't secure, but for testing, I wanted to make it as basic as possible. The box (mandrake 10.2) is behind a h/w firewall. I don't even care to have the firewall on this box enabled if not necessary.

Thanks again.


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
Cannot ping linux box from XP box antare Linux - Networking 10 03-10-2005 10:48 AM
canīt ping my linux box by its name :( pavalosv Linux - Networking 3 01-13-2005 11:03 PM
Cannot ping the linux box amirbhai Linux - Networking 4 06-25-2004 04:43 PM
cant ping my linux box tommytomato Linux - Networking 56 05-18-2004 11:27 AM
Can't ping linux box Zero Linux - Networking 4 05-11-2002 01:26 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:59 PM.

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