//NMEA数据从ttyUSB1输出
sudo cat /dev/ttyUSB1 &
//进入管理员权限
su
//开启GPS会话
echo -e "AT+QGPS=1\r\n" > /dev/ttyUSB3
$GPVTG,123.4,T,125.7,M,0.0,N,0.0,K,A*26
$GPRMC,075835.00,A,2231.527159,N,11356.035560,E,0.0,123.4,211117,2.3,W,A*21
$GPGSA,A,2,10,12,15,18,20,21,24,25,32,,,,1.0,0.7,0.8*33
$GPGSV,3,1,12,10,36,327,33,12,28,113,32,15,20,060,43,18,66,354,26*79
$GPGSV,3,2,12,20,35,119,26,21,46,215,29,24,48,035,40,25,23,156,31*70
$GPGSV,3,3,12,31,01,217,18,32,22,285,27,14,11,271,,51,,,34*4D
$GPGGA,075836.00,2231.527167,N,11356.035581,E,1,09,0.7,50.4,M,-1.0,M,,*48
sudo sh ./quectel-pppd.sh /dev/ttyUSB2 ctnet "" ""
#中国移动APN: cmwap (2G) cmnet (3G)
#中国电信APN: ctwap (2G) ctnet (3G)
#中国联通APN: uniwap (2G手机) 3gwap (3G手机) uninet (2G电脑) 3gnet (3G电脑)