[ Sunday, 10 August 2008, asperczwielun ]
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:
- The new entries in
/etc/rc.d/rc.localare the same as in the WPA (TKIP) case and read as follows:
- The newly created
/etc/rc.d/rc.wifi_wpaexecutable script reads as follows:
- The pre-shared key (PSK) to be entered into file above, is generated by executing the following command:
- The entries of
/etc/wpa_supplicant.confare the same for both WPA and WPA2 protected networks, and read as follows:
- The entries of
/etc/rc.d/rc.inet1.confread as follows:
Configuration of Slackware-12.1
#wpa_passphrase ssid my_passphrase
The SSID and passphrase must match these entered in the access point config.
The commented out entries are related to a WEP encrypted connection, brought up using iwconfig and ifconfig commands.
#iwconfig command yields the following:
#iwlist auth command yields:
#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.
Warning: include_once(/sites/polishlinux.org/wp-content/themes/jakilinuxorg/google_article_inside.php): failed to open stream: No such file or directory in /sites/polishlinux.org/wp-content/themes/jakilinuxorg/single.php on line 48
Warning: include_once(): Failed opening '/sites/polishlinux.org/wp-content/themes/jakilinuxorg/google_article_inside.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /sites/polishlinux.org/wp-content/themes/jakilinuxorg/single.php on line 48
Subscribe to RSS feed for this article!
No comments yet.