update arch linux notes page
This commit is contained in:
parent
8bcffea862
commit
f98b3f98ad
1 changed files with 36 additions and 5 deletions
|
@ -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
|
||||
|
||||
<https://unix.stackexchange.com/a/442599>
|
||||
|
||||
## 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
|
||||
|
||||
<https://unix.stackexchange.com/a/442599>
|
||||
|
||||
## CPU frequency scaling
|
||||
|
||||
<https://wiki.archlinux.org/title/CPU_frequency_scaling>
|
||||
|
|
Loading…
Reference in a new issue