8.3. Self-test of the 8SMC4-Ethernet adapter

Hint

Software with a static ip address for the 8SMC4-Ethernet adapter can be downloaded from our website

Instructions for installing a static ip image can be found in the archive and on this page

8.3.1. Instructions for installing a static ip image

Attention

Every step of the instructions is mandatory, and no step can be skipped!

-First you must write the image to your microSD card that is in your Ethernet adapter. To do this, remove the microSD card from 8SMC4-USB-Eth and using the card reader connect it to the computer. Using the program “win32diskimager” (for Windows) or “dd” (for Linux), open the image in the program. The image must be recorded on microSD.

-Then you need to remove the microSD card from the card reader and insert it back into 8SMC4-USB-Eth. When you start the Ethernet adapter will receive an address via DHCP.

-Next you need to connect via SSH on port 36000 (not 22!).

login - root,
password - 12345678.

-Finally, setting a static address. Enter the following at the command prompt:

1
2
mount -o remount,rw /
vi /etc/network/interfaces

-Change static to dynamic, address, netmask, gateway and dns-nameservers. Below is an example. After all the above steps, you need to restart the adapter.

1
2
3
4
5
6
7
8
9
auto eth0
iface eth0 inet static
address 172.16.1.101
netmask 255.255.255.0
gateway 172.16.1.1
dns-nameservers 172.16.1.1
:wq
sync
reboot

8.3.2. Static ip address self-test on 8SMC4-USB-Eth

After the image is written to the SD card, the dynamic ip address is set in the configuration file by default. This address is provided to you automatically after you enable the 8SMC4-Ethernet adapter (automatically assigned a free ip address that is available on your network). If the ip address of the 8SMC4-Eth adapter is not in Revealer after writing the image to the SD card, you need to perform a self-diagnosis:

Important

Self-diagnosis should be performed in an isolated environment. The 8SMC4-Ethernet adapter must be connected to the computer.
The computer must not be connected to the Internet, and a DHCP server must be running on it!

  1. Make sure that the image was correctly written to the SD card (in the win32diskimager program, click the “Verify Only” button);
  2. Connect the monitor to the HDMI port and the keyboard to the USB port. Make sure that the 8smc4-Eth adapter is loaded. Wait for the system to boot, the login input field should appear;
../../_images/Booting_system.jpg

Booting the 8SMC4-Ethernet adapter system

  1. If the system fails to boot, restart the 8SMC4-Ethernet adapter. At some point, you will see that the 8SCM4-Eth adapter has started. You will see the login input field;
  2. Enter login - root, password - 12345678;
  3. Enter ifconfig command and make sure that the above adapter has been assigned a dynamic ip address (you need to look at “eth0”);
../../_images/Did_not_receive_an_ip_address.jpg

8SMC4-Ethernet adapter did not receive an ip address

  1. Assign a static ip address to the adapter (the instructions for setting up a static ip address are written above);
  2. Disconnect the monitor and keyboard from the 8SMC4-Eth. Disconnect the 8SMC4-Eth from the computer and connect it to the network;
  3. Don’t forget to save the changes and restart the adapter;
  4. Wait for the reboot and find the static ip address of your 8SCM4-Eth adapter in the Revealer program.

Note

You can assign a static ip address, bypassing the ssh connection. The steps from the above instructions can be performed immediately on 8SMC4-Eth adapter (you need to make changes to the “interfaces” file)