From cb3e533914af33c2112274cbeb1f697d6210bf0e Mon Sep 17 00:00:00 2001 From: srdusr Date: Wed, 8 Mar 2023 09:07:36 +0200 Subject: Updated info on "Connect to the internet" --- linux/arch-install.md | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'linux') diff --git a/linux/arch-install.md b/linux/arch-install.md index 4a1b2cc..44b1d05 100644 --- a/linux/arch-install.md +++ b/linux/arch-install.md @@ -4,13 +4,28 @@ - Look for an appropriate keyboard layout example: `us` `# localectl list-keymaps | grep ` - Set the console keyboard layout -`# loadkeys us` +`# loadkeys us` - - - 2. Connect to the internet - Test internet connection +`# ping archlinux.org` +or `# ip a` -- Type the following command, press "enter" and select wifi and enter password -`# wifi-menu` +- If not sure what interfaces are available (wired connection/wifi), use: +`# ip link` +- If using a wired connection, it is usually picked up automatically +- If using wifi, it will require some additional setting up. Launch `iwctl` prompt: +`# iwctl` +- List available devices: +`[iwd]# device list` # Should see wifi available with a name like `wlan0`, adjust accordingly if necessary +- Scan for networks and list available Wi-Fi networks: +`[iwd]# station wlan0 scan` # This command outputs nothing +`[iwd]# station wlan0 get-networks` +- Connect to wifi network where `` is the name of the device +`[iwd]# station wlan0 connect ` +- Enter the passphrase for wifi +- Exit the iwctl and don't forget to test the connection again +`[iwd]# exit` - - - 3. Sync system clock, mirrors and servers - Update the system clock -- cgit v1.2.3