Debian Admin - Your way to Debian World

October 20, 2006

Enable WPA Wireless access point in Ubuntu Linux

by @ 12:56 pm. Filed under Other Linux

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

I have a Thoshiba laptop at home, I was running “Dapper Drake” (Ubuntu Linux 6.06) But one of the important things about it was its inability to connect to WPA-encrypted Wifi access points.In my home i have a WPA Enabled Wireless router so i need to connect to my wireless network using WPA.I am giving the procedure that worked for me to enable wpa in my toshiba laptop.

Procedure to enable WPA Wireless in Ubuntu

To update the source list run the following command

sudo apt-get

sudo apt-get install wpasupplicant

sudo apt-get install network-manager-gnome network-manager

sudo gedit /etc/network/interfaces

Comment out everything other than “lo” entries in that file and save the file

Create a file called /etc/default/wpasupplicant, add entry ENABLED=0 and save the file

sudo touch /etc/default/wpasupplicant

Reboot your system or use the following command

sudo /etc/init.d/dbus restart

Once you login back in to your machine you need to left-click the network manager icon in Gnome and select your wireless network It should prompts for password, type, etc and It will ask you to choose a password for your new “keyring”.

After enterring all the details my wireless network was connected and working fine you can see in the follwoing screen

My wireless network also detected available wireless access point around my home you can see this in the following screen

If you want to connect an existing wireless point you can see the following popup box asking for details of wireless network

If you want to create a new wireless network you can see the following screen with the available options and after entering all the details you need to click on connect

Possible Error and Solution

If you see the following error

The NetworkManager applet could not find some required resources. It cannot continue.

Solution

sudo gtk-update-icon-cache -f /usr/share/icons/hicolor/

Tags: , , , ,

You may also be interested in...

