WPA2 Wireless Encryption, WindowMaker, and Fedora 14

Category: Software and Systems Engineering
Author: Sean O'Donnell
Wed, May. 11th, 2011 @ 15:35:50 (MDT)

I've recently installed Fedora Linux 14 with the WindowMaker Desktop Manager. It doesn't include a nice lil' GUI Wifi Connection Manager like Gnome and xfce, but configuring Fedora for auto-connection is simple enough, so this should apply to all of the Window Managers as well.

First off, you'll need to generate your PSK key using the wpa_passphrse application.

wpa_passphrase sithnet mysecretkey >> /etc/wpa_supplicant/wpa_supplicant.conf

/etc/wpa_supplicant/wpa_supplicant.conf

The next step, is to edit your wpa_supplicant.conf file similar to the following, assuming you're using WPA2 Authentication w/ a TKIP key.

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=1

network={
 ssid="sithnet"
 proto=WPA
 key_mgmt=WPA-PSK
 group=CCMP TKIP WEP104 WEP40
 psk=???
 priority=1
}

/etc/sysconfig/wpa_supplicant

INTERFACES="iwlan0"
DRIVERS="-Dwext"
OTHER_ARGS="-f /var/log/wpa_supplicant.log -P /var/run/wpa_supplicant.pid"

 /etc/sysconfig/network-scripts/ifcfg-wlan0

DEVICE=wlan0
ONBOOT=yes
TYPE=Wireless
BOOTPROTO=dhcp

Initial Configuration Commands

Disable/Stop the NetworkManager service

chkconfig NetworkManager off
service NetworkManager stop

Enable/Start the wpa_supplicant service

chkconfig wpa_supplicant on
service wpa_supplicant start

Manual Connection Command(s)

If you wish to disable auto-connection, simply mark 'ONBOOT=no' in /etc/sysconfig/network-scripts/ifcfg-wlan0. You can then have full control of the connection establishment yourself, manually, using the following commands:

ifconfig wlan0 up
iwconfig wlan0 essid sithnet
dhclient wlan0

Copyleft (<) 1998-2019 www.seanodonnell.com