Ubuntu Networking :: Wicd Wpa_supplicant "bad Password" Problem And Workaround?
Jan 25, 2011
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.
View 7 Replies
ADVERTISEMENT
May 11, 2010
I am trying to use CentOS 5.4 to set up a secure laptop, largely because of it's SELinux functionality. Unfortunately I couldn't get wireless to work properly using the default NetworkManager so I installed wicd. Initially it buggered up my whole installation but after relabelling files using SEL I can now use my system again. but.. I can't use it with SELinux enabled, as it denies the required accesses for wicd to work. I also get similar SELinux denials for wpa_supplicant. A couple of snippets from /var/log/audit/audit.log -
[Code]....
View 4 Replies
View Related
Jan 17, 2010
I'm reviving an aging Thinkpad X22 by installing Debian and running only in text mode. I've installed wicd to control the wireless network connections. When I run wicd-curses from the cli, it finds the network and I'm able to obtain an IP address. The wireless ESSID that I'm connecting to is encrypted with WPA. I can't seem to figure out how to input the encryption password so I can connect.
View 2 Replies
View Related
Sep 20, 2010
I'm trying to configure my new school wireless network (eduroam). Though it *should* work in wicd just fine, it doesn't, it fails with an error saying "failed to authentize". However it works with plain wpa_supplicant. Here's the working wpa_supplicant.conf:
[code].....
I don't see any option in the GUI configuration of wicd that is specified in wpa_supplicant.conf and not in the GUI, so it should generate a proper wpa_supplicant.conf.
Are there some more detailed wicd logs? Is there a way to give wicd the wpa_supplicant.conf part for this single essid and let it use the GUI generated one for the others? Where can I see the wpa_supplicant.conf it has generated for a connection?
View 1 Replies
View Related
Nov 27, 2010
I am running Ubuntu 10.04 on a PackardBell notebook and have just got an Orange Livebox 2 for broadband connection(after years of dial-up as no adsl in my area).I am trying to connect via WiFi to the Livebox to configure, but neither NetworkManager nor Wicd will connect. NM sees the Livebox but simply fails to connect after trying; Wicd says "Bad password".The WPA2 password I have entered is definitely correct, and I have connected without any problem from an AcerOne under Linpus.I have also tried to connect using Wicd and an ethernet cable, and this doesn't connect either, returning "Connection Failed: Unable to Get IP Address"
View 1 Replies
View Related
Jan 1, 2011
Running ubuntu 10.10 here, brand new install/machine.USB wireless based on a realtek chipset. I spent a few days trying ndiswrapper, and now have the native driver up and running. I can see the network(s) but can't connect. If I encrypt the network, i get a bad password error from wicd network manager (All encypt. methods- Weps, WPA etc) If I open my wireless up with no encryption, i receive a "can't obtain IP" error.
View 1 Replies
View Related
May 31, 2010
I have followed everything according to the the post by: [URL] I got through everything, was able to install wicd and scan the available networks, however when I connect to my own network with WPA2, it always gives me "Bad Password" when authenticates. I tried also using WPA and WEP, nothing worked. Even when I put the security to none, it connects, but for something reason wasn't connecting to any web sites when browsed using firefox; however the status shows connected and the router shows registered when logged into 192.168.0.1.
I tried uninstall network manager and then restart with wicd, same problem. The wired network is managed without any problem. The adapter works under windows 7 and XP flawlessly. And also wicd ask for password everytime the computer starts to gain control of the network cards. is there any way to cancel that?
View 9 Replies
View Related
Apr 4, 2011
I am trying to use nm-applet with Arch/Openbox/tint2. I can't use wicd-gtk because wicd won't work with ad-hoc networks. I have tested nm-applet in Ubuntu/Openbox/tint2 and it works fine.
The error message is:
Code:
[esteeven@piccolo ~]$ nm-applet
** Message: applet now removed from the notification area
[Code]...
View 1 Replies
View Related
Jun 11, 2010
These problems just started the last couple of days but I have been using Lucid 10.04 for a month now. My wireless Signal varies in strength wildly. I sitting at home, not 20 feet from my router. I never had these problems before Ubuntu Lucid Lynx 10.04. I am running both Network Manager and Wicd.
Errors:
1. Wicd states "Wrong Password" which is not true.
2. Dropping off-line for no reason, sometimes 3 or 4 times a minute and sometimes it works fine for hours.
3. Firefox 3.6.3 Automatically Checking "Work Offline"!?
[Code]...
I have the Proper Wireless Drivers. I have not changed my wireless settings, channel or WPA for 8 months now so I know thats not it.
View 1 Replies
View Related
Aug 1, 2010
In the template of Wicd, when I am outside the textbox, then everything in the textbox looks like this
(actually is was a big dot instead of a *) But whenever I clicked in the box, the text was shown
mypassword Is this something common on WiCD? And is there anyway I can fix it?
View 2 Replies
View Related
Nov 25, 2010
So, in any other Desktop WM, wicd never asks for passwordyesterday I installed Openbox,etc from SlackBuilds and each time I start Openbox it asks for my user's password.I did some googling but couldn't find anything regarding Slackware & wicdand I'm using -currentUser is part of netdev group so what's the issue
View 1 Replies
View Related
Nov 27, 2010
I am running Ubuntu 10.04 on a PackardBell notebook and have just got an Orange Livebox 2 for broadband connection(after years of dial-up as no adsl in my area).
I am trying to connect via WiFi to the Livebox to configure, but neither NetworkManager nor Wicd will connect. NM sees the Livebox but simply fails to connect after trying; Wicd says "Bad password". The WPA2 password I have entered is definitely correct, and I have connected without any problem from an AcerOne under Linpus.
I have also tried to connect using Wicd and an ethernet cable, and this doesn't connect either, returning "Connection Failed: Unable to Get IP Address"
View 9 Replies
View Related
Feb 2, 2010
I recently installed KDE in my ubuntu machine. I would like to try it out for a few weeks at least, but networking is not working at all.
I somehow managed to find the network settings and it shows no connections, wired or wireless. When I log out and log back in with gnome, my wireless gets connected automatically.
View 2 Replies
View Related
May 2, 2010
I have an USB 3G Modem to access broadband internet.The USB 3G Modem is a flying angel from TechFaith company.The modem works fine under Windows XP. The USB 3G Modem propose a data partition with an automatic installation of its driver and software. When I plug the device to the 9.04 Ubuntu workstation it mounts the data partition, but does not find the 3G modem device. I search the internet to find a solution, and the only working solution I found is the following. However, this solution is not stable, after some minutes the device is dropped (no more ttyUSB). I can not use the same process to enable the device.
Code:
su -
eject /dev/sr1
modprobe -v option
echo "1d09 1026" >/sys/bus/usb-serial/drivers/option1/new_id
[code]....
I used the wizard to configure the braodband access (Brunei/B-mobile). It works for somes minutes, and then the connection drops, the /dev/ttyUSB desappears and I can not redo the process.I have to enter the commands in a root shell, the sudo command will not enable the device. Why it does not works with sudo?
View 5 Replies
View Related
Feb 1, 2010
I've been using wicd (1.6.2.1 was the latest version on my desktop computer, maybe it got updated) without any problems for a long time. This morning after switching the thing on to read the morning news with a nice hot cup of coffee I got a number of funny Gui system messages: Wicd needs to access your computer's network cards. Password
View 12 Replies
View Related
Feb 17, 2010
right now im using the nm-applet but i dont like it. it produces lags. i think the periodical ssid/broadcast check might be the cause :/it lags every minute or so...in games and skype it is very annoying! if there is a possibily to disable these scans in nm-applet it would be fine too.for the moment im "using" this wpa_supplicant config:
Code:
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
[code]....
View 1 Replies
View Related
Sep 20, 2010
for weeks now I have the following problem: I am not able to connect to my wireless home network for most of the time. I am using Ubuntu 10.04; an Intel Wifi AGN4965 card and as driver "iwlagn". Maybe the solution lies within these messages (from daemon.log):
Sep 20 22:03:35 ubuntu NetworkManager: <info> starting...
Sep 20 22:03:35 ubuntu avahi-daemon[1130]: Found user 'avahi' (UID 104) and group 'avahi' (GID 111).
Sep 20 22:03:35 ubuntu avahi-daemon[1130]: Successfully dropped root privileges.
Sep 20 22:03:35 ubuntu avahi-daemon[1130]: avahi-daemon 0.6.25 starting up.
Sep 20 22:03:35 ubuntu avahi-daemon[1130]: Successfully called chroot().
[Code]....
View 1 Replies
View Related
Mar 19, 2011
Ubuntu 10.10 - the Maverick Meerkat � (Installed .iso from cd)The router has a password that I'm not sure if is wep or wpa.When I manually put in the address, netmask,gateway, dns,domain my Realtek usb adapter is connecting to the router but is not receiving packets.I got the driver installed with ndiswrapper.I'm trying to figure out wpa_supplicant
View 5 Replies
View Related
Aug 12, 2010
I start to learn wpa_supplicant recently,and I got the code already,but the code is complicated,and I don't know how to start learning,and Is there any book to discuss the architecture about wpa_supplicant?
View 4 Replies
View Related
Jan 26, 2011
I've got my laptop working with my UNI's rather complex wifi setup.
I need to get access to my wpa_supplicant file so i can use it with my nook and a few other devices that i need to get wifi access.
Network manager, i know, does all the wpa stuff dynamically and through scripts, so is there any way that i can get network manager to generate my wpa_supplicant config?
View 1 Replies
View Related
Nov 23, 2010
I am trying to get a wlan connection using my new Wlan-Stick. It has a Atheros ar9271 chipset.
Code:
Bus 001 Device 002: ID 0cf3:1006 Atheros Communications, Inc. TP-Link TL-WN422G v2 802.11g [Atheros AR9271]
Modules ath9k_htc and ath9k_htc_common are loaded. I can scan for network using iwlist or airodump and get the whole lists of networks. I've copied the config file I use with wpa_supplicant from a working system:
Code:
network={
ssid="Pasta"
scan_ssid=1
key_mgmt=WPA-PSK
[code]....
But I am not able to successfully connect:
Code:
[vortexbox.localdomain ~]# wpa_supplicant -i wlan0 -c wpa.test.conf -Dwext
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
ioctl[SIOCSIWSCAN]: Device or resource busy
[code]....
the "pre-shared key may be incorrect" I have rechecked the key twice and it is correct (actually it cannot be wrong because they file was copied from a working system). I have also tried to connect to a WEP encrypted network using iwconfig without success. I get no error when connecting but iwconfig tells me "Access Point: Not-Associated".Because of the "Device or resource busy" I tried a "lsof | grep -i wlan" but there are no results.
View 2 Replies
View Related
Feb 20, 2011
if the NetworkManager uses wpa_supplicant? I normally dont use NetworkManager and decided to try it. I started it and tried it out and it works with WEP and WPA! I cant figure out why using the iwconfig command is not working by itself for WEP. WPA working with NetworkManager is just a bonus though.
View 4 Replies
View Related
Apr 20, 2010
When I run wpa_gui I get a "Failed to open control connection to wpa_supplicant." message and an endless stream of "PING failed - trying to reconnect". I'm sure wpa_supplicant service is running, it also seems to be working correctly (program logs show activity when I connect to a wpa secured network via gnome network manager).
The location that ctrl_interface (in /etc/wpa_supplicant/wpa_supplicant.conf) points to (/var/run/wpa_supplicant) is an empty folder. I'm able to connect to a simple WPA network at home, but the one at my university needs special configuration and I couldn't get it to work by editing the .conf file. That's why I need the gui. My network card is Atheros Communications Inc. AR928X Wireless Network Adapter, the driver is ath9k.
View 2 Replies
View Related
Dec 25, 2010
yesterday i update my ubuntu 10.04 lts, and began the problens. i am using 2.6.32-24-generic, in a HP DV6 2145es do we know?
syslog saidme: wpa_supplicant[1093]: Association request to the driver failed search in google i founded that the problem is possible that it is in wpa_supplicant.conf. my fiel is in : /etc/dbus-1/system.d/wpa_supplicant.conf and i think that is necesary be in /etc . it is truh? when i check my fiel, i founded this:
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
[code]....
View 7 Replies
View Related
Jun 26, 2011
I have a laptop with ipw3945 on. I don't want to use Network Manager. this is my wpa_supplicant.conf
PHP Code:
[code]....
I do as root:
PHP Code:
[code]....
In another terminal as root I do:
PHP Code:
[code]...
but no IP address got.
View 8 Replies
View Related
Apr 5, 2009
I'm using wpa_supplicant to get wireless working on my HP nc6320.Following that article how-to-install-intel-pro-wireless-3945-on-centos-linux) I was able to use wirelesssince 5.1 but when I've upgraded from 5.2 to 5.3 there some problem came with wpa_gui:[root@localhost]# service wpa_supplicant startStarting wpa_supplicant: /etc/wpa_supplicant/wpa_supplicant.conf -ieth1 -Dwext Device eth1 kernel driver name: ipw3945 [ OK ]
[root@localhost]# ll /var/run/wpa_supplicant/
total 4
srwxrwx--- 1 root wheel 0 Apr 5 20:50 eth1
[code]....
View 1 Replies
View Related
Jun 5, 2010
I'm trying for some time to configure my WIFI on my laptop, without success .
My router: TRENDnet TEW-432BRP
SSID: MINETTI
Channel: 6
Extended Range Mode: disabled
[code]....
View 3 Replies
View Related
Jul 1, 2010
I installed Wicd in my F13 but I got problems when starting it When I try to start it I got error message:
Could not connect to wicd's D-Bus interface - Check the wicd log for error messages.
View 11 Replies
View Related
Dec 17, 2010
I'v just installed wicd. I can't get it to sart, I get errors saying that wicd couldn't connect to it's dbus interface and the wicd deamon has shut down. Then there's a report from SELinux saying that it's preventing /usr/bin/python "write" access on /etc/dhcp/manager-settings.conf and that access is denied to wicd. I can get wicd to start if I su to root, but I'd like to not have to do that every time I boot. Is there a fix?
View 1 Replies
View Related
Sep 15, 2010
First- clean installation of Ubuntu 10.04, with default network manager installed, I had a taskbar icon, and it could see the available wireless networks, could not connect to them, even the ones with no security. Purged all network manager files suggested in various threads here, Installed wicd- it could see all available networks, could connect to unsecured networks, but not to my own secured network. Password was correct in the wicd/configurations file. Removed wicd, and reinstalled network manager from synaptic. I have to network manager applet. When I try to add it to the notification area with alt-f2, applet-nm, I get a brief flash of something in the notification area, but no applet.
System=>Preferences=>network connections shows no wireless connections, but I'm obviously connected to something (probably my neighbors unsecured network) since I"m reaching this webpage. I tried to run sudo wpa_cli from the terminal to see what network the computer is connected to, and it gives me this error:
Quote:
Could not connect to wpa_supplicant - re-trying
wpa supplicant is installed according to synaptic
Various troubleshooting output:
[code]...
View 2 Replies
View Related