wireless setup

created onNovember 18, 2025

preparations

check if wlan0 is powered up

iwlist wlan0 power

list available networks with iwlist

iwlist wlan0 scanning

generate config block for SSID with wpa_passphrase

wpa_passphrase computes a 256-bit PSK and generates a configuration block for the network with the SSID (Service Set Identifier) or ESSID (Extended Service Set Identifier) provided as parameter. For an access point with the SSID base, the command line is:

wpa_passphrase base "<passphrase>" >> /etc/wpa_supplicant/base.lan.conf

results in file /etc/wpa_supplicant/base.lan.conf with content:

network={ ssid="base" #psk="<passphrase>" psk=9999999999955555555554444444444444443333333333111111111111111 }

The line with should be deleted from the config file.

connect to access point with wpa_supplicant

wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/base.lan.conf

Parameter causes the daemon to run in background. Specific drivers can be set with , i.e. .

x