Back to Top

Sunday, March 15, 2009

WPA2 is still hard

321434315_e37ff37dcd_b Some time ago I found out that you have to install some not-so-well-documented updates (which are not delivered automatically by Windows Update) to use WPA2 to encrypt the traffic of your wireless network (and it is advised to use WPA2, since all the prior standards have known weaknesses).

However I was unpleasantly surprised that support for WPA2 on the Linux side (at least from a GUI standpoint) is also lacking. When using Ubuntu 8.10 + network-manager, I was unable to connect to a WPA2 encrypted network (this is not specific to Ubuntu, I had the same experience with Fedora 9 for example). When I entered the (correct) password, it kept saying that the password was incorrect and showing the hashed password.

I found some command-line level workarounds, but finally I settled on using wicd: it is an alternative to network manager, has much more options and has ready-made packages (beginning with Jaunty, it will also be present in the universe repository). It worked flawlessly for me as a network-manager replacement and using it I could connect to the encrypted network.

gui

Do I  expect it to replace network-manger? Not really. It is very much a power-user tool. While it offers much more options than the vanilla network-manager, however it can easily be overwhelming for a beginner user. So there you have it folks: if you are having problems with the network, or simply want to have a more powerful tool for managing it, try out wicd.

PS. An added benefit (for me) is that it doesn’t show the “you are not connected to the network X” popups, which annoy me and are reminiscent of Windows XP.

Picture taken from Darwin Bell's photostream with permission.

3 comments:

  1. You can also try wifi-radar which works great :)

    ReplyDelete
  2. Thanks for the tip! Wifi-radar (I assume this is it: http://wifi-radar.systemimager.org/) certainly looks great, but it only seems to handle wireless connections.

    Wicd (contrary to its name) also has some limited support for wired networking (although I had to fall back to the command line, but this wasn't a problem since configuration of wired interfaces is easier from the command line / I'm more familiar with the tools).

    One thing which network manager has going for it, and I didn't see in either of the alternatives, is the integration with other networking related stuff like PPPoE or OpenVPN.

    ReplyDelete
  3. That's good, thank you.

    I've tried using NM, but found it really annoying - I had a CDMA modem, which I only managed to get working with... wvdial :)

    And after that I was unable to setup the VPN through NM because of its state control - it thought there's no network connection at all!!


    After that, I moved all the network manipulation to the cmdline tools. Used PON for pptp (really cool, automatically restores connection on breaks), and even tried to use iwconfig :) - for week or about this.

    After that, used pon for vpn, wvdial for cdma and wifi-radar for wi-fi. Was happy :)

    ReplyDelete