Ubuntu And WPA

One my last Linux post since my laptop is nearly configured (only ACPI missing :(). To configure on Ubuntu your wifi network with WPA. I have tried a lot of different software and tutorials.

Actually, WiFi support in Ubuntu is far better than Windows. You just need to get the right software. Here is what to do:

  • sudo apt-get install network-manager-gnome
  • sudo gedit /etc/networks/interfaces — Comment out everything but “lo” entries in that file
  • Reboot your system
  • Left-click the network manager icon in Gnome and select your wireless network
  • Follow the prompts for password, type, etc.

I will probably stop here the geeky post series.

Via this blog (I deleted a few steps from his guide).

5 Responses to “Ubuntu And WPA”

  1. wzzrd Says:

    You left out the part about it using wpa_supplicant, which is very important for people using rt2×00 or other chips with built-in wpa. wpa_supplicant doesn’t work on those chips yet. It is a very nice project though :)

  2. Nico Says:

    I didn’t know this. Is wpa_supplicant used by network-manager? It seems not but I am not sure. I have set up this page, since a lot are on various forums and I would like to gather everything so other don’t spend a lot of time making those things work :)

  3. wzzrd Says:

    Afaik you can only use WPA with NetworkManager when using wpa_supplicant. Or, the other way aroudn, when using a wpa_supplicant incompatible driver like rt2500, you cannot use WPA through NetworkManager.

  4. Steve Says:

    @nico: you need to use wpa_supplicant if you want to use WPA

    NetworkManager is exactly what I’ve wanted for my laptop and I can’t wait until all these issues are worked out (doesn’t work with my broadcom card for which I use ndiswrapper) and I can stop fiddling with iwconfig on the command line.

  5. Nico Says:

    About NetworkManager and Broadcom cards: some unofficial patches exist:

    http://mail.gnome.org/archives/networkmanager-list/2004-November/msg00043.html

    http://www.google.fr/search?q=ndiswrapper+network-manager&start=0&ie=utf-8&oe=utf-8&client=firefox&rls=org.mozilla:en-US:unofficial

    If you have managed to solve this issue, I would be interested to know how.