User's Manual

Chapter 10: Using the Command Line Interface
323
Network Troubleshooting
The EMX provides 4 diagnostic commands for troubleshooting network
problems: nslookup, netstat, ping, and traceroute. The diagnostic
commands function as corresponding Linux commands and can get
corresponding Linux outputs.
Entering the Diagnostic Mode
Diagnostic commands function in the diagnostic mode only.
To enter the diagnostic mode:
1. Ensure you have entered the administrator mode and the # prompt is
displayed.
2. Type diag and press Enter. The diag> prompt appears, indicating
that you have entered the diagnostic mode.
3. Now you can type any diagnostic commands for troubleshooting.
Diagnostic Commands
The diagnostic command syntax varies from command to command.
Querying the DNS Servers
This command syntax queries Internet domain name server (DNS)
information of a network host.
diag>
nslookup <host>
Variables:
<host> is the name or IP address of the host whose DNS information
you want to query.
Example
The following command checks the DNS information regarding the host
192.168.84.222.
diag>
nslookup 192.168.84.222