# /etc/ppp/chat-default: # $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/files/chat-default,v 1.2 2004/07/18 03:50:48 dragonheart Exp $ # AT X0 E1 L1 M1 N1 T Q0 V1 Y0 &C1 &D2 &K3 &P2 &S0 %C3 %E2 # at+ms? # 92,1,300,56000 # OK # ati4 # Manufacturer: ZTE CORPORATION # Model: MF102 # Revision: BD_P671A1V1.0.3B15 # IMEI: 359047031110511 # +GCAP: +CGSM,+DS,+ES # ati # Manufacturer: huawei # Model: E1750 # Revision: 11.126.03.00.55 # IMEI: 354818043625588 # +GCAP: +CGSM,+DS,+ES # ati4 # Manufacturer: huawei # Model: E1823 # Revision: 11.825.03.10.55 # IMEI: 357509030792708 # +GCAP: +CGSM,+DS,+ES # # OK # # ^BOOT:30792708,0,0,0,99 # "" "AT+CSQ" # It returns the signal quality in RSSI (Received Signal Strength Indication) and in BER (Bit Error Rate, reported in percent). There is a misunderstanding of rssi in the sentence above. A higher rssi value represents a stronger signal, scale is from 0 to 99, where 1 is the lowest detectable signal and 31 a very good signal. Don't expect your signal to go all the way up to 99, though. If BER returns 99 it means not known or not detectable. # Command return is "+CSQ: ," '' "AT" OK "ATE1" # OK 'AT Q0 V1 E1 S0=0 &C0 &D2 +FCLASS=0' # Setting for connections via GPRS/EDGE/3G OK 'AT+CGDCONT=1,"IP","internet.t-mobile.cz"' # Settings for the old "4G" connection provided only in few ares of the Czech Republic. It is not really a 4G network. # OK 'AT+CGDCONT=1,"PPP","internet.t-mobile.cz","0,0",0,0' 'ABORT' 'BUSY' 'ABORT' 'ERROR' 'ABORT' 'NO ANSWER' 'ABORT' 'NO CARRIER' 'ABORT' 'NO DIALTONE' 'ABORT' 'Invalid Login' 'ABORT' 'Login incorrect' REPORT CONNECT TIMEOUT 15 #SAY "\nDialing *99#\n" #OK "ATDT*99#" OK "atdt*99***1#" SAY "\nWaiting for CONNECT string\n" CONNECT \d\c