From 77431dc9424ba4049e8acd401d5743b198e41d5c Mon Sep 17 00:00:00 2001 From: Thomas Glanzmann Date: Fri, 18 Mar 2022 16:04:56 +0100 Subject: [PATCH] add quickstart for iwd --- files/quickstart.txt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/files/quickstart.txt b/files/quickstart.txt index 93b1d76..c93706a 100644 --- a/files/quickstart.txt +++ b/files/quickstart.txt @@ -126,3 +126,34 @@ mv /mnt/initrd.gz /mnt/initrd.old cd / find . -xdev | cpio --quiet -H newc -o | pigz -9 > /mnt/initrd.gz umount /mnt + +iwd +=== +With iwd you can force to use 5ghz. The following needs to be done to get iwd +running. + +sudo apt-get install iwd + +cat < /etc/iwd/main.conf +[Rank] + BandModifier5Ghz=10 +EOF + +# Remove or comment out the following interfaces from /etc/network/interfaces +# allow-hotplug wlp1s0f0 +# iface wlp1s0f0 inet dhcp +# wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf + +# Add the following interfaces to /etc/network/interfaces +allow-hotplug wlan0 +iface wlan0 inet dhcp + +# Reboot +reboot + +# Configure iwd: +sudo iwctl +device list +station wlan0 scan +station wlan0 get-networks +station wlan0 connect SSID -- 2.39.5