diff --git a/etc/ppp/chatscripts/sim800 b/etc/ppp/chatscripts/sim800 new file mode 100644 index 0000000..578b2fd --- /dev/null +++ b/etc/ppp/chatscripts/sim800 @@ -0,0 +1,8 @@ +TIMEOUT 15 +ABORT "BUSY" +ABORT "ERROR" +ABORT "NO CARRIER" +"" AT +OK "AT+CGDCONT=1,\"IP\",\"internet.beeline.ru\"" +OK ATD*99# +CONNECT "" diff --git a/etc/ppp/peers/sim800 b/etc/ppp/peers/sim800 new file mode 100644 index 0000000..39803a7 --- /dev/null +++ b/etc/ppp/peers/sim800 @@ -0,0 +1,21 @@ +/dev/ttyS3 +115200 + +debug +# nodetach +dump +lock + +defaultroute +replacedefaultroute +defaultroute-metric 200 + +nocrtscts +ipcp-accept-local +ipcp-accept-remote +noipdefault +usepeerdns +persist +noauth + +connect '/usr/sbin/chat -v -f /etc/ppp/chatscripts/sim800'