7 Commits

Author SHA1 Message Date
Jonathan Keller
d4469d2a3d Add SNI uartmode (#17)
* Add SNI uartmode

* Don't block changing to uartmode 6 when snid is not present
2026-04-06 15:00:49 +08:00
Lethja
03209fd818 Re-add killall command for processes midilink might spawn (a bandaid fix until a better solution can be found). (#16) 2025-09-24 13:31:21 +08:00
Lethja
1143eccb7d PPPD respawn logic (#15)
* Exit uartmode if pppd returns a value that's 2 or higher.

* Allow all non-internal error codes to reboot pppd.
2025-09-23 14:55:42 +08:00
Lethja
8546896695 uartmode script kill_all function refactor (#14)
* Refactored kill_all to first try to TERM all pids, then use KILL on pids taking too long to exit.

* Only kill pids that currently have /dev/ttyS1 open.

* Skip the 100ms sleep if no process has /dev/ttyS1 open.
2025-09-23 14:54:32 +08:00
Keith Conger
a9942b0536 Don't DHCP use self assigned IP (#13)
My unconfigured WLAN dongle has a self-assigned I, while my ethernet has a valid address.  In this scenario, it breaks PPP mode.  The change filters this address range and resolves the problem for me.
2022-04-29 19:14:28 +08:00
bbond007
6b1cfe66fa update uartmode script 2021-02-10 13:07:45 +08:00
sorgelig
b65b881b85 Add uartmode script. 2021-02-02 15:12:55 +08:00