diff --git a/content/notes/archlinux/index.md b/content/notes/archlinux/index.md index 634df59..a77f65b 100644 --- a/content/notes/archlinux/index.md +++ b/content/notes/archlinux/index.md @@ -1,7 +1,7 @@ --- title: Archlinux date: 2023-11-29T20:33:48+0100 -lastmod: 2024-04-13T19:45:11+0000 +lastmod: 2024-04-14T09:49:14+0000 tags: - archlinux @@ -56,10 +56,6 @@ NamePolicy=keep kernel Reboot. -## Prefer local DNS instead of systemd-resolved defaults - - - ## Setup WiFi networks ### Using **iwctl** @@ -82,6 +78,41 @@ $ nmcli device wifi show-password Last command shows the connected SSID and a QR-code within the terminal. +## Using NetworkManager + +We create some files in `/etc/NetworkManager/conf.d`: + +## Using `iwd` as the WiFi backend + +`wifi_backend.conf`: + +~~~ini +[device] +wifi.backend=iwd +~~~ + +## Using `dhcpcd` as DHCP client + +`dhcp-client.conf`: + +~~~ini +[main] +dhcp=dhcpcd +~~~ + +## Do not manage one specific USB dongle + +`99-unmanaged-devices.conf`: + +~~~ini +[keyfile] +unmanaged-devices=mac:xx:xx:xx:xx:xx:xx +~~~ + +## Prefer local DNS instead of systemd-resolved defaults + + + ## CPU frequency scaling