mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-06 00:36:29 +08:00
tici modem restart script
old-commit-hash: ce0cc1f228edc85e8a9153784dfb5475b8376fb3
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
nmcli connection modify --temporary lte gsm.auto-config yes
|
||||
nmcli connection modify --temporary lte gsm.home-only yes
|
||||
nmcli connection modify --temporary lte connection.autoconnect-retries 20
|
||||
|
||||
# restart modem
|
||||
sudo systemctl stop ModemManager
|
||||
/usr/comma/lte/lte.sh stop_blocking
|
||||
sudo systemctl restart lte
|
||||
|
||||
#sudo systemctl restart ModemManager
|
||||
sudo ModemManager --debug
|
||||
Reference in New Issue
Block a user