Network Utilities
Command Reference
ping
The command checks if the specified host is reachable by sending ICMP echo requests. For example, to check if the gateway is reachable:
L:/>ping 192.168.0.1
Reply from 192.168.0.1: time=2ms
Reply from 192.168.0.1: time=1ms
Reply from 192.168.0.1: time=2ms
nslookup
The command queries a DNS server to resolve a hostname to an IP address. For example, to resolve raspberrypi.com:
ntp
Help of the Command
Usage: ntp [OPTION]... [SERVER]
Options:
-h --help print this help
-u --utc print UTC time
-r --rtc set RTC if available
The command connects to an NTP server to get the current time. If no server is specified, it uses a default NTP server. For example:
By default, UTC time is shown. Set the shell variable TZ to display local time. For example, to set Japan Standard Time (JST):
Run ntp again to see the time in JST:
When the -r (or --rtc) option is specified, the command also sets the connected RTC (Real-Time Clock) to the obtained.
See this page for details on RTC.