Commit 06df9daa authored by Carlos Remuzzi's avatar Carlos Remuzzi
Browse files

actualizando DNS

parent 06d9c94d
...@@ -96,7 +96,7 @@ configurar_ap(){ ...@@ -96,7 +96,7 @@ configurar_ap(){
else else
echo "creando nueva conexión $1" 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 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.20" nmcli con modify $1 ipv4.dns "192.168.26.10"
nmcli con modify $1 connection.autoconnect no nmcli con modify $1 connection.autoconnect no
nmcli con modify $1 wifi-sec.key-mgmt wpa-psk wifi-sec.psk $2 nmcli con modify $1 wifi-sec.key-mgmt wpa-psk wifi-sec.psk $2
fi fi
...@@ -126,8 +126,7 @@ main() { ...@@ -126,8 +126,7 @@ main() {
# Habilitación de exit-on-error después de colores # Habilitación de exit-on-error después de colores
set -e set -e
verificar_debian_deps verificar_deps
#verificar_deps
if [ ! -n "$LIBRECAST" ]; then if [ ! -n "$LIBRECAST" ]; then
LIBRECAST=~/librecast LIBRECAST=~/librecast
......
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