1. pppd:
pppd connect 'chat -v -s -t 10 "" "AT" "" "ATD*99***1#" "CONNECT" ""' user username password password /dev/ttyUSB1 115200 nodetach crtscts debug usepeerdns defaultroute
2. NDIS:
需要配置+KUSBCOMP将USB模式配置成1(3 CDC-ACM and 3 CDC-ECM mode)或者2 (5 CDC-ACM and 1 CDC-ECM mode)
注:修改配置以后需要重启模块!
AT+KUSBCOMP?
+KUSBCOMP: 1 OK AT+CGDCONT=1,"IP","peoples.net" OK AT+COPS=0 OK AT+XDNS=1,1 OK AT+XCEDATA=1,0 // Wait for a few seconds. terminal will then connect to the Internet and data connection is established. OK