]> git.zerfleddert.de Git - m1-debian/commitdiff
add quickstart for iwd
authorThomas Glanzmann <thomas@glanzmann.de>
Fri, 18 Mar 2022 15:04:56 +0000 (16:04 +0100)
committerThomas Glanzmann <thomas@glanzmann.de>
Fri, 18 Mar 2022 15:04:56 +0000 (16:04 +0100)
files/quickstart.txt

index 93b1d76818a45b3774eeb18c4bc36f79a0b938a1..c93706a2c913bae0d1fd5c7a5fe47d7e874503e6 100644 (file)
@@ -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 <<EOF > /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
Impressum, Datenschutz