Add run_ppp.sh
This commit is contained in:
commit
63d2026696
|
@ -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
|
Loading…
Reference in New Issue