Configuring WPA2 (AES) in Slackware

[ 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:
  • 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.

Translated-by: el_es

Subscribe to RSS feed for this article!

Comments

No comments yet.

Name (required)
E-mail (required - never shown publicly)
URI

Adjust field size: shrink | enlarge)


You can use simple HTML in your comments. Some examples are as follows:
  • A hyperlink: <a href="polishlinux.org">GNU/Linux for everyone!</a>,
  • Strong text: <strong>Strong text</strong>,
  • Italic text: <em>italic text</em>,
  • Strike: <strike>strike</strike>,
  • Code: <code>printf("hello world");</code>,
  • Block quote: <blockquote>Block quote</blockquote>

About the Author

Andrzej Sperczyński

Fourty-nine years old computer science teacher. Linux user since 2002, Slackware user since version 9.1.

New AdTaily ads!

Are you a film buff?

film buffs community, movie recommendations and reviews

RSS: Comments

You can follow the comments to this article through a special channel RSS 2.0 .

Related articles: HOWTOs

 more »

Related articles: Slackware

 more »

PolishLinux Top Content


Become our fan on Facebook!

PolishLinux.org on Facebook

Follow PolishLinux on Twitter!

Follow polishlinux on Twitter

Google Ads