Slackware HowTo

Configure Wi-Fi with wpa_supplicant on Slackware

Connect a wireless interface with WPA2 or WPA3 without extra graphical layers.

1. Goal

Connect a wireless interface with WPA2 or WPA3 without extra graphical layers.

2. Files and components involved

/etc/wpa_supplicant.conf
/etc/rc.d/rc.inet1.conf
/usr/bin/wpa_cli

3. Operational flow

wpa_passphrase SSID password > /etc/wpa_supplicant.conf
configurare rc.inet1.conf
/etc/rc.d/rc.inet1 wlan0_start

4. Operational verification

wpa_cli status
ip addr show wlan0
ping -c 3 1.1.1.1
ping -c 3 slackware.com

5. Practical notes

Apply network changes from a local console or with an emergency session ready, so you do not lose SSH access.

Every network change should have a rollback path ready: a second console, KVM access, or a temporary command to remove.

Quick checklist

[ ] Backup or copy of the existing configuration completed
[ ] Files and commands updated as expected
[ ] Local test completed successfully
[ ] Logs or final output verified
[ ] Rollback procedure documented

Back to the Linux HowTo section