diff --git a/selfdrive/hardware/tici/restart_modem.sh b/selfdrive/hardware/tici/restart_modem.sh new file mode 100755 index 0000000000..14cace6ad0 --- /dev/null +++ b/selfdrive/hardware/tici/restart_modem.sh @@ -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