WPA

From MEPIS Documentation Wiki

Revision as of 12:43, 17 March 2007 by Jerry Bond (Talk | contribs)
Jump to: navigation, search

WiFi Protected Access has been designed to replace WEP. It provides improved data encryption, which was weak in WEP, and to provide user authentication, which was for the most part missing in WEP. WiFi Protected Access utilizes its Temporal Key Integrity Protocol (TKIP) for improved data encryption. TKIP addresses all of the known vulnerabilities in WEP. WPA implements 802.1x and the Extensible Authentication Protocol (EAP) to strengthen user authentication. More

MEPIS 6.5

The updated MEPIS Network Assistant adds manual configuration for WPA security as an alternative to the automatic configuration via networkmanager. Open MEPIS Assistant, click on the Wireless tab, check the radio button for WPA, and fill in your password. Click Apply, and reboot.

If that does not work, see Getting_Help

Earlier versions of MEPIS

[Note: Thanks to Dim for providing the protocol behind this entry.]

Though not automatic, WPA configuration can be done in MEPIS. It must be said, however, that success seems to vary among users and cards even when using the same setup protocol.

This describes how to set it up for home users or a small office via the Pre-shared key mode (PSK, also known as personal mode):

1. install wpa_supplicant and wifi-radar. Use Synaptic or the following command as root:

   # apt-get install wpa_suplicant wifi-radar

2. configure wpa_supplicant first. You will need to edit or create a configuration file in the /etc/wpa_supplicant folder. Open your favorite text editor as root (e.g., System Menu --> File System --> File Manager Super User Mode), and navigate to the folder /etc/wpa_supplicant/. There may already be a configuration file in there, or you will have to create a new one. In either case the file has to be named wpa_supplicant.conf when you are done. Cut and paste the following code:


# example WPA configuration file
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="your_network1_name"
psk="your_network1_wpa_secure_key"
key_mgmt=WPA-PSK
proto=WPA
pairwise=CCMP TKIP
}
network={
ssid="your_network2_name"
psk="your_network2_wpa_secure_key"
key_mgmt=WPA-PSK
proto=WPA
pairwise=CCMP TKIP
}

Make sure to save the file as wpa_supplicant.conf in the /etc/wpa_supplicant folder. Details on the contents and structure of these configuration files can be found here

3. start wifi-radar

>> select your network (ex. ssid network1) and click on 'Connect'

>> a message box will tell you it's a new network, and will ask if you want to configure it--say yes

>> all you need here is just select WPA option and set 'wext' (= 'wireless extention device' in wpa_supplicant) as WPA device

Note: 'wext' should work for most wifi adaptors mapped by wpa_supplicant, see the wpa_supplicant home page. If your wifi device is based on the 'atheros' chipset you will probably have to specify 'madwifi' instead of 'wext'

>> click on 'Save' next and normally you're on! wifi-radar will start wpa_supplicant itself, and stop on 'Disconnect', so you've nothing to do in the future, everything just works

To insure that there are no conflicts with Mepis_Utilities, go to mutilities and uncheck each interface to start on boot.

Links

Alternatives

1. Try copying your wpa_supplicant.conf file up one level, directly in /etc

2. Some users have reported success using these other frontends for wpa_supplicant:

3. Finally, you can use a shell to try to debug. Type "man wpa_supplicant" for details, scrolling down to this paragraph (code edited here to indicate config file location as above, but try original "/etc/wpa_supplicant.conf" if that does not work):

"The easiest way to debug problems, and to get a debug log for bug reports, is to start wpa_supplicant on foreground with debugging enabled:"

  wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -d

Change the code for the interface you are using if not wlan0. Then post the debug log on the Forum for help, if needed.

Personal tools