--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ERROR
G
EATZ
TPO
OK
RT
--> Sending: ATQ0 V1 E1 S0=0
MATQ0 V1 E1 S0=0
OK
--> Sending: AT+CGDCONT=1,"IP","4gnet"
AT+CGDCONT=1,"IP","4gnet"
O
OK
D
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
EATDT*99#
CONNECT 150000000
--> Carrier detected. Waiting for prompt.
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Tue Oct 23 15:21:28 2018
--> Pid of pppd: 1264
--> Using interface ppp0
--> pppd: €[01]a
--> pppd: €[01]a
--> pppd: €[01]a
--> pppd: €[01]a
--> pppd: €[01]a
--> local IP address 10.140.14.89
--> pppd: €[01]a
--> remote IP address 10.64.64.64
--> pppd: €[01]a
--> primary DNS address 221.179.38.7
--> pppd: €[01]a
--> secondary DNS address 120.196.165.7
--> pppd: €[01]a
Caught signal 15: Attempting to exit gracefully...
--> Terminating on signal 15
--> pppd: €[01]a
--> Connect time 0.5 minutes.
--> pppd: €[01]a
--> pppd: €[01]a
--> pppd: €[01]a
可以用 ip route来查看显示多了一个ppp0
外网测试
ping www.baidu.com
64 bytes from 61.135.169.125: icmp_seq=1 ttl=54 time=23.3 ms
64 bytes from 61.135.169.125: icmp_seq=2 ttl=54 time=27.0 ms
64 bytes from 61.135.169.125: icmp_seq=3 ttl=54 time=13.5 ms
64 bytes from 61.135.169.125: icmp_seq=4 ttl=54 time=23.1 ms