Click to See Complete Forum and Search --> : Ping only one way


ikemup
11-04-2001, 05:32 PM
i just realized that a networking forum exists, so please excuse an earlier post.

i am not able to ping from a windows machine to a linux machine. however, the linux machine has no problems pinging the windows machine. both network cards are installed and working properly. and the ip addresses are windows-192.168.0.4, linux-192.168.0.3. subnet mask is 255.255.255.0 for both.

this could determine whether i keep linux on this machine or not. i would love to keep it, but it's of little use without ability to access other machines. it has a superdisk instead of a standard floppy, and i can't get that to work, either. so the cdrom and internet are the only two ways that i'll be able to get new packages to use.

any ideas? thanks in advance!

jumpedintothefire
11-04-2001, 06:08 PM
You may of loaded a firewall that is set to disregard the ICMP requests.

try as root from the command prompt:

ipchains -L -v -n
or
iptables -L -v -n

if you get a bunch of scrolling lines that look weird, you have a firewall loaded...

If one is not loaded you should see something like this:

Chain input (policy ACCEPT )
Chain forward (policy ACCEPT )
Chain output (policy ACCEPT )

Good Luck :)

[ 04 November 2001: Message edited by: jumpedintothefire ]

ikemup
11-04-2001, 08:38 PM
thanks, but no goat. i tried your suggestion, and learned that i am not running a firewall. anything else?

ikemup
11-04-2001, 08:52 PM
ok, *slaps forehead*. so i forgot that windows requires rebooting every 4 minutes. i'm typing this from linux now, even running through the proxy server on the windows machine. however, i am still unable to ping the other box on the network. there is only one other machine at the moment, but i am planning to add one more. the other two machines are working in a workgroup, cleverly named 'HOME'. i don't think that this could be causing the problem, but maybe it is. any ideas? thanks, again!

jumpedintothefire
11-05-2001, 08:37 PM
try:

cat /proc/sys/net/ipv4/icmp_echo_ignore_all

if it comes back 1, this is turned on, and the box will not respond to icmp.

so then do a

echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all

to turn it off.

ps I'm running out of ideas......

ikemup
11-05-2001, 09:33 PM
wow. the shell is telling me that i don't have permission to execute that statement, even as root. maybe if i kick the damn box hard enough, i'll influence it a little to obey me more. thanks, again!

jumpedintothefire
11-05-2001, 09:50 PM
check the permissions / ownership with ls -l it should look like:

-rwxr-xr-x 1 root root 10492 Aug 10 1999 cat


in /bin for me anyway....

[ 05 November 2001: Message edited by: jumpedintothefire ]

ikemup
11-06-2001, 10:49 PM
thanks! not sure why it wouldn't let me do it before, but it's working now. it returns 0 for the value, so i guess that it will accept icmp (whatever it is). at least i have internet access. can't use ftp, but http is working. thanks, again!