Network Diagnostics Guide
Introduction
This guide is intended to walk you through the basics of some different network troubleshooting techniques.
Opening a Terminal
A terminal is a text-based interface that allows you to interact with your computer using text commands. This can be useful for troubleshooting network issues.
Windows
Open PowerShell by pressing Win + X
, then selecting Windows PowerShell
.
MacOS
Open Terminal by pressing Cmd + Space
, then typing Terminal
, and pressing Enter
.
Linux
Open Terminal by pressing Ctrl + Alt + T
.
Pinging
Pinging is a network utility that can be used from any terminal to test the reachability of another device on the network. This can be used to make sure that your machines are accessible on the network.
ping <ip address>
Example
If you machine's IP address is 192.168.1.101
, you would type the following command:
ping 192.168.1.101
Nmap
Nmap is a network scanning tool that can be used to discover devices on a network. This can be useful for identifying devices that are connected to your network.
Installation
Windows
To install Nmap on Windows, open PowerShell and type the following command:
winget install nmap
MacOS
To install Nmap on MacOS, open Terminal and type the following command:
brew install nmap
If you don't have Homebrew installed, you can install it by typing the following command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Linux
To install Nmap on Linux, open Terminal and type the following command:
sudo apt-get install nmap
Usage
To scan your network for devices, open PowerShell and type the following command:
nmap -p 22 XXX.XXX.XXX.0/24
Examples
If your computer's IP address is 192.168.1.18
, and you want to search for devices with port 21
(FTP) open through the entire range of 192.168.1.1
through 192.168.1.255
, you would type the following command:
nmap -p 21 192.168.1.0/24
Finding a Chatterbox
If you're uncertain if your Chatterbox is connected to your network, you can use Nmap to scan your network for devices with port 22
open. The Chatterbox listens on port 22
by default.
Windows
nmap -p 22 192.168.1.0/24 | Select-String "chatterbox"
MacOS and Linux
nmap -p 22 192.168.1.0/24 | grep chatterbox
Finding a Fanuc Machine
If you're uncertain if your Fanuc machine is connected to your network, you can use Nmap to scan your network for devices with port 8193
open. Fanuc machines listen for FOCAS (the Fanuc communication protocol) connections on port 8193
by default.
nmap -p 8193 192.168.1.0/24