From a4bc7565027344cb3d4c2e786e3fdc42f22467d0 Mon Sep 17 00:00:00 2001 From: justmarvinn Date: Sat, 7 Jun 2025 23:49:26 +0200 Subject: [PATCH] added ppp stuff --- etc/ppp/chatscripts/sim800 | 8 ++++++++ etc/ppp/peers/sim800 | 21 +++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 etc/ppp/chatscripts/sim800 create mode 100644 etc/ppp/peers/sim800 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'