Test Network Access

Once your ArdexaLinux machine is connected to the local network, you can test communications with other systems on the network.

Ping

Using the Ardexa Web Interface, open the Remote Shell on the target Device and run the following command:

ping -c3 192.168.0.1

This will send three ping packets (ICMP) to the target IP address. You can replace 192.168.0.1with any IP address you like to check that your ArdexaLinux machine can communicate with it.

WARNING: the -c3 option is important, without it the command will never return!

TCP Port

To check access to a specific TCP port, such as a Web, OPCUA or Modbus TCP server, the nmap command can be used to check the port is open, e.g. To check port 80 is open on 192.168.0.1, run:

nmap -sS 192.168.0.1 -p 80

This will return the following output if the port is open:

Starting Nmap 7.01 ( https://nmap.org ) at 2018-07-04 10:40 CEST
Nmap scan report for 192.168.0.1
Host is up (0.00050s latency).
PORT STATE SERVICE
80/tcp open http
MAC Address:AA:AA:AA:AA:AA:AA (Example)

Nmap done: 1 IP address (1 host up) scanned in 1.39 seconds

Or the following output if the port is closed:

Starting Nmap 7.01 ( https://nmap.org ) at 2018-07-04 10:40 CEST
Nmap scan report for 192.168.0.1
Host is up (0.00050s latency).
PORT STATE SERVICE
80/tcp closed http
MAC Address: AA:AA:AA:AA:AA:AA (Example)

Nmap done: 1 IP address (1 host up) scanned in 1.39 seconds

Port scan

If you are unsure what ports are available on a target system, you can scan for a list of open ports by leaving out the -p 80 option, e.g.

nmap -sS 192.168.0.1

Last updated