viernes, 15 de marzo de 2013

Connecting PCLinuxOS and Mageia to a WPA2 Enterprise Network

The University where I work has proudly put up a new network for remote access. Among its advantages, one can count that there are more access points, its has a more robust security, and that the user only needs to register once. 

One additional point for Linux users is that, as opposed to Windows, you do not need to download any software, install it and run it to be able to log in. It is a WPA2 Enterprise network that uses PAP for authentication. 

However, there was a problem: although the University provides a Linux guide for configuring the network, this document only describes the process for Ubuntu and network manager. 

When I tried to follow the instructions in PCLinuxOS 2013.2 and Mageia 2, regardless of my attempts, the connection would fail. Both Linux distributions use drakenet instead of networkmanager and the former simply refused to cooperate. 

Yesterday, I found the way to make the elusive WPA2 Enterprise network talk to PCLinuxOS and Mageia. All that is needed is to go to /etc and open Konsole to modify a file. So, you have to type su, followed by your root password. Then, as you need to open Kwrite to edit a file, you must type the following command to circumvent a problem that prevents Kwrite from launching: 

export $ (dbus-launch) 

Then, to open Kwrite, type:

kwrite 

After some warnings, the GUI of Kwrite pops up, so use the menu to locate the file called wpa_supplicant.conf. Go to the end of the file and append these lines there:

ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=1
network={
    ssid="Network-Name
    key_mgmt=WPA-EAP IEEE8021X NONE
    proto=RSN WPA
    eap=TTLS
    identity="name.surname"
    password="password"
    phase2="auth=PAP"
    pairwise=CCMP TKIP
    group=CCMP TKIP
    scan_ssid=1
    mode=0
}


Then, save the file and close everything. Reboot your machine and that makes PCLinuxOS and Mageia work with this new University network. 

The more I use Linux, the more I learn :)

1 comentario:

  1. Glad to hear you could solve that issue. The more we learn, the stronger we get!

    ResponderEliminar

And the Magic is Ready!

Two weeks ago, DistroWatch reported that Mageia 9 had been released. Back then, I was swamped with work and, even when the Mageia notifier ...