.git broken, restart
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
if [ "$#" -lt 1 ] || [ "$#" -gt 3 ]; then
|
||||
echo "Usage: $0 name"
|
||||
echo "check ip link"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
DEV=${1:-"cdc-wnm0"}
|
||||
NAME="mywwan"
|
||||
|
||||
echo "systemctl enable --now ModemManager"
|
||||
echo "systemctl restart --now NetworkManager"
|
||||
echo "nmcli con add type gsm ifname $DEV con-name $NAME apn data.lycamobile.fr"
|
||||
nmcli c up $NAME
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user