Mostrando entradas con la etiqueta wi-fi. Mostrar todas las entradas
Mostrando entradas con la etiqueta wi-fi. Mostrar todas las entradas

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 :)

domingo, 15 de mayo de 2011

The mystery of the missing wi-fi in Mageia/Mandriva

I've been avoiding kernel 2-6.38.4 and 2-6.38.6-1 in Mandriva because last time I found them in an update and installed them, my netbook lost its wi-fi capabilities. Yes, it would not pick any signal or start wireless connections at all. It would tell me that I needed some b43 files from a web site and the installation was beyond my understanding.

Well, I decided that I wanted to install Mageia 1 in my netbook. I will spare you the story of my mistake of installing beta1 and my consequential sadness because iBus would not work. However, when I corrected my mistake and installed beta2, my happiness upon seeing iBus working flawessly quickly faded away because I discovered that the dreadful kernel 2-6.38.4 was what Mageia uses and, therefore, my wi-fi was gone!

In a sudden revelation, I read the error message and saw that it was indicating the path were the missing files were supposed to be and were not: /lib/firmware/b43

I mounted the Pardus partition and looked for that directory. Pardus had both the b43 and the b34legacy directories, so I copied them to my Mageia home folder.

There was one problem left: How to copy the directory in Mageia's root appropriate folder? The answer is easy, with konsole, of course!

After typying su and inputting my password, I used the following command:
cp -r /home/myname/b43 /lib/firmware/

and PRESTO! in less than one second, the 39 files were copied. Then I did the same and copied the b43legacy folder.

After that, I ran Mageia Control Center, Network config, add a new connection. I selected Wireless and wlan_o. When the system asked me for the file, I located the directory /lib/firmware/b43 and selected the ucode5.fw file.

It worked. Now, I'm posting this entry using the wi-fi in Mageia beta2.

I just don't understand why is it that some people are afraid of the command line. It's so powerful and useful.

Once again, BIG THANKS PARDUS!!!

My First 12 Days with Mageia 10: How to enable repos with dnf5

Well, 12 days have passed since I migrated all of my desktop, laptop, and portable work system to Mageia 10. I have not used the work system...