mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-08 07:02:06 +08:00
9a45a3b99b
* move hardware to system/ * fix mypy old-commit-hash: 1139fe507b01f34de9714c99228f411558b44231
19 lines
510 B
Bash
Executable File
19 lines
510 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
#nmcli connection modify --temporary lte gsm.home-only yes
|
|
#nmcli connection modify --temporary lte gsm.auto-config yes
|
|
#nmcli connection modify --temporary lte connection.autoconnect-retries 20
|
|
sudo nmcli connection reload
|
|
|
|
sudo systemctl stop ModemManager
|
|
nmcli con down lte
|
|
nmcli con down magenta-prime
|
|
|
|
# power cycle modem
|
|
/usr/comma/lte/lte.sh stop_blocking
|
|
/usr/comma/lte/lte.sh start
|
|
|
|
sudo systemctl restart NetworkManager
|
|
#sudo systemctl restart ModemManager
|
|
sudo ModemManager --debug
|