slackware-current/source/n/wpa_supplicant
Patrick J Volkerding bd0fcc79d4 Wed Jun 9 18:59:30 UTC 2021
a/dialog-1.3_20210530-x86_64-1.txz:  Upgraded.
a/grub-2.06-x86_64-1.txz:  Upgraded.
a/kernel-firmware-20210609_0f66b74-noarch-1.txz:  Upgraded.
d/gcc-10.3.0-x86_64-2.txz:  Rebuilt.
  Applied upstream patches to address the regressions noted in PR100101 and
  PR100102. Thanks to eduardr.
d/gcc-brig-10.3.0-x86_64-2.txz:  Rebuilt.
d/gcc-g++-10.3.0-x86_64-2.txz:  Rebuilt.
d/gcc-gdc-10.3.0-x86_64-2.txz:  Rebuilt.
d/gcc-gfortran-10.3.0-x86_64-2.txz:  Rebuilt.
d/gcc-gnat-10.3.0-x86_64-2.txz:  Rebuilt.
d/gcc-go-10.3.0-x86_64-2.txz:  Rebuilt.
d/gcc-objc-10.3.0-x86_64-2.txz:  Rebuilt.
d/meson-0.58.1-x86_64-1.txz:  Upgraded.
kde/bluedevil-5.22.0-x86_64-1.txz:  Upgraded.
kde/breeze-5.22.0-x86_64-1.txz:  Upgraded.
kde/breeze-grub-5.22.0-x86_64-1.txz:  Upgraded.
kde/breeze-gtk-5.22.0-x86_64-1.txz:  Upgraded.
kde/drkonqi-5.22.0-x86_64-1.txz:  Upgraded.
kde/kactivitymanagerd-5.22.0-x86_64-1.txz:  Upgraded.
kde/kde-cli-tools-5.22.0-x86_64-1.txz:  Upgraded.
kde/kde-gtk-config-5.22.0-x86_64-1.txz:  Upgraded.
kde/kdecoration-5.22.0-x86_64-1.txz:  Upgraded.
kde/kdeplasma-addons-5.22.0-x86_64-1.txz:  Upgraded.
kde/kgamma5-5.22.0-x86_64-1.txz:  Upgraded.
kde/khotkeys-5.22.0-x86_64-1.txz:  Upgraded.
kde/kinfocenter-5.22.0-x86_64-1.txz:  Upgraded.
kde/kmenuedit-5.22.0-x86_64-1.txz:  Upgraded.
kde/krita-4.4.5-x86_64-1.txz:  Upgraded.
kde/kscreen-5.22.0-x86_64-1.txz:  Upgraded.
kde/kscreenlocker-5.22.0-x86_64-1.txz:  Upgraded.
kde/ksshaskpass-5.22.0-x86_64-1.txz:  Upgraded.
kde/ksysguard-5.22.0-x86_64-1.txz:  Upgraded.
kde/ksystemstats-5.22.0-x86_64-1.txz:  Added.
kde/kwallet-pam-5.22.0-x86_64-1.txz:  Upgraded.
kde/kwayland-integration-5.22.0-x86_64-1.txz:  Upgraded.
kde/kwayland-server-5.22.0-x86_64-1.txz:  Upgraded.
kde/kwin-5.22.0-x86_64-1.txz:  Upgraded.
kde/kwrited-5.22.0-x86_64-1.txz:  Upgraded.
kde/latte-dock-0.9.12-x86_64-1.txz:  Upgraded.
kde/layer-shell-qt-5.22.0-x86_64-1.txz:  Added.
kde/libkscreen-5.22.0-x86_64-1.txz:  Upgraded.
kde/libksysguard-5.22.0-x86_64-1.txz:  Upgraded.
kde/milou-5.22.0-x86_64-1.txz:  Upgraded.
kde/oxygen-5.22.0-x86_64-1.txz:  Upgraded.
kde/plasma-browser-integration-5.22.0-x86_64-1.txz:  Upgraded.
kde/plasma-desktop-5.22.0-x86_64-1.txz:  Upgraded.
kde/plasma-disks-5.22.0-x86_64-1.txz:  Upgraded.
kde/plasma-firewall-5.22.0-x86_64-1.txz:  Upgraded.
kde/plasma-integration-5.22.0-x86_64-1.txz:  Upgraded.
kde/plasma-nm-5.22.0-x86_64-1.txz:  Upgraded.
kde/plasma-pa-5.22.0-x86_64-1.txz:  Upgraded.
kde/plasma-sdk-5.22.0-x86_64-1.txz:  Upgraded.
kde/plasma-systemmonitor-5.22.0-x86_64-1.txz:  Upgraded.
kde/plasma-vault-5.22.0-x86_64-1.txz:  Upgraded.
kde/plasma-workspace-5.22.0-x86_64-1.txz:  Upgraded.
kde/plasma-workspace-wallpapers-5.22.0-x86_64-1.txz:  Upgraded.
kde/polkit-kde-agent-1-5.22.0-x86_64-1.txz:  Upgraded.
kde/powerdevil-5.22.0-x86_64-1.txz:  Upgraded.
kde/qqc2-breeze-style-5.22.0-x86_64-1.txz:  Upgraded.
kde/sddm-kcm-5.22.0-x86_64-1.txz:  Upgraded.
kde/systemsettings-5.22.0-x86_64-1.txz:  Upgraded.
kde/xdg-desktop-portal-kde-5.22.0-x86_64-1.txz:  Upgraded.
l/alsa-lib-1.2.5-x86_64-3.txz:  Rebuilt.
  Apply upstream patches to fix device detection. Thanks to USUARIONUEVO.
