@@ 40,7 40,10 @@ Once you boot your live installation run `setup-alpine` and follow the steps:
* _Which timezone are you in?_ **Europe/Berlin**
* _HTTP/FTP proxy URL?_ **none**
-* _Which NTP client to run?_ chrony
+
+* _Which NTP client to run?_ **busybox** [I don't have a good experience with
+ chrony, busybox works better for me]
+
* _Enter mirro number?_ **f** [I pick this one to speed up things a bit, default
one is fine as well]
@@ 132,6 135,80 @@ add user <NAME> input`
add user <NAME> video`
```
+## Networking
+
+It uses `networking` by default, which I don't like very much, so let's switch
+to `NetworkManager`[^6].
+
+First install it and its requirement:
+
+```bash
+apk add networkmanager networkmanager-wifi # for wifi support
+```
+
+Add user to group:
+
+```bash
+adduser <USER> plugdev
+```
+
+And as every group change you will have to logout and login again to those
+changes take effect.
+
+Now let's edit its configuration on `/etc/NetworkManager/NetworkManager.conf`
+
+```bash
+[main]
+dhcp=internal
+plugins=ifupdown,keyfile
+
+[ifupdown]
+managed=true
+```
+
+
+Now, we need to swap services:
+
+```bash
+rc-service networking stop # stop networking service
+rc-update del networking boot # remove it from start up from boot level
+
+rc-service networkmanager start # start networkmanager service
+rc-update add networkmanager boot # add it from start up on boot level
+```
+
+Also, install `np-applet`[^7] for desktop tray icon
+
+```bash
+apk add network-manager-applet
+```
+
+### WIFI
+By default if it will setup `wpa_supplicant`[^5] for WIFI, but I opted for
+`iwd`[^8].
+
+```bash
+apk add iwd
+```
+
+Now append to the `/etc/NetworkManager/NetworkManager.conf`:
+
+```bash
+# ...
+[device]
+wifi.backend=iwd
+```
+
+Swap WIFI services:
+
+```bash
+rc-service wpa_supplicant stop # stop wpa_supplicant service
+rc-update service del wpa_supplicant # remove it from start up
+
+rc-service iwd start # start iwd service
+rc-update service add iwd # add it to start up
+```
+
## Extras
There is a list go command that I use that may be helpful:
@@ 156,3 233,7 @@ to the commands.
[^2]: https://wiki.alpinelinux.org/wiki/Installation#The_general_course_of_action
[^3]: https://wiki.alpinelinux.org/wiki/Repositories#Enabling_the_community_repository
[^4]: https://wiki.alpinelinux.org/wiki/Setting_up_a_laptop
+[^5]: https://wiki.alpinelinux.org/wiki/Wi-Fi
+[^6]: https://wiki.alpinelinux.org/wiki/NetworkManager
+[^7]: https://pkgs.alpinelinux.org/packages?name=network-manager-applet&branch=edge&repo=&arch=x86_64&maintainer=
+[^8]: https://wiki.archlinux.org/title/Iwd