From 36b37b7c3044494e587d7d957840ac42f9632da1 Mon Sep 17 00:00:00 2001 From: Inga Date: Wed, 27 Mar 2024 20:08:10 +0100 Subject: [PATCH] Removed outdated sections; replaced iwd with network manager --- README.md | 35 +++++++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 0896899..397abe3 100644 --- a/README.md +++ b/README.md @@ -33,8 +33,6 @@ doas apk update doas apk upgrade ``` -(note that this might break GRUB: https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.20.0) - ## Usable editor by default (not vi) ``` @@ -54,13 +52,11 @@ doas apk add greetd greetd-agreety doas rc-update add greetd ``` -Also: edit `/etc/inittab` and comment out line enabling `getty` on `tty1`, -otherwise both `agreety` and `getty` will run simultaneously, preventing login on `tty1`. -(_TODO: Find links._) - Reboot. -Make sure that everything works: log in on `tty1`, check that e.g. `XDG_RUNTIME_DIR` is set in `env`. +Make sure that everything works: +you should be automatically greeted with login prompt on `tty7`; +log in, and check that e.g. `XDG_RUNTIME_DIR` is set in `env`. ## Installing river @@ -318,9 +314,29 @@ doas rc-service acpid restart ### WiFi -**TODO 2024** +`setup-alpine` should have prompted for access point, everything should work. + +To avoid having to manually configure wpa_supplicant, +install network manager, and use it instead of out-of-the-box network service: + +``` +doas apk add networkmanager-wifi networkmanager-tui +doas rc-update add networkmanager +doas rc-update del networking boot +``` + +and update NetworkManager config (https://gitlab.alpinelinux.org/alpine/aports/-/issues/10267): +`/etc/NetworkManager/NetworkManager.conf` should look like that: + +``` +[main] +dhcp=internal +[ifupdown] +managed=true +``` -Otherwise, alpine wiki describes how to configure WiFi using `iwd`. +After reboot, switching between wireless networks (or between wireless and wired) +can easily be done with `nmtui` in the shell. ### Backlight @@ -795,4 +811,3 @@ and restart container (`doas lxc restart CONTAINERNAME`). * nushell + starship instead of ash * Mail client * Fix call audio in firefox -* WiFi