srdusr
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2023-03-08 09:07:36 +0200
committersrdusr <[email protected]>2023-03-08 09:07:36 +0200
commitcb3e533914af33c2112274cbeb1f697d6210bf0e (patch)
tree1aae5b2b5f8c291edf6b1b41c3e1bb64d6014de2
parent16690325268226a6f04ecad0ebde8407c320d151 (diff)
downloadnotes-cb3e533914af33c2112274cbeb1f697d6210bf0e.tar.gz
notes-cb3e533914af33c2112274cbeb1f697d6210bf0e.zip
Updated info on "Connect to the internet"
-rw-r--r--linux/arch-install.md21
1 files changed, 18 insertions, 3 deletions
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 <keymap>`
- 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 `<wifi-name>` is the name of the device
+`[iwd]# station wlan0 connect <wifi-name>`
+- 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