Ping

From MEPIS Documentation Wiki

Jump to: navigation, search

Ping is installed by default in MEPIS and is used to send small icmp packets to another network host (or an internet web address) as a basic test for connectivity. To use, Open a konsole and type: ping followed by anIPAddress or web address. Hit Ctrl-C to stop the ping test. Here is sample usage and output:

~$ ping www.mepis.org
PING mepis.org (64.34.164.39) 56(84) bytes of data.
64 bytes from svr2.mepis.com (64.34.164.39): icmp_seq=1 ttl=46 time=31.4 ms
64 bytes from svr2.mepis.com (64.34.164.39): icmp_seq=2 ttl=46 time=30.9 ms
64 bytes from svr2.mepis.com (64.34.164.39): icmp_seq=3 ttl=46 time=31.6 ms
64 bytes from svr2.mepis.com (64.34.164.39): icmp_seq=4 ttl=46 time=34.4 ms
64 bytes from svr2.mepis.com (64.34.164.39): icmp_seq=5 ttl=46 time=34.2 ms
--- mepis.org ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4001ms
rtt min/avg/max/mdev = 30.955/32.548/34.477/1.489 ms

You can also supply a hostname (e.g., OldLaptop). If you can ping by IP but not hostname, it usually indicates a problem with your name resolution (see Samba troubleshooting guide).

Those familiar with the ping utility on Windows should note a few differences:

  • By default, ping will send packets until interrupted by a Ctrl+c. This is analogous to the -t switch in windows
  • Linux ping doesn't always print out an error when a packet is dropped. If you're looking for dropped packets, watch for gaps in the icmp_seq numbers.

For more info, type man:ping in the address bar in Dolphin, or man ping in the Konsole.

Links

Personal tools
In other languages