Australian Technology

Fixing Fedora’s Wi-Fi with Wicd

Takeaway: If you’ve had trouble getting Fedora to connect to WPA2 Wi-Fi access points, then throw out NetworkManager and replace it with wicd.

A constant thorn in my side over the past months has been Fedora’s intermittent failure to connect to wireless access points using WPA2 encryption. When Fedora, WPA2 and a Realtek wireless chipset (specifically RTL8191SEvB) come together, it’s a recipe for frustration.

To see what was happening, here’s the /var/log/messages output:

Jan  3 15:39:23 notubuntu NetworkManager[1143]: NetworkManager[1143]:  (wl
an0): supplicant interface state: disconnected -> scanning
Jan  3 15:39:24 notubuntu NetworkManager[1143]:  (wlan0): supplicant inter
face state: scanning -> authenticating
Jan  3 15:39:24 notubuntu NetworkManager[1143]: NetworkManager[1143]:  (wl
an0): supplicant interface state: scanning -> authenticating
Jan  3 15:39:24 notubuntu NetworkManager[1143]:  (wlan0): supplicant inter
face state: authenticating -> associating
Jan  3 15:39:24 notubuntu NetworkManager[1143]: NetworkManager[1143]:  (wl
an0): supplicant interface state: authenticating -> associating
Jan  3 15:39:49 notubuntu NetworkManager[1143]:  Activation (wlan0/wireless): association took too long.

After being stranded with no wireless connection in a Wi-Fi-covered room, and left searching for an empty Ethernet port, I’d had enough — GNOME’s bundled NetworkManager had to go.

Enter wicd.

Installing wicd is a simple matter of using your distributions packaging solution.

Once that is done we need to stop NetworkManager and start wicd. Since I am using Fedora for this, the commands are:

# service NetworkManager stop
# service wicd start

Installing the wicd-gtk package gives the UI below to control wicd — you can use only the command line if that’s your sort of thing.

Since NetworkManager will restart by default and interfere with wicd if you restart GNOME, you can, once you are happy with the wicd set-up, make the changes permanent with:

# service NetworkManager disable
# service wicd enable

We could be take it a step further and make sure that NetworkManager will never bother us again by uninstalling it — but I like having it as a backup until I’ve used wicd for a longer period of time with no hiccoughs.

Get IT Tips, news, and reviews delivered directly to your inbox by subscribing to TechRepublic’s free newsletters.

Chris Duckett

About Chris Duckett

Programmer and journalist Chris Duckett is the Editor for TechRepublic Australia.

Chris Duckett

Chris Duckett
Chris started his journalistic adventure in 2006 as the Editor of Builder AU after originally joining the company as a programmer. He left CBS Interactive in 2010 to follow his deep desire to study the snowdrifts and culinary delights of Canada and returned to CBS in 2011 as the Editor of TechRepublic Australia, determined to meld together his programming and journalistic tendencies once and for all.
4
Comments

Join the conversation!

Follow via:
RSS
Email Alert