これまでノートPCの WiFi接続方法として wicdを使用していたが
2020/08/01 の upstream update で wicdがパッケージツリーから除外されたのを
機会に slackware64-current の WiFi接続設定を wpa_supplicant に移行した。
そのときの備忘録。

Step-1) copy the edited wpa_supplicant.conf as /etc/wpa_supplicant.conf

 *** sample wpa_supplicant.conf ***
-----------------------------------------------------------------------------
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
eapol_version=1

ap_scan=1
fast_reauth=1

network={
    ssid="<My-SSID>"
        scan_ssid=1
        proto=WPA
        key_mgmt=WPA-PSK
        pairwise=CCMP TKIP
    #psk="<My-PSK-PassCode>"
    psk=<Encrypted PSK-passCode>
}
----------------------------------------------------------------------------
注記)wps_passphrase <My-SSID> <My-PSK-PassCode>  の出力参照

Step-2) backup /etc/rc.d/rc.inet1.conf
# cd /etc/rc.d
# cp rc.inet1.conf rc.inet1.conf.bak

Step-3) copy the attached rc.inet1.conf as /etc/rc.d/rc.inet1.conf
 *** sample part of wlan0 in rc.inet1.conf ***
------------------------------------------------------------------------------
## Config information for wlan0:
IFNAME[4]="wlan0"                      # Use a different interface name instead of
                                                         # the default 'eth4'
USE_DHCP[4]="yes"
WLAN_ESSID[4]=<My-SSID>    # An example of how you can override _any_
                                                         # parameter defined in rc.wireless.conf, by
                                                         # prepending 'WLAN_' to the parameter's name.
                                                         # Useful with multiple wireless interfaces.
WLAN_WPA[4]="wpa_supplicant"    # Run wpa_supplicant for WPA support
WLAN_WPADRIVER[4]="wext"        # Tell wpa_supplicant to specifically use the
                                                         # ndiswrapper driver (if you leave this empty
                                                         # the 'wext' driver is used by default)
------------------------------------------------------------------------------
注記) IFNAME の wlan0 はPC環境で異なる場合あり。 ifconfig -a で確認。

Step-4) rc.networkmanager, rc.wicd の実行属性を解除しておくことを忘れずに
# cd /etc/rc.d
# chmod a-x rc.networkmanager
# chmod a-x rc.wicd

Step-5) PC再起動し、startup時にWiFiが起動&接続されていることを確認する

Step-6) 不要となったパケージををPCから削除
# slackpkg remove wicd urwid
※)rc.wicd の実行属性を外しておけば、パッケージがインストールされたまま
でも実害はない。

===============
追記-1)
wpa_supplicant で Free-WiFi に接続する場合の wpa_supplicant.conf

network={
    ssid="<Free-WiFi-SSID>"
        key_mgmt=NONE
}
===============
追記-2)
無線LANデバイスのハードウェアMACアドレス確認方法いろいろ
root権限にて
# ifconfig -a  で無線LAN関連情報の中に表示される

root権限にて
# iw dev  で addr行に表示される

一般ユーザーにて
$ inxi -Fxx  で Network: 項目の中に表示される

================
追記-3)
利用可能なssid をスキャン・表示するには
root権限にて
# wpa_cli
> scan_results
*** 表示例 ***
bssid / frequency / signal level / flags / ssid
AA:BB:CC:DD:EE:FF    2412    -53    [WPA-PSK-TKIP][ESS]    <available-ssid>

又は
# iwlist scan |grep ESSID