…using Arch Linux with systemd
Make sure your the WLAN card-driver is running correctly:
Find the name of your WLAN interface:
Bring it up:
ip link set [wlan0] up
Install configuration tools:
pacman -S netcfg
pacman -S wireless_tools
pacman -S wpa_supplicant
pacman -S wpa_supplicant_gui
Generate a new fille /etc/wpa_supplicant.conf with the following two lines
Add the users that should be allowed to login to WLANS to the group network:
gpasswd -a [user] network
Run the wpa_supplicant_gui to find your WLAN (scan button), configure it, enter your key, connect and safe (don’t forget to press save in the gui) the infos in /etc/wpa_supplicant.conf
Copy the example configuration from /etc/network.d/examples/wireless-wpa to /etc/network.d/[mynetwork] (wireless-wpa is the example for WPA(2) personal with PSK).
Make sure the INTERFACE paramter in the file is set correctly.
Add the netcfg unit to systemd in order to load the the profile (/etc/netwok.d/[mynetwork]) at boot.
systemctl enable netcfg@[mynetwork]
Or start it manually:
PS: If you want to find accesspoints without using a GUI:
iwlist wlan0 scan | less