Add run_ppp.sh

This commit is contained in:
psionrevo 2024-10-06 15:34:22 +00:00
commit 63d2026696
1 changed files with 13 additions and 0 deletions

13
run_ppp.sh Normal file
View File

@ -0,0 +1,13 @@
sh /root/
echo "Setup UART3 as ttyS3 (including RTS/CTS)"
sh /root/setup_uart3.sh
echo "Insert ppp modules"
insmod /root/crc-ccitt.ko
insmod /root/ppp_async.ko
insmod /root/ppp_synctty.ko
insmod /root/ppp_deflate.ko
sleep 2
echo "Run PPPD"
pppd /dev/ttyS3 115200 10.0.0.1:10.0.0.2 proxyarp local noauth dump passive maxfail 0 holdoff 1 debug crtscts replacedefaultroute nodetach