213 Responses to “Enable WPA Wireless access point in Ubuntu Linux”

  1. zexcon Says:

    Thank you this worked great.

  2. chris Says:

    hi. this was a lifesaver. HOURS wasted on other stuff. question…. how can i configure my ip address to remain static? i use port forwarding, and cant have a new one every time i reboot or switch to wired.

  3. Admin Says:

    If you want to configure static ip address in ubuntu you need to follow this procedure

    open /etc/network/interfaces file and enter your ip address details save the file and restart networking services

    sudo /etc/network/interfaces

    I am giving here an example once you edit the above file you need to enter the details in the following way

    auto eth0
    iface eth0 inet static
    address 192.168.3.90
    gateway 192.168.3.1
    netmask 255.255.255.0
    network 192.168.3.0

    In the above details you can replace address as your ip address,gateway,netmask and network address and save your file.

    Now you need to restart your networking services using the following command

    sudo /etc/init.d/networking restart

    after restarting you can check your new ip address using the following command

    ifconfig

    hope this helps

  4. David Says:

    I don’t see “WPA Personal” under the Wireless Security menu. I have tried many different guides, and followed them exactly. I was hoping this would be the last. Is there a specific reason I am not seeing “WPA Personal.”

  5. LaVache Says:

    You rock! Spent too much time searching and trying other solutions to get my wifi working. After finding this site was up in less than 3 mins! Thanks a million!

    My setup: Edgy Eft (6.10), Centrino (ipw3945)

  6. Steeley Says:

    @ David

    I’m in the same position. After a reboot, only ‘None’ and the WEP options are available.

    Setup: Edgy Eft, Netgear WG311v2 (TI ACX111)

  7. Alex Says:

    Thanks for that. I’d been trying to get my a connection to my wireless router when using WPA-PSK for hours, but this worked straigt away.

  8. Ben Says:

    Thank you!! This worked GREAT and got me connected in seconds with my sad old Linksys WPC54G PCI card. Tried a hundred other things, manual hacking of conf files, this got WPA going right away using DHCP, WPA-PSK to my router.

  9. Ben Says:

    Oh yeah, full setup is: Edgy (6.10), Linksys WPC54G card, D-Link DI634M Router, all running in a Dell Latitude C610. And the card is also happily picking up a dozen other WAPs from my neighbors :)

  10. Pete Says:

    This guide looks quite promising, although I have been having problems so far with network manager in that when I install it, clear down all but the first two lines in /etc/network/interfaces and reboot with my ralink 2400 pcmcia card in the slot, the power light on the card comes on, but when I click on network manager, all i get is a message saying that “no network devices have been found” Any ideas?

  11. Mutt Says:

    Steeley: This is because your open-source driver (acx100) doesn’t support WPA. Not yet anyway. NetworkManager sees this driver and disables any options that aren’t supported; pretty nifty. To use WPA with this card, unfortunately, you’ll have to use a windows driver and ndiswrapper.

  12. matthew Says:

    I am a total newbie w/ Linux, but your instructions got me up and running. Thank you so much. If you do would like some feedback, I would recomened putting in how to create the etc/default/wpasupplicant file. It took me a while to figure out (based on my permisions, but I finally got it.

    THANKS,
    Matt

  13. Joseph Says:

    I followed your instruction, however I still couldn’t get WPA to work. I was able to get my laptop to talk to the router with no security or WEP. However I’ve had no luck with WPA. Seems like everyone else who have posted have had success. What else could I try?

  14. Joseph Says:

    Wait, just to make sure. In the wpasupplicant file, I only need to have:

    ENABLED=0

    Is that correct?

  15. Admin Says:

    yes only that line should be there

  16. Joseph Says:

    That’s what I had. But WPA is not working. What else can I try? To give you more info, I have Atheros 5212 based chip for my wireless card.

  17. Bill Says:

    Can I change MTU size if using networkmanager?

    With everything commented out in /etc/network/interfaces, is there any way to change MTU for the wireless interface? It seems to have defaulted to 1500 (looking at it with ifconfig).

  18. Paul Says:

    Hi - thanks for the comprehensive instructions. Unfortunately, I’m a real newbie, and can’t even get NetworkManager to run :( . I’ve tried installing it through apt-get AND Synaptic. It says the current version is already loaded, but a simple nm-applet gets no response from the screen, no icon. Am I doing something stupid here? (Sony Vaio PCG-18XG, 256, 16GB, ubuntu 6.10, DWL-G630 working on home wlan). I’d really appreciate your help. Thanks again.

  19. SnoopLinux Says:

    Do any of you guys know how to setup wireless for Fedora?

    I have a wireless card and it reads it cause it shows it in the Network Configuration Hardware tab as a Configure status, but when i go to add new wireless device, is not listed.

    any reason for this?
    i’m a newbie as well.

  20. Brent Says:

    This article is amazing. When NetworkManager says “Create New Wireless Network”, is it referring to a creating an access point? If so, does anyone have any more info on creating an access point utilizing current Wireless card. Thanks

  21. Jargon Says:

    Nice! Wanted to use WPA Personal since Breezy.. :D
    I’ve got another question. I’ve tried to connect to some of my friends pc’s (when we come together for an evening or so to share files etc..) but their using Adhoc (since no one has and Access Point) and Linux (Ubuntu and Kubuntu) doesn’t seem to want to connect to an Adhoc network (or PC) .. Btw, I’m using Edgy Eft.

  22. Adam Says:

    I have a Netgear WG511. It uses the native prism54 driver. So far unencrypted wireless and WEP seem to work, but WPA does not see to be supported as it’s not an option in the network manager. Should I use the ndiswrapper with Netgear’s drivers?

  23. Admin Says:

    @brent

    If you want to create a wireless access point you need configure in your router then you can access from your laptop or anyother place.If you have braded wireless router check their documentation how to create wireless access point

  24. Admin Says:

    @Adam

    yes you need to use ndiswrapper with Netgear’s drivers

  25. Björn Seifert Says:

    Thank you, searched for this a long time!!
    Will try it this weekend. :-)

  26. Poromenos Says:

    Why do I comment out everything except “lo” interfaces? I still want my ethernet to work, and I’m not sure that this won’t make it not load, so why? :P

  27. joel Says:

    so many thanks to clear this out

  28. Styles Says:

    I did not do it your way, I added a wpa_supplicant.conf file and put the relevant network information in that file. And I still have issues connecting to wpa hidden AP’s. I also have to delete .gconf/system/networking/wireless/networks/APNAME then try and connect which sometimes works. adding ap_scan=2 sometimes helps as well.

    Any thoughts?

  29. Rob Says:

    Would this also work with KDE (using Knetworkmanager)?

  30. Roy Says:

    I can’t get wpasupplicant to install. I get the error: “Depends: libdbus-1-2 (>= 0.62) but 0.60-6ubuntu8 is to be installed” :( Any ideas?

  31. jan Says:

    Hi!!
    Great you are a genius!! I just followed your instructions and it worked instantly.

    Cheers

  32. Wouter Says:

    Hello,

    Fantastic! After days of struggling with this issue on my Acer Travelmate 2312LMI with an Atheros Wi-Fi card, you’re sollution made it work pico bello, including WAP and AES on my Linksys WRT54GS router. I’m glad I didn’t have to start using ndiswrapper and some W$ driver.

    Thank you very very much.

    PS: To Roy: Yes, I use this solution on Kubuntu with KDE and KNetworkmanager!

  33. Wouter Says:

    Whoops. My PS was of course ment for Rob.

  34. Migalicious Says:

    Hi, I tried this a few weeks ago and it worked perfectly when I was at my apt, but since I changed locations I tried to set up a different ssid, however, even if I put in the correct ssid and key (or select the ssid from the list), it won’t connect. It’ll go through the animation for a few seconds, then it sometimes shows the signal bars, and then reverts to no connection. Any ideas?

  35. Migalicious Says:

    I figured out what the problem was. wpasupplicant had been updated to the trevino/3v1n0 version which caused it to break.

  36. yannis Says:

    Okkkkk, I have some questions to make. First of all I can’t install the network-manager-gnome. It says that it couldn’t locate or something like that. I tried with the ubuntu CD but still the same problem. What’s wrong with that? And the newbie-questions: how do I comment out these lines? By placing # in the beggining? And in the end I leave only a few lines uncommented(as far as I remember)? How do I create a file? With sudo touch? I have the 6.06 ubuntu and a WGT511T Netgear wireless card(it’s on a HP Compaq nc6320 laptop). It’s been one week that I’m trying lots of things and nothing works. I don’t know much from linux, the how to for wpa on ubuntu help is complicated and so I need help. Please answer if you can. Thanks in advance

  37. Jason Sares Says:

    This worked great! Much better than the other guides! Thanks!!! BTW Edgy Eft System

  38. Mark Says:

    I followed the instructions exactly. I am able to detect networks now but I can’t connect with any of them. I can input the key but nothing happens. It keeps prompting me for the network key after a few seconds of trying to connect. I am running a HP Pavilion dv5000 laptop with Broadcom wireless card and Edgy Eft. What am I missing?

  39. mumtaz Says:

    It worked for me as well, Ubuntu6.10/T60. The wireless connection is establishing but I cannot browse anysite.

  40. Alex Says:

    Is ist not necessary to create a /etc/wpa_supplicant/wpa_supplicant.conf file and fill it with network=… info?

  41. Rakesh Says:

    I really want to use WPA, simply because it provides better security than WEP. However, as I read from Mutt that the open source driver acx100 does not support WPA. Does anyone know if there is any ongoing work to fix/enhance this driver to support WPA. If so, more details would be appreciated.

  42. Brad Says:

    To Rob with the KDE question. It works perfectly with knetworkmanager. Simply change the “gedit” command to “kwrite”. It worked perfectly for me. I had been using wlassistant, and it could only connect via WEP. I am soooo happy with this method. I have been wanting to migrate over to Linux permanently for awhile, and the problems with wireless have held me back. NO MORE!!!!

  43. Brad Says:

    Yannis, you have to make sure you have the proper repositories enabled.

  44. Peter Says:

    I also use Edgy with Centrino (ipw3945), my card is a Intel® PRO/Wireless 3945ABG (Broadcom) on an HP nx9420 laptop, getting Wifi to work was a piece of cake with this setup, but getting WPA to work is not happening and let me tell you I have tried EVERYTHING! including this, in-fact I spent nearly a whole week on it. I need to configure PSK-AES encryption (if anyone can help), there must be a way… Intel lists AES as supported by the card, and on the same spec laptop on XP it took about a minute to configure.

  45. martin Says:

    Thanks appreciated worked flawlessly with edgy eft and a linksys wmp55ag pci adapter :)

  46. chokfulla Says:

    Dude, you are the mother-grabbin’ MAN!! I worked all day long trying get this thing going with all of the tutorials from the ubuntu forums to no avail. When I read this, I was skeptical at first (because I’d tried for so long already) but I figured I’d give it a shot. Worked perfectly!! Dell Inspiron 8500, WPC54G v1.2 Ubuntu 6.10 Edgy Eft. Please make this available on the Ubuntu Forums if it isn’t already. Thanks.

  47. chokfulla Says:

    Brother, is it possible to make this persistent after a reboot? If so, how?

  48. nkwai Says:

    Hi!
    Finally a guide that works, and it works great. Thank You very much.
    p.s. You should include the thing on the static ip in the guide too.

  49. andrej Says:

    i’m having troubles with network-manager-gnome. “sudo apt-get install network-manager-gnome network-manager” returns Couldn’t find package network-manager-gnome. PLEASE HELP!!

  50. campfredy Says:

    Bonzer burger, An excellent guide to an excellent little application.

  51. Frobotz Says:

    This worked really well, but then I lost my wired connection. Any way to have both? (I’m new obviously). Curious as to why it’s not in the distro in the first place… Thanks again

  52. SAGAR Says:

    I am very new to Linux. If u don’t mind can u please tell me how to create the /etc/default/wpasupplicant file

  53. Admin Says:

    open your terminal or command prompt run the follolwing command

    touch /etc/default/wpasupplicant

  54. SAGAR Says:

    I have created the wpasupplicant file. But when i am editing it, it is telling i don’t have permissions. But with the same user name, i am doing every thing.(Wireless in Ubuntu 6.10)

  55. dellaere Says:

    WPA is still not working. There is a log or a way to connect via command line to get some feedback? Right now the net is found, I put the wpa key and after a few seconds the nmapplet says “no network connection”.

  56. chen Says:

    It works fine for my Ubuntu 6.06/T60. Thank you very much!

  57. thePervertedMonk Says:

    Thanks for the post.

    Interestingly (very expectedly), I’m experiencing the same issues as a couple of persons here.

    1: I’ve never been able to get this card to successfully authenticate to my wireless network, with WPA enabled, using Ubuntu.

    2: I’ve read and tested the scores of other tutorials and directions out there, to no avail.

    3: I’ve tried this card in several different machines running Ubuntu, from Breezy up to Eft… no luck.

    4. This (appears to be) is the closest I’ve come so far to seeing this card, recognized properly/ fully by Ubuntu (I’m currently running: Edgy Eft, on a Sony Vaio PCG-GR370.

    Currently, the Network Manager shows as expected, I enter my wireless network details, connection attempt is made, but no go, it apparently just times out.

    Of note: something that may also be causing my problems is the fact that I’m using two Airport base stations: an Airport Express and an Airport Extreme, coupled in WDS mode.
    But I’m pretty sure on previous tries, disabling those features and just using one or the other of the base stations, didn’t yeild any better results.

    Any one with any suggestions, feel free to let me know.

    Cheers.

  58. Kalivos Says:

    WONDERFUL! I have been trying to get my wireless card to work on Ubuntu for a good two weeks. I followed the directions and now have a working wireless card on linux :)

    I thank you, and my laptop thanks you.
    THANK YOU, THANK YOU, THANK YOU!

  59. Martin Says:

    Hi,

    I have been trying configure wireless on my laptop using Ubuntu Edgy for the past one week but just couldn’t get it working. I did not install Ubuntu on my laptop as its running out of space, so I am running the Live CD. Wonder how can I get it the wireless working ? Thanks for your advice.

  60. Ben Grant Says:

    I install network manager and this icon is no where to be found at all. I have full connection to my wireless internet with full bars but it just says “network not configured” and I can’t access anything. So annoying - I’m about to dump linux and go back to windows. I have had linux for 6 months, one day had to connect to a specific network, so I typed in its name and password. Then I was done with the network so I erased that and went back to my dorm room and now all my old internet connections no longer work. And no one replies to any help request about it anymore. So frustrating

  61. Edgars Says:

    Excellent! Brilliant! Superb! Yet I use dapper, this tutorial was a lifesaver after hours of f**king around other distros.

  62. Kevin Says:

    Ben, I’m having the same problem (but I’m not giving up on Linux…)
    I installed Network Manager and have rebooted multiple times, but I am not seeing the bars icon like is shown on this site. I am running Edgy Eft, is that the problem? Any help would be appreciated…

  63. Kevin Says:

    Actually, I found out my problem. If you have a wired connection, the network manager icon looks like the standard two computer monitors, pretty much just like the other network icon. I was able to click it, choose my wireless network, and continue from there.

  64. Michael Says:

    Good morning folks;

    I have tried everthing on the recommendations and I still do not have my wirless connecting.

    Here is my set up.

    Asus laptop with bulit in Intel Wireless Pro 2200BG.
    Linksys WRT54G with WPA-TKIP enabled
    Ubuntu 6.10 (Edgy Eft).
    The OS see the device via LSHW and it is on logical eth1

    I can not get the Network Manager to even allow me to select WPA. The options I get are Hex and Plain Ascii.

    I have got all the latest WPA packages. I have created a WPASupplicant file.conf file with the recommended entries.

    I have of course hardwire access but would like to be unchained from that.

    Anyone got any more recomendations besides goin gback to XP?

    Regards,

    Michael

  65. David Says:

    I tried this and it worked great! That is, until it came time to connect to the network. I cannot connect! it asks for the passkey, and it will only let me use the WEP 128 bit Passkey encryption. How do i use WPA-Personal? i have a linksys WPC45g card, it detects the network. But it cant connect. all help is appreciated.

  66. OsvaL Says:

    I’m a totally newbie, so, for everyone overthere, thinks I had to learn before:
    To comment out something you need to add this sign “#” in front of the line you want to comment. Example:
    # This line I want to comment.
    Other thing I learned was to find the NetworkManager, in order to launch the NetworkManager you have to open a terminal and write this down: nm-applet
    You will see a little computer in the top of the right corner of the menu. You will also need to add this command “nm-applet” in System> Preferences> Sessions> Startup Program in order to launch the NetworkManager on the Startup.
    What I didn’t figure it out yet is how to start my computer and connect to my wireless network automatically without having to enter my password everytime I log in.

  67. Chris Says:

    This is working great for me. The only minor annoyance is that it takes longer to boot up because it has to time out trying to connect at boot-up time (before I log in and enter my keyring password). Is there any way to make it give up faster trying to connect via dhcp at start-up time (it is obviously going to fail until after I log in and enter my keyring password)?

    Thanks again for the great instructions.

  68. darksource Says:

    CTRL+C

  69. Reiner Says:

    This is the first instruction that works!! I’ve looked for that over six month and I tried different other instructions. But this one is great!! In about 10 minutes my IBM T23 was wlan-online! Thank you for this information.

    Die erste Beschreibung, die wirklich problemlos funktioniert! Habe lange danach gesucht und vieles ausprobiert. Mit dieser hier war ich innerhalb von 10 Minuten im Netz.

  70. frost Says:

    My router wasn’t broadcasting its SSID and it wasn’t able to connect, but once I started broadcasting again it worked fine.

  71. Nick Says:

    Thank You very much Admin!!
    I now have wireless working using an intel 3945ABG card on a dell inspiron 6400 with edgy. Seems like without all those entries in the interfaces file and wpasupplicant files for eth0 eth1 etc it allows network manager to do its thing.
    Previously I tried following the wiki ubuntu edgy starter guide and it mentions other networks and the keyring with network manager, but it didnt include the details you had, and it didnt work.
    This solution needs to be made more widely known.
    It will save a lot of people a lot of trouble.
    Regards
    Nick

  72. JoeFree Says:

    Admin, uou are the balls! As a Linux newbie, I was getting frustrated with the difficulty in trying to get WPA recognized - this worked like a charm the first time. Like others have commented, other methods have not worked. I’m running a Toshiba M105-S3004 with Intel 3945ABG card (this is a very common card) and Ubuntu 6.10.

  73. peter Says:

    Thank you very much, this is the ideal solution and it worked like a charm on my girlfriends Toshiba laptop.

    Thanks again!

  74. Dave Kirkey Says:

    Thanks for the outstanding information. It worked like a charm. Is there a way to set it up so that I don’t have to enter to wpa key each time?

  75. Simon Says:

    wonder if this will work with WPA and WPA2 and with TKIP and AES encryption.

    What about wifi networks that require you a certificate (such as campus networks)?

  76. odysseus Says:

    i have kubuntu 6.10 and cannot connect using wifi open access. i used the wifi assistant.i m newbie in gnu/linux

  77. Bernard Says:

    I’m struggling!
    I am running edgy on an ibm x24 thinkpad and trying to connect with a RaLink RT2500 card. I have followed the guide on a fresh install but it still won’t let me select WPA under the security tab though it detects the network.
    Could someone please help?
    what exactly should be in the /etc/network/interfaces file?
    do I need to manually set up a wpa_supplicant.conf file?

    Regards

  78. Sogra Says:

    This all seems to work, except I am unable to click on the connect button, I see the connections I clcik on them I put in my wpa details, but the connect button, is unclickable!!!!!! Whats going on? No one else here seems to have had this problem, is it something simple. I have the same problem with KWiFimanager, I can see them but I am unable to connect to them, and in wifi-radar sama again, I can see but I cant touch (in wifi-radar it pretends to connect, but doesnt. I dont understand and I cant find any infomation any where to help me out

  79. MichaelK Says:

    Does anyone know how to modify the options that get called for wpa_supplicant? Using the nm-applet calls it with -dd -g [global_interface]. The problem is that this interface uses (I think) ipw2200. When I try to connect to the wireless network at school, it fails. So I disable wireless in the nm-applet, then manually do sudo wpa_supplicant -D wext -i eth1 -c /etc/wpa_supplicant.conf. The key difference is that I can only get a connection here using wext. Anybody got a clue how to fix this?

  80. David Says:

    I am on a dell inspiron 8600 with an internal network card, and this tutorial seemed to be what I needed to get wpa working right. But I can’t even get to the network manager, once it’s installed. Any help? Fresh install of Ubuntu Edgy, by the way.

  81. Howard Says:

    Thank you - thanks to these clear instructions I didn’t have to waste any time at all.

  82. Luke Says:

    My netnwork manager is telling me “Please contact your system administrator to resolve the following problem:

    SIOCGIFFLAGS error: No such device”

  83. Luke Says:

    Nevermind… I’m just an idiot. You’re awesome… this worked like a charm!!

  84. Andres Says:

    As with many of the other comments… I lost so much time trying to set this up, and now it works… THANKS A LOT!

  85. Akira Says:

    Thanks for the wonderful instructions! I was able to get to a point where I can ping google with DLINK DWL-G510 with WPA (Ubuntu 6.10). However, firefox still cannot connect to the internet. I went to the Networking tool that came with Ubuntu 6.10 and re-activated my network there and I briefly got the internet via firefox, but then it stopped working gradually (slower.. slower… then none). Any idea what’s going on (seems like there’s some sort of conflict)?

    Thanks!

  86. Neil Says:

    Network Manager doesn’t want me to connect to any wireless networks. I’m running Dapper on a Toshiba TE2100, with a D-Link DWL-G650+. Using the native Network setting tools, I can connect to my home network, whether I use WEP ascii, hex, passkey, or no security (haven’t bothered trying WPA yet). When I switch to Network Manager (with all the appropriate settings), it recognises the network, and I can try to connect, but it won’t get there. With no security, it stalls on “Atempting to join the wireless network ‘xyz’”. With WEP enabled, I get a “Waiting for the Network Key for the wireless network ‘xyz’”, and not much more. If at any time I switch back to the original network settings setup, all is fine and usable.

    Anyone had any luck with this scenario, or have any possible suggestions?

  87. Michel Says:

    Hi,

    Two days ago I installed Linux Ubuntu on my Dell Laptop.

    Everything is going all right except the Wireless connection.

    I can see the wireless card I activate it but it cannot detect any network.

    I just read your comment and I thank you for it.

    As I just start with Linux (I start from scratch !), could you explain me how do I have to do to start to update the source list run as you mention here ?

    Does it also work with the last version of Linux Ubuntu ?

    Thanks A Lot

  88. David Says:

    Hey,

    Thanks for this- I installed Edgy on Wednesday - had WEP working out of the box, but WPA was a hassle!! Searched EVERYWHERE for answers, and ended up screwing the system so much that the wireless card disappeared.

    I found your instructions this morning, and reinstalled Edgy. You should definitely forward these to Ubuntu, somehow.

    I was up and running with WPA in minutes!!!

    Thanks again!

  89. Glenn Says:

    Hey.

    I run Ubuntu 6.10 (Edgy Eft) exclusively on a Dell Inspiron 5100 laptop. I discovered that my hardware (USB Wireless Adapter) (http://www.flashcards.co.nz/catalog/product_info.php?cPath=66&products_id=296), which apparently supports WPA, but after using parts of the info you’ve provided I am happily up and running using WEP. Perhaps I was using the wrong driver… Anywho, network-manager-gnome & network-manager were not required in the end. Thanks for the info you provided. It was most helpful. Cheers.

  90. Mask Maker Says:

    I have only one problem with this. On my desktop computer I have Canyon USB stick with zd1211 chip. First time I installed it with wep encription and everything worked well. But now suddenly my wireless device changed name into eth1 (before wlan0) and network manager don’t recognize wireless network adapter. I need it because I use WAP-AES protection on router. Thank you very much for any reply.

  91. tgmaster Says:

    Many thx. Now it works with WPA2 (before only WPA)
    Intel Pro Wireless Lan 2100 3B mini pci adapter and kubuntu 6.10
    But how can I safe my key?

  92. Aaargh Says:

    Great you got WPA working. I followed your instruction to the letter but I seem to have a very stupid problem: I can’t find the “network-manager icon”. Where should this icon be located?

  93. Admin Says:

    icon located next to time display in system panel

  94. exxer Says:

    I did follow step by step this and i was able to get my wireless manager working. It did actually find my home netrwork but i wasn’t able to create WEB key between my laptop and basestation.

    So I did playing around and trying to get my WEB key working. I change settings and tryed different setup from UI. I also bootup system couple times and after this my wireless network didn’t work anymore at all. I found out that reason behind this was that some module in this ubuntu 6.10 is rewriting /etc/internet/interfaces file and added there extra lines for eth1 (wlan in mycase) after removing that line and leaving only lo setup there + restarting my comp everything seem to be working well with my T43.

    Many thanks for creator for this how to!

  95. orian Says:

    Hi

    I use two notebooks at home both of which I connect to the internet via a Linksys wireless router. Upon booting, neither notebook connects but the icon (the blue bar graph) shows that I’m connected. To connect, I must disconnect then reconnect by clicking on Network Manager and selecting my wireless network. After this I connect without a problem. I’m using edgyd with gnome network manager.
    Why does it not connect upon booting and what must I do to enable this? Is there a way to connect without having to use a password each time?

    Thanks

    orian

    Thanks
    orian

  96. John Says:

    WOW!!! I hafta do all of this incomprehensible stuff to get on my home wireless network? Oh, well, back to Windows.

    Someday, Linux may be ready for the real world.

  97. Robert Says:

    This worked without a hitch. I’ve spent hours looking for something this simple. Ubuntu now replaces what was one a Window XP installation and with this wireless fix i’m well on my way to now having to buy Vista. Thanks.

  98. Randincarolina Says:

    Followed this how-to. My Sony VAIO VGN-FS630/W now works on my Linksys speedbooster router….FINALLY.

  99. Patrick Says:

    Hello. I used this to scan for available networks for my USB Wifi stick:

    “iwlist rausb0 scan”

    Thanks for the great guide! :)

  100. Jamie Says:

    My gratitude cannot be understated! This is the most user-friendly, simple and straightforward guide to setting up WPA2 wireless access that I’ve come across! Furthermore, it not only got me connected but pointing me to network-manager makes switching networks extremely easy. I think I’m about as excited at this moment as I would be if the Redskins were to (finally) make it to the Super Bowl.

  101. Schlarg Says:

    Yes! Finally got my Latitude D600 Ubuntucized with wireless that works. Thanks for posting this.

  102. AAJ Says:

    it is works finally.

    Many Thanks,

  103. George Says:

    Do you need to comment (#) all the lines except the first two that have lo entries? I have done this and when i reboot i can only get a wired connection working with the network manager, no wireless. Any ideas?

    thanks,
    George

  104. Tintinnabulation Says:

    I connected fine but firefox wasn’t working until undertaking the following suggestion :
    Firefox specific
    In the address bar type about:config.
    Find this line network.dns.disableIPv6 and double click on it to change the value to true.

  105. JT Says:

    As a former W$ user Ive waited for months for someone to finally get Ubuntu to use WPA. I now have Ubuntu 6.10 loaded and got it running WPA thanks to the above tutorial but after shutting down the system, the next time I log on, Network Mgr would have its icon on the top right but No wireless as if WPA disappeared.Since Im a linux newbie can anyone shed some light on this situation? BTW inputing the above sequence would result in the same condition.Thanks

  106. Robert April Says:

    My old Dell INSPIRON 7500 is out of mothballs and running with WPA enabled thanks to this site. I spent 2 days trying to get it running with no luck. If I run into any related problems I will be sure to visit this site BEFORE I spend a week searching for answers on google.

    Thanks Admin!

  107. zoor Says:

    Perfekt! Worked fine. I’ve try’ed and not managed to get it right, until now. Thank you!

  108. Ljoslin Says:

    Thanks, this is just what I was looking for and works perfect! Now is only Beryl will start working! :)

  109. Matjaz Says:

    Hi,
    Belkin 54g router with WPA-PSK,
    Siemens/Fujitsu Lifebook C1110 with 2200BG,
    Ubuntu 6.06, fresh with updates,
    Followed the instructions to the letter, I get the passphrase dialog, then animation starts, and times out, asking once more. After that, fallback to wired.
    It’s not clear to me, should I try the firmware thing or not?
    thanks,M.

  110. Envirotech Says:

    I fought for 3 days on this and your instructions worked like a charm. Thank you very much for this how-to. :) I did not use it for WPA but i saw it had all the encryptions available so i used it for WEP and I worked beautifully for me. Thanks E.

  111. sebastian Says:

    why the hell does this not work out of the box? i thought it’s linux for human beings….
    you can’t require a normal joe to go through all this….

  112. dmeon Says:

    thanks man! works like a charm!

  113. Joe Banks Says:

    This worked on Ubuntu Edgy, on Compaq 5000, Netgear WPN311 PCI Adapter, attached via WPA-PSK to Netgear WPN824v2 Router. Thanks for the timesavings! You win a prize!

  114. Joe Banks Says:

    Add to the above post, assistance via this link: http://article.gmane.org/gmane.linux.drivers.madwifi.user/12131

  115. Ubuntu Says:

    wow, i’ve been using linux for a while now and have never been able to get ubuntu to connect to my wireless router until now. i had basically given up and just connected it to the ethernet cord but thats all changed today. i did exaclty what you said and it worked like a charm. you are truely my hero.

  116. gabriel Says:

    NOTE: If you get stuck on step three where you cannot install the network-manager-gnome, try running this command first.

    “sudo apt-get update”

    Then run “sudo apt-get install network-mang….blah blah blah”

  117. joe Says:

    had a prob for a bit but got it working in the end. It didnt seem to work if the network name was hidden, but when it was revealed on the router settings it worked!

  118. Deep Sea Thoughts Says:

    Le gaspe, working Linux wireless?!…

    Thanks to the help of my good friend Mereo, I’ve gotten my wireless card working spotlessly in Ubuntu Linux. Now to see if I can get it working in another distribution - I really don’t like Ubuntu all that much, even if Foresight also uses Gnome :P

  119. kito Says:

    I’m stuck on step three. I’ve got this message: Couldn’t find package network-manager-gnome
    And I’ve already tried what Gabriel says at comment 116.

    Please help me!

  120. pingpongboss Says:

    wow!!!!! I’ve tried about 100 other guides, involving editing all the config files and such. I commented out everything other than “lo” entries in that file, like you said to do, and rebooted the system. Everything is working magically now. (i forgot to make the /etc/default/wpasupplicant file cause i rebooted too quickly, but it still works). Incredible! i wish everything was this easy

  121. Stein Says:

    Thank you so much! I’ve tried to get this working for a week. This did the trick, no problem what so ever!

  122. Mikel Says:

    Does not work with the wireless Sitecom router WL-143
    No wireless networks will be detected.
    The only device which works with this router is my HP iPAQ.

  123. bunburry Says:

    Could someone explain what is meant by: “Comment out everything other than “lo” entries in that file and save the file”

    Does it mean “erase” or “delete”. I’m stuck waching a nice text editing programme with the following lines:

    auto lo
    iface lo inet loopback

    iface eth0 inet dhcp

    iface eth1 inet dhcp
    wireless-essid bunburry
    wireless-key s://dwaszlafrokiCezaregoiMariusza=+pranie

    auto eth2
    iface eth2 inet dhcp

    auto ath0
    iface ath0 inet dhcp

    auto wlan0
    iface wlan0 inet dhcp

    auto eth0

    …….and have absolutely no idea what next.
    Could anyone help?

  124. robert Says:

    My goal is to connect to a WPA secured network. I am running Ubuntu 6.10 on an IBM Thinkpad T40p. Built-in wireless is disabled in BIOS, I use a D-Link DWL-G650M PCMCIA card instead. The card works fine using the XP drivers under Linuxant. I have no problems connecting to an open network after manually configuring the ESSID and IP info. To get WPA support, I installed NM by : “sudo apt-get install network-manager-gnome”. The command completed successfully. Then I edited the “interfaces” commenting out everything except the “Io” statements. However, even after several reboots, still no sign of NM.

    Synaptic tells me that network-manager and network-manager-gnome are installed, v 0.6.3.2ubuntu6. The nm-applet is listed in the Start-up Programs list.

    When “killall NetworkManager && NetworkManager –no-daemon” (as suggested in another thread)

    root_at_Frodo:/home/rer# killall NetworkManager && NetworkManager –no-daemon
    NetworkManager: starting…
    NetworkManager: nm_dbus_init (): nm_dbus_init (): could not acquire hte NetworkManager service as it is already taken (ret-3). Is the daemon already running?
    NetworkManager: [1172619287.397157] main (): nm_dbus_init () failed, exiting. Either dbus is not running, or NetworkManager dbus security policy was not loaded.
    NetworkManager: traceback:
    NetworkManager: NetworkManager(main+0×47f) [0×80681af]
    NetworkManager: /lib/tls/1686/cmov/libc.so.6(__libc_start_main+0xdc) [0xb7c2f8cc]:
    NetworkManager: [117261947.586695] nm_print_open_socks (): Open Socket List Done.
    NetworkManager: NetworkManager [0×80530a1]
    Trace/breakpoint trap (core dumped)

    Any idea what could prevent NM from running, what am I missing?

  125. _fool Says:

    After plowing through all entries on ubuntuforums.org I thought I’d never get my ipw3945 wireless running. But this worked like a charm, tnx!

  126. Alan Says:

    Excellent. I had given up on ever getting WPA working with ipw3945 on a Dell laptop using Ubuntu 6.10. And now it’s working perfectly

  127. Nikos K. Says:

    Thanks a lot, for this easy to use instructions. I wonder why all this guys searching and writing tons of code didn’t know that.

    I was searching 1 month now and nothing work for me and WPA Encryption Protocol.

    But now with your instructions everything just fine. Just one thing, that maybe concerns someone is that you have to change your AP channel to a discoverable channel from your wireless card. I also have Vista and had the channel 13 (i live in Greece) and didn’t show anything in my AP Lists in ubuntu network manager. When i change in channel 11 everything went perfect.

    I am very very new in Linux, and i try everything by searching in forums. Your are in my Best list now….

    Thanks a lot.

  128. Serge Says:

    This worked a treat, thanks heaps mate!

    Compaq Presario 2200 with 2200BG Intel Wireless adapter
    Running Ubuntu 6.06

    Much appreciated.

  129. Dasher Says:

    This was seamless!!!My windows dual boot partition has inched closer to the trash bin…!!!

    Thanks….!!!!!!!!!!!!!!!!

  130. Fitzcarraldo Says:

    @Admin,

    Thank you very much for posting your How To.

    Network Manager, Network Manager Gnome and wpa-supplicant were already installed on my notebook PC (must have been by default, as I didn’t do it) and the Network Manager icon was already showing on the toolbar alongside the Network Monitor icon. So I just followed your instructions from “sudo gedit /etc/network/interfaces” onwards.

    I have a Linksys WPC54G (EU) v7.1 notebook adapter and it worked first time using your procedure. I am now surfing the Net wirelessly using Dapper Drake 6.06 LTS ubuntu and WPA-Personal with PSK and TKIP. Previously I was accessing the Net by using a Belkin wired Ethernet card in the notebook. I just had to unplug the Ethernet cable for wireless network access to start-up.

    Thanks again!

  131. Frank Shepherd Says:

    You ROCK. Thanks for the strong contribution.
    …Community.

  132. Vortigaunt Says:

    So close!! I’m running Kubuntu 6.10 on a HP nx6325. I use WPA. I ran this guide and now my network is showing up in knetworkmanager, but when connecting it fails at 28%. Does anybody have any idea how to solve this problem?

  133. Colin Says:

    Gold, Jerry.

    Thanks

  134. bleh Says:

    thanks =)

  135. Diazepam Says:

    COMMAND LINE WPA?
    Hey GUI is great and I use it everyday - but does anyone have a “how to’ that shows you how to use WPA via the command line (i.e. wpa_cli) Using a GUI is great but using the command line is makes me feel all warm and fuzzy inside! =)

  136. zobojoe Says:

    Finally, finally - after days of trying everything on Ubuntu sites I have done it with your help - you are a absolute total star !!!

    Thank you so much !

  137. Mamat Cyber Says:

    As per the WPA setting on Kubuntu, select Personal WPA [unless your’re on Enterprise WPA] and carefully type-in the paraphrase. Had mine successfully set-up and connected! Thanks a bunch!

  138. BGarrett Says:

    Hey, very awesome, thank you very much. I’ve tried this before on my Toshiba M40x, and I ran into problems, but after trying it again it seems to work just as you described. I must have done something wrong by accident the first time around.

  139. RLozano Says:

    Excellent HOWTO! Easy to follow. I got my old Toshiba Satellite 2405 working right away with a Netgear WG511T and WPA on Edgy.

  140. new-one Says:

    Hello all,

    I am a kubundu user. (edgy)
    I a new at the area and I cannot see how I can configure my Intel PRO/Wireless 3945ABG.

    lspci shows that the card is found, but iwconfig shows

    lo no wireless extensions.
    eth0 no wireless extensions.
    sit0 no wireless extensions.

    wlassistant is failing with error “No usable wireless devices found”.
    The steps you have proposed did not work.
    Any ideas?
    Thanks

  141. Neon Says:

    I spent hours and hours chasing my tail getting WPA to work. I had installed the network manager also. Just thanks, massive thanks. All seems well now.

  142. p1mp Says:

    Worked perfectly. Got me up and running WPA in minutes. I have 1 small problem. It seems about every 3-5 minutes the wireless disconnects for a few seconds. Its like the connection timeouts and has to reconnect. Any suggestions???

  143. Veneno Says:

    This is great, but i have a problem recibing an ip direction with dhcp

    I’ve a network OPEN-WEP

  144. Tsoski Says:

    Iv got a problem in that i can connect sucessfuly to the next flats network but i can get a connection to my own, network manager isnt showing and connections just a grey’d out “Wired Network”. Any ideas?

  145. Dimitris.C. Says:

    In the past I remember that I was trying to connect on my WPA protected Wi-Fi netowrk with no success.
    Yesterday I upgraded to Ubuntu v6.06 LTS, today I found this great site with my first search in Google.

    I followed your guide (step-by-step) and I connected to my WPA network in 5 minutes!

    This tutorial is a lifesaver (it’s already a bookmark)!!!

    p.s. thanks for your effort.

  146. Garryk Says:

    I previously had this going well using these excellent instructions. But recently my router died (Linksys WAG54G v2) and I had it replaced. After setting up the new router with the same SSID, but with a slightly different encryption key, I could not get it working, nor could I figure out how to change the key.
    Turns out that I forgot that my password was stored in my ‘Keyring’. The solution was to go into Keyring Manager (System/Administration/Key Ring Manager) and delete the existing passphrase for my old wireless network AP. Then, next time I tried to connect wirellessly, I was prompted for the new security configuration and soon everything worked again!
    FWIW, I am using Asus laptop with built in Intel Wireless Pro 2200BG.
    Linksys WAG54G v3 with WPA/PSK-TKIP enabled under Ubuntu 6.10 (Edgy Eft).

  147. Martyn Says:

    Have installed as above and can see a choice of networks including my own.I click on mine and I’m asked for a passphrase.The cipher suite on my router says “TKIP+AES(WPA/WPA2) I know my router password but should i use WPA Personal or WPA Personal? TKIP or AES-CCMP? I think I’ve tried all combinations with no sucess.

  148. Martyn Says:

    Thought I’d try to connect again so turned on laptop and network manager only reports my wired connection. Just like before i done the above typing .Redone the above rebooted but it is still not there.

  149. Eva Says:

    I have been trying to get my wireless working for days on end,
    this seems to work for most ppl so I`d like to give it a try but I dont really understand the instructions, I opened up
    a terminal and typed
    sudo apt-get
    then I got asked for a passwork, what pwd? Im so confused! Are thses commands supposed to be in a file? what do i comment out?
    Isn`t there any place I cant get help that is aimed a someone who
    has absoloutly no idea what the hell they are doing, ie. first time linux users?

  150. Mike Says:

    Hi. I have a fairly new install (3 weeks) of Ubuntu 6.10 with the latest updates. I was using a borrowed Broadcom based card
    using ndiswrapper. Last week I installed a Netgear WG511T using the MadWiFi drivers from the restricted modules 2.6.17-11-generic.
    I have no problem connecting with WEP, but cannot get it to work with WPA. I found this page and followed the instructions, but
    unfortunately I still can’t get a WPA connection. It recognizes that the router is running WPA personal. I enter the correct
    passphrase, see the Network Manager trying to connect, then I’m prompted for the passphrase again. I noticed that I do not have
    a wpa_supplicant.conf in /etc. Could this be the problem? I’m a n00b at Linux, but have no fear of the command line or configuration
    files so if anyone can point me in the right direction I’d appreciate it. Thanks.

  151. Kyle Says:

    Thanks, great info. Tried multiple other ways of configuring my connection and your walk through was not only the easiest but the most successful. Thanks again!

  152. chilla Says:

    thanks from me too. without this i was off on a wild goose chase! worked flawlessly with ubuntu 6.10 and looks very similar to what they have in their beta 7.04; so looks like it will be in the next release by default which is good news!

  153. NBadawy Says:

    Thanks for the post, it worked fine, but i have a problem……

    i accidentally removed the network manager icon from the Panel and i don’t know how to get it back
    can anyone tell me how to get it back????????????????

  154. Jack Says:

    Too bad getting WiFi to work with Ubuntu is such a flipping hassle. That’s the deal-breaker right there. My days of hassling commands and “special” case stuff are long-over. (In fact I think they went out the door just about the time the 486DX 33 was no longer the hottest thing going. Wake me up when Linux works with WiFi.

  155. tipshack.freshubuntu.org Says:

    Enable WPA Wireless access point in Ubuntu Linux…

    Most of Ubuntu users are looking for this simple tutorial how to enable WPA Wireless access point.By default Ubuntu doesn’t have this feature….

  156. Sven Says:

    Great stuff! Ubuntu newbie since 2 days, tried a lot of other How-to’s but only this one does the trick without any problem.

  157. RodP Says:

    AMAZING. Been struggling this for months and was just about to rebuild the system. You should get a medal!!

  158. MHB Says:

    This worked like a charm for me using Feisty Herd5 on a Inspiron 1501 laptop. I already had a working connecting with WEP encryption, but I struggled with network applet and WPA. Thanks for the pointers.

  159. Adam Says:

    I have a problem getting my WG511T v3 installed on my laptop (dell inspiron 2500) with ubuntu 6.10. I do not have Network Manager and when i try to install from Add/Remove.. it asks me to download files from the internet.. i dont have an internet connection so how am i supposed to go around this? Any help would be greatly appritiated,

    Thanks,
    Adam

  160. pizpot Says:

    Adam,

    I am typing this reply on an HP laptop with a busted motherboard where both wired and wireless networking is gone. I plugged my cable modem to the laptop by USB. Yeah, look at your cable modem, if you are lucky it has a USB printer style port. As a matter of fact, I am running the 7.04 live cd, and installing 7.04 ubuntu right now. I’m hoping that will help me get my zd1211 based card to work. grrrrr.

  161. Kamal Says:

    I did the whole thing it still doesnt work. It keeps coming back to “Wired network”. No wireless icon to be seen so far.

    I have an hp laptop nx7010 with dapper drake.

    No comment.

  162. Debby Says:

    recognizes the access point, but not connecting!!!!!!!

  163. Michael Says:

    Yes!!
    I fully expected failure here, after many other attempts, and when I didn’t see the blue Icon signal strength
    bars, it did not look good. Having sped read, as we do, instead of “left-click the network manager icon in Gnome”
    as I should have, I went through the System> Administration > Networking menu which WILL NOT HELP YOU.
    It will show the same old WEP/ASCII optoions only.
    As soon as I did the correct sequence, as is working properly.
    Dell inspiron 6000 with a PRO/Wireless 2915ABG MiniPCI Adapter (Intel)

    Kudos to admin

    Michael

  164. Vicent Says:

    Same problem as Kamal “Wired network” but no more, It can’t find any wireless acces point.

    nm-tool, just tell me that I’ve got a eth0 Device not active, It must tell me something about my wlan0, isn’t it?
    Any help?

    Using Ubuntu Dapper.

  165. Tim Says:

    Still having a problem after doing this. The card is now trying to find wireless networks, but still not showing in network utilities. I am just trying to connect at an internet cafe, with no password needed.
    I can’t figure out how to start gnome, I am running ubuntu 6.1

  166. andrea Says:

    Great tutorial!
    Running edgy Eft, everything is OK except I cannot see the WPA option.
    Looks like my DWL-G510 drivers are not supporting this feature.
    Has anybody any suggestion?
    Thanks,

  167. Diogo Says:

    Problem running console command -> “sudo apt-get install network-manager-gnome network-manager”
    No package here by that name and not in http://packages.ubuntulinux.org/dapper/gnome/ too, how do i download that package, and how do I install it…

    …please help me on getting this package, I installed 6.06 dapper (desktop) and there are no package by that name on the CD.

    PLEASE, the missing of the package is a problem that many people have posted, whith only one typed anwser
    (116, but it didn’t solved for me, thanks anyway)

  168. Aido Says:

    UBUNTU 7.4
    Wireless Card: Belkin F5D7010
    Sees the Wireless SSID, But when entering the passphrase there is no WPA in the Wireless Security option, Only WEP etc.
    If I select connect to other wireless network it gives option for WPA, But does not connect.
    For a major release of a OS this is not great….

  169. Vinnie Says:

    Suggestion….

    Can the commands above to enable WPA be put into a little nice script file, that will automatically run the above commands? Comments can be added line by line to assist new people to Ubuntu. Thank you.

  170. intruder800 Says:

    I have a few problems, but I could fix them. Take care about this comments:

    1) Network manager only works with DHCP. I tried with some static IP tutorial, but it didn’t work.

    2) Just write this 2 lines in /etc/network/interfaces:
    auto lo
    iface lo inet loopback

    Delete the other ones.

    3) Restart your computer if you don’t see available wifi networks.
    May it’s not enough with sudo /etc/init.d/dbus restart

    I HOPE THIS WILL HELP, IF YOU HAVE PROBLEMS WITH THIS.
    THANK YOU ADMIN FOR THIS GREAT TUTORIAL !!!
    IT WAS A BIG STEP IN MY WIFI CONFIGURATION

    I’m using Ubuntu Edgy and Linksys WRT54G

  171. Erik Madsen Says:

    Thumbs up for this guide!
    Took me a minute or two, though, to reckon that I weren’t to press the standard Ubuntu wireless connection icon (the one with the green bar).

  172. tobbe Says:

    thankx man! this guide helped alot! many hours of work saved (or could have been ;)

  173. filter Says:

    You’re my men. I was getting nuts about this issue.

    Thx

    filters 2 cents

  174. theTerrible Says:

    I am running Kubuntu on laptop Acer Aspire. My wirless network manager can see all wireless networks around. However it can not connect to any of them (open and WEP). Are there any suggestions?
    Thank you

  175. J Says:

    I think I’m with the guy who said “wake me up when Linux works with WiFi”. There’s too many drivers that don’t work with WPA. I’m not using WEP.

  176. Jack Says:

    Thank you for explaining how to do this so clearly. Help from people like you is what makes using linux so great (and easy) for those of us who are just learning.

  177. Stefan Says:

    Really Great!!

    I’m finally writing this over wlan after hours and hours of hopeless attempts.

    Thanks a lot

  178. Tommy Says:

    Thank you so much! Every other solution on the web was bogus. Question, what does ENABLED=0 exactly do? Thanks again!

  179. relayer Says:

    Meddling around with WICD, System>Admin>Networking, ndiswrapper, etc etc for 2 weeks; no joy. Could get WEP working but what good is that? Uninstalled Wicd; followed this guide exactly; working! This is the only procedure that got that pesky Broadcom chipset under control!

    caveats:
    1. sudo /etc/init.d/dbus restart did not work for me; restarting the system did.

    2. Follow the steps EXACTLY; you MUST left-click the Network Manager icon to begin setup of your wireless network.

    3. Check with your router on what type of encryption you’re using - match WPA, WPA2 and then TKIP or AES, otherwise you won’t be connecting. At first, check SHOW PASSWORD to confirm you haven’t made a typo; you can hide it later once your connection is confirmed.

    Toshiba Satellite A-207 has a built-in wireless-b card listed as ETH1, which only does WEP/B. I had to disable this interface in System>Administration>Networking to let Network Manager use the Linksys WPC54G pcmcia card.

    Guide rating: 4 Flippers!

  180. Dave Says:

    As with the others, this got me going. Very straightforward. However, I can now get on unsecured networks, but my WPA2-PSK AES net continues to say “Waiting for password” after it is entered and eventually fails.

    This seems pretty strange since all the “hard” parts seem to be in good order. Heard of this one before?

    Kind regards, and thanks,
    Dave

  181. Narinder Singh Says:

    hi when i try to connect to any wirless wouter it ask for wpa security code tht i dont no i no only my house wpa security but not othr ppl so can i not use a internt without putting a WPA security code thnkzzzz

  182. bandess Says:

    If I click on the network-manager icon I cannot see the wireless netowork only wired. What am I doing wrong?

  183. bandess Says:

    @ bandess
    the main point is to uncomment all adapters in /etc/network/interfaces. on the other hand this post helped me! thanks

  184. pegasus Says:

    This looks like it could workd, just one question … HTF do I come up with nm-applet gui if I don’t use gnome?

  185. Imran M Yousuf Says:

    I am trying to install WiFi in my Laptop (Acer Aspire 5585WXMi) and it uses Intel PRO/Wireless 3945 Network as the WLan device. When I switch on my Wlan it detects it but in my Network Admin for the WLan in the password type only 2 options are shown - WEP Key (hexadecimal) and WEP key (ascii). I do not find any WPA Personal or any other option mentioned above in the image. I followed all the steps mentioned above but still dont get them.
    Any idea why?

    I am using Ubuntu Fiesta

    Thanks in advance,

    Imran

  186. Geoff Says:

    Hi,

    Thanks for this - it’s great. Before I read this, I couldn’t get wireless networking to work using Ubuntu atall. Now it’s temporamental: refuses to connect several times running but then successfully connects. Successful connections sometimes disconnect spontaneously. Do you have any ideas?

    I’m using: Ubuntu 7.04; Dell Inspiron 2200 with Dell/Broadcom Wireless 1370 Mini-PCI Card Rev4.2; Netgear D834G router with WPA-PSK encryption; the name of the network is broadcast.

    Many thanks!

    Geoff

    PS does this site replace

  187. sam Says:

    Thanks for this - this was the answer to getting my broadcom wireless card enabled on our wpa wireless network using Ubuntu feisty. The one small issue that I’m having has been raised above in other replies to this post: is there a way to set the network manager so that we don’t have to enter the keyring password every time we login?

    Thanks.

    Sam

  188. Jim Says:

    Tell me, how does Linux expect to compete with Windows if you have to go through all this stuff when installing a program. Why should new users to Linux have to code commands, get with it and compete. I’ve tried five different Linux programs in the last six years and I end up feeling like I’ve been taken for a ride. Maaybe I will go to the Mac.

    Jim

  189. Don Says:

    This worked perfectly…Thanks for putting together such a fine tutorial!!! Simply put…you have saved 100’s or possibly 1000’s many, many hours….

  190. John Says:

    …”Tell me, how does Linux expect to compete with Windows if you have to go through all this stuff when installing a program. Why should new users to Linux have to code commands, get with it and compete. I’ve tried five different Linux programs in the last six years and I end up feeling like I’ve been taken for a ride. Maaybe I will go to the Mac.”…

    Well, I never really expect Linux to compete with Windows, but people and companies that are willing to learn will benefit in the long run. Sure, it is a pain in the rump at times, but this is only during the initial install. Once you figure out one or 2 problems, you should be golden…I am running a laptop and PC and they both run so much smoother than with Windows. Since Ubuntu is going to stick around for quite some time, I will put my effort into learning as much as possible. Ironically enough, I am a software project manager, and yes, windows does some things better but there are alternatives in Ubuntu…I will say our applications created on a Linux platform really do run 15-20% faster and with less crashes and issues…Sorry, for going on and on, but people really torque me when they talk about Linux competing with Windows…In a nutshell, you can make Linux work for you, but it depends on how many licks you are willing to give in order to get to the center of a tootsie pop…

    BTW…WONDERFUL TUTORIAL…

  191. n-lane Says:

    Thank you! This worked perfectly for my Ubuntu 7.04 Feisty.

  192. pitr Says:

    Thanks! Easy to follow howto. My IBM T41 running Ubuntu 7.04 can now connect to my WPA/WPA2-Wifi-Network. Works under GNOME and KDE :-)

  193. imveryverypissedoff Says:

    YOU HAVE SAVED MY LIFE! Thank you for sharing this information. I have tried many methods and apps to no avail. I have wasted many hours and days trying to get my wpa wireless to work for me. I have been up and down several threads and forums and have tried everything. Until I came across this thread, and it work flawlessly. YOur knowledge is greatly appreciated and you saved me from hours more of fustration. You got a friend in New Jersey.

  194. owoito Says:

    Dear Admin,
    Thanks a lot for your wonderful write-up and it is good to see the great feedback that you have received.
    I am a total stranger to Linux, and I am running Ubuntu 7.10 on Paralles VM. Everything is working smoothly except for not being able to connect wirelessly. I have followed the instructions here carefully, but I seem to get stuck at where I have to “comment” out everything other than “lo”.Can you please explain this in a lay man’s language, and if possible capture the “commented” text file and post it here?. Also how do I create the file ?etc/default/wpasupplicant, and then add the entry ENABLED=0 ?
    Thanks a great deal.

  195. Srikanta Says:

    Hi,
    Many thanks for this very informative article. You’ve made my life much simple. Thanks again.

    Worked perfectly on Fiesty.

    Thanks,
    srikanta

  196. Michael Says:

    There is some confusion about the phrase ‘comment out’ - I did not know what it meant, but joshrobinson in Ubuntu Forums kindly informed me that one should ̶