summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlake Romero <blake@developercraft.com>2026-03-20 23:51:13 +0000
committerBlake Romero <blake@developercraft.com>2026-03-20 23:51:13 +0000
commitd036ce33665e9a19f27aafc3a92b81cef513130f (patch)
tree23e05cdceb34fa7a69c4d24d73baa2518fc468b6
parentd2cfaa3de62925e4c9bdeed18e12c69f05011b2d (diff)
Replace wpa_supplicant with iwd
-rwxr-xr-xpost-setup.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/post-setup.sh b/post-setup.sh
index 671cf13..7f63ec9 100755
--- a/post-setup.sh
+++ b/post-setup.sh
@@ -9,3 +9,21 @@ fi
# Install additional packages
apk add linux-stable git bash vim tmux \
ncurses acpi shellcheck fastfetch btop eza
+
+# WIFI: Switch wpa_supplicant to iwd
+apk add iwd openresolv
+
+sed 's/#\[General\]/\[General\]/;
+ s/#EnableNetworkConfiguration/EnableNetworkConfiguration/;
+ s/#\[Network\]/\[Network\]/;
+ s/#NameResolvingService/NameResolvingService/' \
+ -i /etc/iwd/main.conf
+
+resolvconf -u
+
+rc-service wpa_supplicant stop
+rc-service iwd start
+
+rc-update del networking boot
+rc-update del wpa_supplicant boot
+rc-update add iwd boot