Users Guide

說明:下列訊息擷取自執行於 Edge Gateway 平台 (使用預設 Wind River Linux 作業系統映像) 的範例工作階段,以使用 Verizon
LE910 模組和 Verizon SIM 卡建立 LTE 連線。反白顯示的命令為輸入的訊息,而其他部分則為系統的回應。若為 AT&T LE910
組和 AT&T SIM 環境,請在下列命令集中使用「broadband」取代「vzwinternet」。
若要在 Wind River Linux 中開啟其他 Linux 終端機,請按下 Alt+F2 鍵,這樣會前往另一個 Linux 登入提示。使用您的 root/root
憑證登入。
輸入的命令會以
斜體字
反白顯示
root@WR-IntelligentDevice:~# minicom -D /dev/ttyACM0
Welcome to minicom 2.7
OPTIONS
: I18n
Compiled on 16:20:45.
Port /dev/ttyACM0, 21:33:05
Press CTRL-A Z for help on special keys
at+cgdcont=3,"IPV4V6","vzwinternet"
OK
at+cgdcont?
+CGDCONT: 1,"IPV4V6","vzwims","",0,0
+CGDCONT: 2,"IPV4V6","vzwadmin","",0,0
+CGDCONT: 3,"IPV4V6","vzwinternet","",0,0
OK
at#ncm=1,3
OK
at+cgact=1,3
OK
at+cgcontrdp=3
+CGCONTRDP
: 3,7,"vzwinternet.mnc480.mcc311.gprs","100.106.47.7.255.0.0.0","100.1
06.47.8","198.224.157.135","0.0.0.0","0.0.0.0","0.0.0.0"
+CGCONTRDP: 3,7,"vzwinternet.mnc480.mcc311.gprs","254.128.0.0.0.0.0.0.0.0.0.71.4
6.110.1.1.255.255.255.255.255.255.255.255.0.0.0.0.0.0.0.0","0.0.0.0.0.0.0.0.0.0.
0.0.0.0.0.0","198.224.157.135","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0","0.0.0.0.0.0.0.
0.0.0.0.0.0.0.0.0","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0"
OK
^A X Y
root@WR-IntelligentDevice:~# ifconfig wwan0 100.106.47.7 netmask 255.0.0.0 up
root@WR-IntelligentDevice:~# route add default gw 100.106.47.8 wwan0
root@WR-IntelligentDevice:~# echo nameserver 198.224.157.135 >>/etc/resolv.conf
root@WR-IntelligentDevice:~# minicom -D /dev/ttyACM0
Welcome to minicom 2.7
OPTIONS: I18n
Compiled on Dec 17 2015, 16:20:45.
Port /dev/ttyACM0, 21:33:05
Press CTRL-A Z for help on special keys
at+cgdata="M-RAW_IP",3
CONNECT
OK
^A X Y
root@WR-IntelligentDevice:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=52 time=36.9 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=52 time=33.5 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=52 time=31.2 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=52 time=32.6 ms
^C
--- 8.8.8.8 ping statistics ---
5 packets transmitted, 4 received, 20% packet loss, time 4004ms
rtt min/avg/max/mdev = 31.276/33.585/36.903/2.078 ms
停用 WWAN0 連線
51