diff options
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/nextcloudpi-config.d/nc-wifi.sh | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/etc/nextcloudpi-config.d/nc-wifi.sh b/etc/nextcloudpi-config.d/nc-wifi.sh index 23cdc44a..0ab9d7ed 100755 --- a/etc/nextcloudpi-config.d/nc-wifi.sh +++ b/etc/nextcloudpi-config.d/nc-wifi.sh @@ -26,6 +26,16 @@ install() configure() { + # Installation in QEMU (without a wireless interface) produces + # wicd installation to generate 'wireless_interface = None'. + # It does not hurt to restart it to wlan0 for RPi3 & zero w + sed -i 's|^wireless_interface = None|wireless_interface = wlan0|' /etc/wicd/manager-settings.conf + + # First booting with a connected ethernet cable produces + # wicd daemon to generate 'wireless_interface = '. (issue #6) + # 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 + systemctl stop dhcpcd systemctl disable dhcpcd systemctl enable wicd @@ -42,11 +52,6 @@ configure() 6) C to connect" \ 20 90 - # Installation in QEMU (without a wireless interface) produces - # wicd installation to generate 'wireless_interface = None'. - # It does not hurt to restart it to wlan0 for RPi3 & zero w - sed -i 's|^wireless_interface = None|wireless_interface = wlan0|' /etc/wicd/manager-settings.conf - wicd-curses } |