Login

Support

The following is a follow-up to the WPA-PSK HOWTO, describing the way to configure the HP 530 laptop, Slackware 12.1 OS and a Lantech wireless access-point router using WPA2 encryption method. It might be however tuned up to match other router/distro combinations.

First, the wireless access point must be configured on the router:

The configuration for WPA2(AES) reads as follows:

Configuration of Slackware-12.1

The new entries in /etc/rc.d/rc.local are the same as in the WPA (TKIP) case and read as follows:

The newly created /etc/rc.d/rc.wifi_wpa executable script reads as follows:

The pre-shared key (PSK) to be entered into file above, is generated by executing the following command:

#wpa_passphrase ssid my_passphrase

The SSID and passphrase must match these entered in the access point config.

The entries of /etc/wpa_supplicant.conf are the same for both WPA and WPA2 protected networks, and read as follows:

The entries of /etc/rc.d/rc.inet1.conf read as follows:

The commented out entries are related to a WEP encrypted connection, brought up using iwconfig and ifconfig commands.

The #iwconfig command yields the following:

The #iwlist auth command yields:

The #iwlist encryption command yields:

The network monitor shows the connection is up:

The wpa_gui program (run as root) shows our network as follows:

My laptop utilizes its own firewall, and the connection init time is shorter for me than in the WPA-PSK (TKIP) case, and takes about 10 seconds.