slackware-current/source/n/wpa_supplicant
Patrick J Volkerding 45d4b225c6 Sun Dec 27 22:52:10 UTC 2020
And, just a month after Xfce 4.14 appeared in vtown, we have Xfce 4.16 updates
in the main tree. Thanks much to Robby Workman for making it happen. :-)
a/aaa_terminfo-6.2_20201219-x86_64-1.txz:  Upgraded.
a/ndctl-71.1-x86_64-2.txz:  Rebuilt.
  Fix bash-completion file installation (previously it was causing the
  completion dir to have mode 0644). Thanks to Robby Workman.
l/harfbuzz-2.7.4-x86_64-1.txz:  Upgraded.
l/libarchive-3.5.1-x86_64-1.txz:  Upgraded.
l/libgtop-2.40.0-x86_64-1.txz:  Added.
  This is used by libxfce4ui to provide extra information in the about page.
l/ncurses-6.2_20201219-x86_64-1.txz:  Upgraded.
n/wpa_supplicant-2.9-x86_64-4.txz:  Rebuilt.
  Fix desktop file to not show if kdesu isn't available. Thanks to Hyperion.
x/xterm-363-x86_64-1.txz:  Upgraded.
xap/xsnow-3.2.0-x86_64-1.txz:  Upgraded.
xfce/Greybird-3.22.13-noarch-2.txz:  Rebuilt.
xfce/exo-4.16.0-x86_64-1.txz:  Upgraded.
xfce/garcon-0.8.0-x86_64-1.txz:  Upgraded.
xfce/libxfce4ui-4.16.0-x86_64-1.txz:  Upgraded.
xfce/libxfce4util-4.16.0-x86_64-1.txz:  Upgraded.
xfce/mousepad-0.5.1-x86_64-2.txz:  Rebuilt.
xfce/thunar-4.16.0-x86_64-1.txz:  Upgraded.
xfce/thunar-volman-4.16.0-x86_64-1.txz:  Upgraded.
xfce/tumbler-4.16.0-x86_64-1.txz:  Upgraded.
xfce/xfce4-appfinder-4.16.0-x86_64-1.txz:  Upgraded.
xfce/xfce4-clipman-plugin-1.6.1-x86_64-2.txz:  Rebuilt.
xfce/xfce4-dev-tools-4.16.0-x86_64-1.txz:  Upgraded.
xfce/xfce4-notifyd-0.6.2-x86_64-2.txz:  Rebuilt.
xfce/xfce4-panel-4.16.0-x86_64-1.txz:  Upgraded.
xfce/xfce4-panel-profiles-1.0.10-x86_64-2.txz:  Rebuilt.
xfce/xfce4-power-manager-4.16.0-x86_64-1.txz:  Upgraded.
xfce/xfce4-pulseaudio-plugin-0.4.3-x86_64-2.txz:  Rebuilt.
xfce/xfce4-screensaver-0.1.11-x86_64-3.txz:  Rebuilt.
xfce/xfce4-screenshooter-1.9.8-x86_64-1.txz:  Upgraded.
xfce/xfce4-session-4.16.0-x86_64-1.txz:  Upgraded.
xfce/xfce4-settings-4.16.0-x86_64-1.txz:  Upgraded.
xfce/xfce4-systemload-plugin-1.2.4-x86_64-2.txz:  Rebuilt.
xfce/xfce4-taskmanager-1.2.3-x86_64-2.txz:  Rebuilt.
xfce/xfce4-terminal-0.8.10-x86_64-1.txz:  Upgraded.
xfce/xfce4-weather-plugin-0.10.2-x86_64-2.txz:  Rebuilt.
xfce/xfce4-whiskermenu-plugin-2.5.0-x86_64-1.txz:  Upgraded.
xfce/xfconf-4.16.0-x86_64-1.txz:  Upgraded.
xfce/xfdesktop-4.16.0-x86_64-1.txz:  Upgraded.
xfce/xfwm4-4.16.0-x86_64-1.txz:  Upgraded.
2020-12-28 02:59:54 +01:00
..
config Sun Dec 27 22:52:10 UTC 2020 2020-12-28 02:59:54 +01: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 Sun Dec 27 22:52:10 UTC 2020 2020-12-28 02:59:54 +01: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!