Users Guide

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 连接
说明:以下方法可用于禁用或删除使用上面部分中介绍的说明设置的 WWAN 连接。
1. 按照其他部分中所述启动 minicom 并为 Telit 模块选择合适的 ttyACM 端口
2. minicom 终端中发送以下 AT 命令
At+gmi (to make sure it is the Telit module)
At+cgatt=0 (Response should be NO CARRIER)
AT+cgatt=1
3. 通过按 Ctrl-AZ X,退出 minicom 终端。
4. Linux 提示符处输入 # ifconfig wwan0 down 命令以禁用 wwan0
禁用 WWAN0 连接的示例会话:
root@WR-IntelligentDevice:~# minicom -D /dev/ttyACM0
Welcome to minicom 2.7
51