added ppp stuff

This commit is contained in:
justmarvinn 2025-06-07 23:49:26 +02:00
parent b1f9cb76f5
commit a4bc756502
2 changed files with 29 additions and 0 deletions

View File

@ -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 ""

21
etc/ppp/peers/sim800 Normal file
View File

@ -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'