Copyright 2017. All rights reserved. Advantech Co. Ltd.
Page 32
add nmcli connection
Connection 'lte1' (1f83ec27-6aed-4fad-b1ef-675eae4f3e47) successfully added.
enable lte1
Connection successfully activated (D-Bus active path:
/org/freedesktop/NetworkManager/ActiveConnection/13)
root@FWA-T011:~ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.44.6.156 0.0.0.0 UG 700 0 0 wwan0
10.44.6.152 0.0.0.0 255.255.255.248 U 700 0 0 wwan0
root@FWA-T011:~# ping google.com.tw
PING google.com.tw(tsa01s07-in-x03.1e100.net (2404:6800:4008:800::2003)) 56 data bytes
64 bytes from tsa01s07-in-x03.1e100.net (2404:6800:4008:800::2003): icmp_seq=1 ttl=54
time=28.6 ms
64 bytes from tsa01s07-in-x03.1e100.net (2404:6800:4008:800::2003): icmp_seq=2 ttl=54
time=18.7 ms
64 bytes from tsa01s07-in-x03.1e100.net (2404:6800:4008:800::2003): icmp_seq=3 ttl=54
time=52.0 ms
64 bytes from tsa01s07-in-x03.1e100.net (2404:6800:4008:800::2003): icmp_seq=4 ttl=54
time=52.4 ms
^C
--- google.com.tw ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 10155ms
rtt min/avg/max/mdev = 18.777/37.961/52.442/14.682 ms
3.5
WDT
There are two kinds of watchdogs on FWA-T011-4CA1S, and those could work separately.
One is
PCH watchdog, the other is HWM, both could reset platform when watchdog is biting.
In this section, we will demonstrate watchdog functions on our platform. See Section 3.5.1
and Section 3.5.2 for more details.
3.5.1
Watchdog on PCH
This section will introduce how to trigger hardware watchdog timer built in chip.
Trigger or reset the watchdog timer with default 10 seconds timeout:
#echo 1 > /dev/watchdog
After 10 seconds, system shall reboot as the timer expires.