Results 1 to 10 of 11

Thread: wicd wpa_supplicant "bad password" problem & workaround

Hybrid View

  1. #1
    Join Date
    Jan 2011
    Beans
    2

    wicd wpa_supplicant "bad password" problem & workaround (wireless connection)

    I have a "bad password" reply using wicd 1.7.0 with WPA and a preshared key within Ubuntu 10.10, i.e., I am unable to make automatic/repeatable wireless connections using wicd without a workaround.

    I believe this may be a problem interaction between wicd and the way wpa_supllicant is passing the (preshared) key to the network authority (the router). In my case, I use a Linksys WRT54GL running DD-WRT v24-sp2 (10/10/09) std - build 13064 OpenSource firmware, configured as an Access Point in Mixed mode (b/g).

    I have no problem authenticating WPA Personal TKIP or AES from Windows or Mac OS X clients with a variety of wireless adapters (Linksys, D-Link, Lucent, Airport (Mac)) (No intervention is required to produce the secure connections).

    With wicd 1.7.0 and wpasupplicant 0.6.10-2 (wext as wpa_supplicant driver selected in wicd by default) on Linux 2.6.35.-24-generic (Ubuntu "Maverick Meerkat") and a Lucent Orinoco Gold 802.11b wireless adapter I am able to connect to the network initialy (one time) without the "bad password" error.

    After the initial successful connection, reconnection is not possible (the "bad password" error) ***unless the wireless security settings on the router are re-applied. Once reapplied/resaved, a subsequent attempt to create a wireless connection from the Linux client will succeed without any changes having been made on the client side.

    The psk data being sent to the router (with respect to the Wireless security settings) is being cached in such a way the connection is initially possible but defeats subsequent attempts at connection. Perhaps the passkey is cached/stored on the client side (after it is used to make the first connection) in such a way that it will be sent incorrectly upon subequent attempts at connection? Of course, I'm simply guessing, here ... it is by luck that I found the workaround to establish this wireless connection.

    **********
    BTW, FYI, I was unable to use the Gnome Network-Manager to establish any wireless connections at all. Thus, Network-Manager was uninstalled (sudo apt-get purge network-manager) during the installation of wicd (Ubuntu Software centre). wpa_supplicant was re-installed (Synaptic) after wicd was installed.
    Last edited by dchom; January 25th, 2011 at 07:05 PM. Reason: more detail in title line

  2. #2
    Join Date
    May 2008
    Beans
    13

    Re: wicd wpa_supplicant "bad password" problem & workaround

    i'm having the same issues. it upgraded from 9.04 all the way to 10.04, and had some issues with "bad password" in the beginning that went away for probably 2 weeks. Randomly my linux box lost it's internet connection and I haven't been able to reconnect it yet...

    I've already removed the network-manager, restarted wicd, and done everything short up downgrading wicd (not really sure how to be honest).

    Nothing seems to be working right now... Any suggestions?

  3. #3
    Join Date
    Nov 2008
    Beans
    12
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: wicd wpa_supplicant "bad password" problem & workaround

    Removing all the network-manager instances worked for me.

  4. #4
    Join Date
    May 2008
    Beans
    13

    Re: wicd wpa_supplicant "bad password" problem & workaround

    Glad you got it working! I tried every method I knew of to remove network-manager to no avail.

    The only thing that worked for me was downgrading my AT&T 2wire residential gateway's wireless encryption to WPA instead of WPA2. Bummer, but it will suffice...

  5. #5
    Join Date
    Jul 2010
    Beans
    8

    Re: wicd wpa_supplicant "bad password" problem & workaround

    this works for me even though I use ubuntu 10.04
    http://www.pc-freak.net/blog/how-to-...rick-merkaaat/

    One minor change, after removing network manager, I have to re-install wicd and all packages relevant to it using synapstics. (they are all prepositioned with a green box).

  6. #6
    Join Date
    Jan 2011
    Beans
    2

    Re: wicd wpa_supplicant "bad password" problem & workaround

    Not me. The only thing that works is changing the wireless security policy on the router, from WPA Personal to WEP and saving the settings. After reverting them back to WPA Personal, the wireless connection can be made. And half the time I have to reboot the router before the wireless card can pick up the network. I know it sounds like a router problem yet my other wireless computers have absolutely no problem at any time both picking up the network and authenticating, even with the same wireless adapter.

  7. #7
    Join Date
    Oct 2009
    Location
    Rocky Mtns.
    Beans
    540
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: wicd wpa_supplicant "bad password" problem & workaround

    Quote Originally Posted by knowlittle View Post
    this works for me even though I use ubuntu 10.04
    http://www.pc-freak.net/blog/how-to-...rick-merkaaat/

    One minor change, after removing network manager, I have to re-install wicd and all packages relevant to it using synapstics. (they are all prepositioned with a green box).
    +1 (it also fixed my wireless under 64-bit Lucid Lynx 10.04.2 LTS), although I had already decided to "reinstall" all Wicd packages using Synaptic before I read your post. I also used Wicd to apply some 'tweaks' to my DNS server settings (after verifying that these would work under Wicd using a cabled ethernet connection to get my Updates and and look up this Wicd 1.7.0/Network Manager conflict/"bug").

    Here is a link to the Ubuntu Wicd packages, if anyone needs to download one/some using a different computer (or OS):

    http://packages.ubuntu.com/search?keywords=wicd

    Wicd had been working fine (alongside Gnome Network Manager) for me for many months, until I ran some Updates, then I could not get wireless to connect at all. Unfortunately, this also coincided with some DNS server "blocking" changes made by someone else to the WiFi router I had been using (without me knowing about it).

    I had also tried changing my Broadcom WiFi driver to the "open source" rather than the "proprietary STA" driver, so I likely had at least 3 separate problems converge when I tried to use this internet Access Point recently (and I just today figured out the problem(s)- so I had resorted to Microsoft for internet connections for a couple of weeks, and so I was CERTAIN that my password(s) were correct).

    I suspect that some of the 'problem cases' above must still have some [Gnome] Network Manager components clinging on. If it helps anyone, here is what I forced a "remove completely" using Synaptic Package Manager in order to get my Wicd 1.7.0 wireless working again (while I was cabled in using my Ethernet connection):

    To be removed:
    knm-runtime
    lubuntu-desktop
    network-manager-gnome
    network-manager-openconnect-gnome
    network-manager-openvpn-gnome
    network-manager-pptp-gnome
    To be completely removed (including configuration files)
    network-manager
    network-manager-kde
    network-manager-openconnect
    network-manager-openvpn
    network-manager-pptp
    EDIT: See also:
    Got bitten by this bug (bad password) after upgrading a machine from Ubuntu 9.10 to 10.04. It reinstalls network-manager.

    Steps to fix in a terminal:
    sudo aptitude remove network-manager
    sudo /etc/init.d/wicd restart

    Hit the tray icon and connect to a wpa2 network of your choice.
    https://bugs.launchpad.net/ubuntu/+s...cd/+bug/540070
    -----
    How to fix wicd 1.7.0+ds1-5 Connection Failed: Bad Password on Ubuntu 10.10 (Maverick Merkaaat)

    http://www.pc-freak.net/blog/how-to-...rick-merkaaat/
    -----
    Re: wicd 1.7 - wireless - Connection Failed: Bad Password

    http://ubuntuforums.org/showthread.php?t=1595106&page=2
    Last edited by northd_tech; August 31st, 2011 at 03:56 AM. Reason: added links

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •