update arch linux notes page

main
Dominic Reich 8 months ago
parent 8bcffea862
commit f98b3f98ad
Signed by: dominic
GPG Key ID: BC9D6AE1A3BE169A

@ -1,7 +1,7 @@
--- ---
title: Archlinux title: Archlinux
date: 2023-11-29T20:33:48+0100 date: 2023-11-29T20:33:48+0100
lastmod: 2024-04-13T19:45:11+0000 lastmod: 2024-04-14T09:49:14+0000
tags: tags:
- archlinux - archlinux
@ -56,10 +56,6 @@ NamePolicy=keep kernel
Reboot. Reboot.
## Prefer local DNS instead of systemd-resolved defaults
<https://unix.stackexchange.com/a/442599>
## Setup WiFi networks ## Setup WiFi networks
### Using **iwctl** ### Using **iwctl**
@ -82,6 +78,41 @@ $ nmcli device wifi show-password
Last command shows the connected SSID and a QR-code within the terminal. 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
<https://unix.stackexchange.com/a/442599>
## CPU frequency scaling ## CPU frequency scaling
<https://wiki.archlinux.org/title/CPU_frequency_scaling> <https://wiki.archlinux.org/title/CPU_frequency_scaling>

Loading…
Cancel
Save