Commit b9266c97 authored by Carlos Remuzzi's avatar Carlos Remuzzi
Browse files

aumentando sudo en comando nmcli por compatibilidad con Debian Buster

parent 67fa2ff7
......@@ -129,10 +129,10 @@ configurar_ap(){
echo "la conexión $1 está ya instalada"
else
echo "creando nueva conexión $1"
nmcli con add con-name $1 ifname $WIFI_INTERFACE type wifi ssid $1 ip4 192.168.12.2/24 gw4 192.168.12.1
nmcli con modify $1 ipv4.dns "192.168.26.10"
nmcli con modify $1 connection.autoconnect no
nmcli con modify $1 wifi-sec.key-mgmt wpa-psk wifi-sec.psk $2
sudo nmcli con add con-name $1 ifname $WIFI_INTERFACE type wifi ssid $1 ip4 192.168.12.2/24 gw4 192.168.12.1
sudo nmcli con modify $1 ipv4.dns "192.168.26.10"
sudo nmcli con modify $1 connection.autoconnect no
sudo nmcli con modify $1 wifi-sec.key-mgmt wpa-psk wifi-sec.psk $2
fi
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment