Procedure 5.2. Network Configuration Procedure
1.
Make sure that the state of eth0, ttyACM3 and wlan0 is disconnected.
[armadillo ~]#nmcli device
DEVICE TYPE STATE CONNECTION
eth0 ethernet disconnected --
ttyACM3 gsm disconnected --
wlan0 wifi disconnected --
gre0 gre unmanaged --
gretap0 gretap unmanaged --
ip6gre0 ip6gre unmanaged --
ip6tnl0 ip6tnl unmanaged --
tunl0 ipip unmanaged --
lo loopback unmanaged --
sit0 sit unmanaged --
ip6_vti0 vti6 unmanaged --
If any are in a state other than disconnected, change each to the disconnected state by following Table 5.5,
“Making the Device State disconnected”.
Table 5.5. Making the Device State disconnected
Device State
Procedure
unmanaged
Check that the device settings are not included in
/etc/
network/interfaces
. Remove them if they are.
unavailable
Check that the LAN cable is not disconnected. Connect
the cable if it is.
connecting
A connection using the device is being enabled. Disable
it by referring to Figure 5.4, “Disabling a Connection”.
connected
A connection using the device is enabled. Disable it by
referring to Figure 5.4, “Disabling a Connection”.
2.
Configure the wireless LAN (wlan0).
[armadillo ~]#nmcli connection add type wifi ifname wlan0 ssid [essid]
[armadillo ~]#nmcli connection modify wifi-wlan0 ipv4.never-default yes
⏎
[armadillo ~]#nmcli connection modify wifi-wlan0 \
802-11-wireless-security.key-mgmt wpa-psk \
802-11-wireless-security.psk [passphrase]
[armadillo ~]#nmcli connection down wifi-wlan0
[armadillo ~]#nmcli connection up wifi-wlan0
Create the wireless LAN (wlan0) connection.
Disable the default gateway of the connection of wireless LAN (wlan0) connection.
Set the encryption key management method to wpa-psk and set a passphrase.
In order to apply the changes, first disable wireless LAN (wlan0) connection.
Enable the wireless LAN (wlan0) connection.
3.
Configure the wired LAN interface (eth0).
Armadillo-IoT Gateway G3Product Manual - INTL
Operational Checks
67