l/libiodbc-3.52.15-x86_64-1.txz:  Upgraded.
n/sshfs-3.7.2-x86_64-1.txz:  Upgraded.
n/wpa_supplicant-2.9-x86_64-7.txz:  Rebuilt.
  Support WPA3 and add some more options from the defconfig included in the
  source to Slackware's config file. Thanks to ArTourter.
x/xkeyboard-config-2.33-noarch-1.txz:  Upgraded.
x/xterm-368-x86_64-1.txz:  Upgraded.
xfce/xfce4-settings-4.16.2-x86_64-1.txz:  Upgraded.
2021-06-10 08:59:32 +02:00
..
config Wed Jun 9 18:59:30 UTC 2021 2021-06-10 08:59:32 +02:00
patches Mon Apr 22 20:00:44 UTC 2019 2019-04-23 08:59:44 +02:00
doinst.sh Slackware 14.0 2018-05-31 22:51:55 +02:00
README.slackware Slackware 13.0 2018-05-31 22:41:17 +02:00
slack-desc Wed Jan 9 03:21:06 UTC 2019 2019-01-09 08:59:41 +01:00
wpa_supplicant.SlackBuild Wed Jun 9 18:59:30 UTC 2021 2021-06-10 08:59:32 +02:00

=================================================
How do I get my card to use WPA-PSK in Slackware?
=================================================

First off: wpa_supplicant REQUIRES the AP to broadcast the SSID. When the AP
hides its SSID, all you will get out of wpa_supplicant is the message:
"No suitable AP found"

Also, read the MADwifi FAQ (http://madwifi.sourceforge.net/dokuwiki/doku.php)
since it contains a wealth of information.

This being said, you'll have to do the following (as root):
Edit the file named /etc/wpa_supplicant.conf and add these lines:

network={
		scan_ssid=0
		proto=WPA
		key_mgmt=WPA-PSK
		pairwise=CCMP TKIP
		group=CCMP TKIP WEP104 WEP40
}

Then execute:

/usr/sbin/wpa_passphrase YOURSSID passphrase

with the SSID of your AP and the passphrase you've entered in its WPA-PSK configuration. You'll receive an output, which looks like this:

network={
		ssid="YOURSSID"
		#psk="passphrase"

psk=66a4bfb03de5656cf26cfa03a116097546046f4aea11ee044b841171207d8308
}

Copy the three lines within the network-tag into your own entry in wpa_supplicant.conf and change the permissions after you've finished editing:

chmod 640 /etc/wpa_supplicant.conf

To get your network device up and running, execute:

### /usr/sbin/wpa_supplicant -Bw -c/etc/wpa_supplicant.conf -iath0 -Dmadwifi ###
### you don't have to run the above command by hand, because it will         ###
### be executed by the rc.inet1 command that you run:                        ###

/etc/rc.d/rc.inet1 ath0_start

In case you want to see the wpa_supplicant in action, start it on the command line before enabling the wireless device, by running:
/usr/sbin/wpa_supplicant -dw -c/etc/wpa_supplicant.conf -iath0 -Dmadwifi
The terminal where you've started the wpa_supplicant should now show the communication between your wlan card and the AP. If you got everything up and running you can let Slackware's init script take over by killing wpa_supplicant and running:

/etc/rc.d/rc.inet1 ath0_restart

Studying the wpa_supplicant README is also highly recommended for further insight!