Mikkel L. Ellertson wrote:
Rosemary McGillicuddy wrote:
Machine with modem.
ifconfig eth0 192.168.1.1
Second machine.
ifconfig eth0 192.168.1.2
route add default gw 192.168.1.1
I did this on both machines - no error messages, in both cases cursor
returned to command line.
So far, so good. For the next test, from the first machine, run:
ping -c 5 192.168.1.2
This should give you something like:
[EMAIL PROTECTED] ~]$ ping -c 5 192.168.1.2
PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data.
64 bytes from 192.168.1.2: icmp_seq=1 ttl=255 time=0.948 ms
64 bytes from 192.168.1.2: icmp_seq=2 ttl=255 time=0.943 ms
64 bytes from 192.168.1.2: icmp_seq=3 ttl=255 time=0.943 ms
64 bytes from 192.168.1.2: icmp_seq=4 ttl=255 time=0.939 ms
64 bytes from 192.168.1.2: icmp_seq=5 ttl=255 time=0.947 ms
--- 192.168.1.2 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4003ms
rtt min/avg/max/mdev = 0.939/0.944/0.948/0.003 ms
From the second machine, run:
ping -c 5 192.168.1.1
You should get something like:
[EMAIL PROTECTED] ~]$ ping -c 5 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=255 time=0.963 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=255 time=0.945 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=255 time=1.35 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=255 time=1.13 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=255 time=0.946 ms
--- 192.168.1.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4003ms
rtt min/avg/max/mdev = 0.945/1.067/1.350/0.162 ms
The exact numbers will be different. You will probably get faster
results then I did, because there is a bunch of other stuff going
happening on this network at the same time, while you should have a
quite network.
If you get 100% packet loss, but no other errors, then you probably have
a firewall running on one or both machines. While I normaly don't
recomend running without a firewall, you may want to disable them for
this testing. Just make sure you re-enable the firewall on the first
machine before connecting to the Internet. You can turn the firewall off
by running "service shorwall stop" as root.
Mikkel
Ist machine
[EMAIL PROTECTED] ~]$ ping -c 5 192.168.1.2
PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data.
--- 192.168.1.2 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 3998ms
I turned firewall off here, but don't know how to in mepis, will find
out. The shorwall command did not work there.
The return in mepis looks comparable to your output with 0% packet loss.
--
Rosemary
Registered Linux User # 386597 http://counter.li.org
"A friend may well be a masterpiece of nature". Emerson
____________________________________________________
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________