From a1ac1d9dc58e07d620eac45971d8d10dee6fbf3e Mon Sep 17 00:00:00 2001 From: hau Date: Tue, 24 Nov 2020 10:32:09 +0700 Subject: [PATCH] iwd --- Applications/System/earlyoom.md | 2 +- Applications/System/iwd.md | 31 +++++++++++++++++++++++++++++++ install-archlinux.md | 20 +------------------- 3 files changed, 33 insertions(+), 20 deletions(-) create mode 100644 Applications/System/iwd.md diff --git a/Applications/System/earlyoom.md b/Applications/System/earlyoom.md index 791a4a4..d6eb63c 100644 --- a/Applications/System/earlyoom.md +++ b/Applications/System/earlyoom.md @@ -8,5 +8,5 @@ Enable and start service: ```sh -sudo systemctl enable --now earlyoom +sudo systemctl enable --now earlyoom.service ``` diff --git a/Applications/System/iwd.md b/Applications/System/iwd.md new file mode 100644 index 0000000..239e762 --- /dev/null +++ b/Applications/System/iwd.md @@ -0,0 +1,31 @@ +# [iwd](https://git.kernel.org/pub/scm/network/wireless/iwd.git/) + +| Distribution | Package | +| ------------ | ------- | +| Arch Linux | `iwd` | + +Enable and start service: + +```sh +sudo systemctl enable --now iwd.service +``` + +Inside `iwctl`: + +```sh +device list + +# Change device to real device +station {device} scan +station {device} get-networks + +# Change SSID to real SSID +station {device} connect {SSID} +``` + +To use NetworkManager, edit `/etc/NetworkManager/conf.d/wifi_backend.conf` + +```txt +[device] +wifi.backend=iwd +``` diff --git a/install-archlinux.md b/install-archlinux.md index 9f5aece..f6d6f25 100644 --- a/install-archlinux.md +++ b/install-archlinux.md @@ -22,25 +22,7 @@ dd bs=4M if=path/to/archlinux.iso of=/dev/sdx status=progress oflag=sync ### Connect to the internet -Read [iwd/iwctl](https://wiki.archlinux.org/index.php/Iwd#iwctl): - -```sh -iwctl -``` - -Inside `iwctl`: - -```sh -device list - -# Change device to real device -station device scan - -station device get-networks - -# Change SSID to real SSID -station device connect SSID -``` +Read [iwd/iwctl](Applications/System/iwd.md). ### Partition the disks