ETH Usage
{BOARD_with_space} provides two gigabit Ethernet interfaces with the following default configuration:
- The network port marked "1" (near the RS232/RS485 connectors) corresponds to the system
eth0interface, configured in DHCP mode. - The network port marked "2" (near the HDMI connector) corresponds to the system
eth1interface, configured with a static address:192.168.150.1/24.
First Access and Login
Port 1 (eth1) uses the static IP 192.168.150.1 with subnet mask 255.255.255.0. For first access, set the PC to an IP in the same subnet (for example 192.168.150.2/24):
-
Windows 10 (administrator mode):
netsh int ipv4 add address "Ethernet" 192.168.150.101 255.255.255.0where
"Ethernet"is the network interface name,192.168.150.101is the IP address, and255.255.255.0is the subnet mask. -
Linux:
ifconfig enp4s0:1 192.168.150.89where
enp4s0is the PC network interface name; runifconfigto check the actual name on your PC.
After the PC can successfully ping 192.168.150.1, log in with ssh on port 22 (username and password are both linaro):
ssh linaro@192.168.150.1Network IP Configuration
By default, the AIO-1684JD4 has a dynamic IP set for network port 0, and a static IP set for network port 1. These configurations are implemented through the /etc/netplan/01-netcfg.yaml file in the system.
linaro@aibox-1684x:~$ cat /etc/netplan/01-netcfg.yaml
network:
version: 2
renderer: networkd
ethernets:
eth0:
dhcp4: yes
addresses: []
optional: yes
dhcp-identifier: mac
eth1:
dhcp4: no
addresses: [192.168.150.1/24]
optional: yesUsers can modify the network configuration by modifying the /etc/netplan/01-netcfg.yaml file, for example:
-
Set network port 0 to a static IP: Refer to the original setting of
eth1to modify theeth0node, change thedhcp4parameter tono, and add the IP address to theaddressesparameter. -
Set network port 1 to a dynamic IP: Refer to the original setting of
eth0to modify theeth1node, change thedhcp4parameter toyes, and remove the IP address in theaddressesparameter.
After modifying the /etc/netplan/01-netcfg.yaml file, users can make the settings take effect immediately by executing the sudo netplan apply command.

