mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-29 19:04:03 +08:00
9a45a3b99b
* move hardware to system/
* fix mypy
old-commit-hash: 1139fe507b
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
|