-
-
Save akinazuki/fd33cee1284d8d6f016af442aa4d743c to your computer and use it in GitHub Desktop.
PPP connection settings for Linux and SIM900
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#save as /etc/chatscripts/sim900 | |
ABORT "BUSY" | |
ABORT "VOICE" | |
ABORT "NO CARRIER" | |
ABORT "NO DIALTONE" | |
ABORT "NO DIAL TONE" | |
ABORT "NO ANSWER" | |
ABORT "DELAYED" | |
REPORT "CONNECT" | |
TIMEOUT 6 | |
"" AT | |
OK ATE1 | |
OK ATQ0 | |
OK ATZ | |
OK ATI | |
OK "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" | |
OK AT+CGDCONT=1,"IP","\T" | |
OK ATDT*99***1# | |
TIMEOUT 30 | |
CONNECT "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#save as /etc/ppp/peers/sim900 and use pon/poff sim900 to start/stop the connection | |
connect "/usr/sbin/chat -v -f /etc/chatscripts/sim900 -T <gprs-apn-here>" | |
/dev/ttyUSB0 | |
115200 | |
noipdefault | |
usepeerdns | |
defaultroute | |
replacedefaultroute | |
persist | |
noauth | |
nocrtscts | |
local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment