I've briefly recorded for myself the steps to make a Wifi connection when installing Arch Linux.
Basically, the installation will be completed without any problem if you follow @ TsutomuNakamura's "Arch Linux Installation Our Complete Edition". At this time, an internet connection is required, but I had a little trouble setting up Wifi because I couldn't use a wired connection, so I'll record the solution at that time.
For WPA / WPA2, use ** wpa_supplicant **. I couldn't use ** wifi-menu **.
> ip link
> ip link set [interface] up
> iwlist [interface] scanning | grep "ESSID"
> wpa_supplicant -B -i [interface] -c <(wpa_passphrase [ESSID] [password])
> dhcpcd
> ping archlinux.org
-[interface]: The name of the interface -[ESSID]: SSID name -[password]: Password
ip link
First, check the name of the interface. As a Wifi interface, a name like "wlan0" was displayed in my case.
ip link [interface] up
If the interface obtained in 1. is disabled, enable it with this command. For information on enabling / disabling the interface, see "Wi-Fi connection (wireless setting) under Arch Linux installation media environment | Unskilled? E3% 83% B3% E3% 82% B9% E3% 83% 88% E3% 83% BC% E3% 83% AB% E3% 83% A1% E3% 83% 87% E3% 82% A3% E3% 82% A2% E7% 92% B0% E5% A2% 83% E4% B8% 8B% E3% 81% A7% E3% 81% AEwi-fi% E6% 8E% A5% E7% B6% 9A% E3% 83% AF% E3% 82% A4% E3% 83% A4 /) "" How to distinguish between valid and invalid "see below.
iwlist [interface] scanning | grep "ESSID"
Search for the Wifi SSID you want to connect to from the interface obtained in 1. If it is not found, it may be displayed when you hit the command again, and the interface may be incorrect.
wpa_supplicant -B -i [interface] -c <(wpa_passphrase [ESSID] [password])
Enter the interface name obtained in 1., the SSID obtained in 3., and the Wifi password to connect. This command is for WPA / WPA2, but ** well, most devices will be WPA / WPA2 **, and I'm writing this memorandum.
dhcpcd
incantation. Obtain the IP address, etc. and make various settings. For details, refer to "dhcpcd --Explanation of system management commands --List of Linux commands".
ping archlinux.org
Ping the appropriate address to confirm that the connection is complete. The destination of the ping is appropriate.
Arch Linux is fun!
Recommended Posts