From 812e821c48dc5c24871d6bb3dd395db3b6d16a7c Mon Sep 17 00:00:00 2001 From: nacho Date: Wed, 28 Jun 2017 08:15:30 +0200 Subject: [PATCH] nc-wifi and trusted domain fixes --- etc/nextcloudpi-config.d/nc-wifi.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/nextcloudpi-config.d/nc-wifi.sh b/etc/nextcloudpi-config.d/nc-wifi.sh index a59d0a9dc..019771716 100644 --- a/etc/nextcloudpi-config.d/nc-wifi.sh +++ b/etc/nextcloudpi-config.d/nc-wifi.sh @@ -46,6 +46,7 @@ configure() systemctl disable wicd systemctl start dhcpcd systemctl enable dhcpcd + ip link set down dev wlan0 systemctl start nextcloud-domain return; } @@ -60,6 +61,7 @@ configure() # It does not hurt to restart it to wlan0 for RPi3 & zero w sed -i 's|^wireless_interface = $|wireless_interface = wlan0|' /etc/wicd/manager-settings.conf + ip link set up dev wlan0 systemctl stop dhcpcd systemctl disable dhcpcd systemctl enable wicd