From 09564eb6da032808783b710e962b3678b2d9c23a Mon Sep 17 00:00:00 2001 From: hau Date: Tue, 11 Aug 2020 13:05:09 +0700 Subject: [PATCH] change wifi --- install-archlinux.md | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/install-archlinux.md b/install-archlinux.md index 13f6d86..8f0cad6 100644 --- a/install-archlinux.md +++ b/install-archlinux.md @@ -22,10 +22,24 @@ dd bs=4M if=path/to/archlinux.iso of=/dev/sdx status=progress oflag=sync ### Connect to the internet -Enable wifi: +Read [iwd/iwctl](https://wiki.archlinux.org/index.php/Iwd#iwctl): ```sh -wifi-menu +iwctl +``` + +Inside `iwctl`: + +```txt +device list + +# Change device to real device +station device scan + +station device get-networks + +# Change SSID to real SSID +station device connect SSID ``` ### Partition the disks @@ -52,6 +66,18 @@ mkfs.fat -F32 /dev/xxxY mkfs.ext4 /dev/xxxY ``` +Mount: + +```sh +mount /dev/xxxY /mnt + +mkdir -p /mnt/boot +mount /dev/xxxY /mnt/boot + +mkdir -p /mnt/home +mount /dev/xxxY /mnt/home +``` + ### Boot loader [systemd-boot](https://wiki.archlinux.org/index.php/Systemd-boot)