Linux on Your WLAN: Configure WPA - Page 2
March 28, 2006
On Fedora and Red Hat, et al, configure your wireless card in the usual manner in /etc/sysconfig/network-scripts/ifcg-eth1, or whatever file belongs to the wireless interface, using the real interface name and MAC address:
Then add these lines to the end of /etc/sysconfig/network-scripts/ifup-wireless, again using your own interface name:
These are simple setups that don't manage multiple locations or do any fancy hotplug management, but they work fine for single locations. We'll cover roaming, multiple profiles, and hotplug interfaces in future installments.
Rolling Out Masses of Keys
Security gurus advise changing shared keys periodically. Doing it manually is less than fun. Using cfengine is one option, though that's a big hammer to use on a little nail. Your access point might have a utility to do this, so look there first.
If you already have an authentication server, like a RADIUS server, you've already done the hard part, so we'll look at how to set up WPA Enterprise in a future howto.