From 63bd17b71e011f60d6629089a120aaefd6ae1c02 Mon Sep 17 00:00:00 2001 From: Chris Frankland-Wright Date: Sat, 30 Aug 2025 22:07:17 +0100 Subject: [PATCH] asdfghjk --- setup.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup.sh b/setup.sh index dbbb3f9..2b69b8f 100644 --- a/setup.sh +++ b/setup.sh @@ -171,6 +171,12 @@ if command -v nodogsplash &> /dev/null; then sudo systemctl stop nodogsplash || true fi +# Ensure NetworkManager is managing wlan0 by removing any conflicting configurations. +# This is the critical fix for the "No suitable device" error. +echo "Ensuring NetworkManager is managing wlan0..." +sudo rm -f /etc/NetworkManager/conf.d/99-unmanaged-wlan0.conf +sudo systemctl reload NetworkManager + # Configure static IP for wlan0 using NetworkManager (nmcli) echo "Configuring static IP for wlan0 using NetworkManager..."