[armadillo ~]#nmcli connection add type ethernet ifname eth0
[armadillo ~]#nmcli connection modify ethernet-eth0 ipv4.method manual \
ipv4.addresses "192.168.0.2/24"
[armadillo ~]#nmcli connection modify ethernet-eth0 \
ipv4.routes "192.168.10.0/24 192.168.0.1"
[armadillo ~]#nmcli connection modify ethernet-eth0 ipv4.never-default
⏎
yes
[armadillo ~]#nmcli connection down ethernet-eth0
[armadillo ~]#nmcli connection up ethernet-eth0
Create the wired LAN interface (eth0) connection.
Specify a static IP address for the wired LAN interface (eth0) connection.
Add the routing information to the wired LAN interface (eth0) connection.
Disable the default gateway of the wired LAN interface (eth0) connection.
In order to apply the changes, first disable the wired LAN (eth0) connection.
Enable the wired LAN (eth0) connection.
4.
Configure 3G (ttyACM3)
[armadillo ~]#nmcli connection add type gsm ifname ttyACM3 apn [apn] user
⏎
[user] password [password]
Create the 3G (ttyACM3) connection.
5.
Make sure that the state of eth0, ttyACM3, ppp0 and wlan0 is connected.
[armadillo ~]#nmcli device
DEVICE TYPE STATE CONNECTION
eth0 ethernet connected ethernet-eth0
ttyACM3 gsm connected gsm-ttyACM3
ppp0 unknown connected ppp0
wlan0 wifi connected wifi-wlan0
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 --
6.
Check the routing table.
[armadillo ~]#route
Kernel IP routing table
Armadillo-IoT Gateway G3Product Manual - INTL
Operational Checks
68