You are not logged in.

#1 2012-01-03 20:24:31

ikaruga2099
Member
Registered: 2010-03-20
Posts: 11

wicd fails with "bad password"

I'm running wicd 1.7.0. The network is WEP ad-hoc with a plain-text passphrase.

The laptop is a 1005HA eee pc with a Atheros AR9285 WiFi card.

I can connect just fine to the same network with netcfg (actually, netcfg is the only wifi tool besides wpa-supplicant that works).

However, when I connect with wicd it stalls at validating authentication and then gives a "bad password" error message.

Wicd settings are at defaults with WEXT driver.

Changing to dhclient just makes it fail at obtaining IP ADRESS.

Offline

#2 2012-01-03 21:25:13

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: wicd fails with "bad password"

ikaruga2099 wrote:

I'm running wicd 1.7.0. The network is WEP ad-hoc with a plain-text passphrase.

The laptop is a 1005HA eee pc with a Atheros AR9285 WiFi card.

I can connect just fine to the same network with netcfg (actually, netcfg is the only wifi tool besides wpa-supplicant that works).

However, when I connect with wicd it stalls at validating authentication and then gives a "bad password" error message.

Wicd settings are at defaults with WEXT driver.

Changing to dhclient just makes it fail at obtaining IP ADRESS.

Did you try searching the web? There is a known bug with wicd mangling passwords. It's the reason I've switched to using wpa_supplicant + dhcpcd.

Offline

#3 2012-01-03 21:28:53

ikaruga2099
Member
Registered: 2010-03-20
Posts: 11

Re: wicd fails with "bad password"

Yeah, I didn't come across that bug though. Curiously, wpa_gui fails... It can scan networks but doesn't connect to them.

So basically you are saying that wicd is defective so I should use something else?

Offline

#4 2012-01-03 22:01:45

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: wicd fails with "bad password"

ikaruga2099 wrote:

Yeah, I didn't come across that bug though. Curiously, wpa_gui fails... It can scan networks but doesn't connect to them.

So basically you are saying that wicd is defective so I should use something else?

Well, I'm not going to tell you not to use wicd :-) It is nice software. I'm confident this bug will be fixed one day.

Until that day, though, it looks like you will need to use some alternative.

Offline

#5 2012-01-03 22:14:29

ikaruga2099
Member
Registered: 2010-03-20
Posts: 11

Re: wicd fails with "bad password"

Yes, I'm sure wicd is nice software that will eventually be fixed.

In the mean time, should we update the wiki warning users not to waste their time with wicd?

Offline

#6 2012-01-03 22:19:16

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: wicd fails with "bad password"

ikaruga2099 wrote:

In the mean time, should we update the wiki warning users not to waste their time with wicd?

No. It works fine for me.

But then I'm not wasting my time with an insecure protocol like WEP...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2012-01-03 22:26:07

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: wicd fails with "bad password"

jasonwryan wrote:

<snip /> I'm not wasting my time with an insecure protocol like WEP...

I don't use WEP. I also had the problem with WPA(2?).

Edit: @OP, jasonwryan is right, you know. There are tutorials on youtube showing you how to crack WEP in five minutes using Linux command line tools. Whether you use wicd or not, consider switching to WPA2.

Last edited by /dev/zero (2012-01-03 22:28:52)

Offline

#8 2012-01-03 22:27:25

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: wicd fails with "bad password"

OP reported their issue is with WEP. I use WPA2 and have had no problems with wicd...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2012-01-03 22:31:34

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: wicd fails with "bad password"

jasonwryan wrote:

OP reported their issue is with WEP. I use WPA2 and have had no problems with wicd...

So you've had no problems. I have. I googled and found it was a known bug. OP reported the same error with the same package. How do we know the error is protocol-dependent?

Offline

#10 2012-01-03 22:47:55

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: wicd fails with "bad password"

We don't. But that is no reason to add a note to the wiki "warning users not to waste their time with wicd."


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2012-01-03 22:51:52

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: wicd fails with "bad password"

jasonwryan wrote:

We don't. But that is no reason to add a note to the wiki "warning users not to waste their time with wicd."

Oh, I see what you mean. I thought you were being all like, "what are you even doing responding?". Yeah, agreed about the wiki :-)

Offline

#12 2012-01-03 23:22:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: wicd fails with "bad password"

Yes: my interest is just in the wiki in this case.

FWIW: if there was an issue with wicd, the boards would quickly light up.

Seeing as I am here, though: ikaruga2099 have you tried moving/deleting your profile(s)?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#13 2012-01-04 11:20:22

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: wicd fails with "bad password"

I've seen wicd report that the password is incorrect when in fact what failed was getting an ip address through dhcp.

That can be checked by connecting manually with wpa_supplicant + dhcpcd (or dhclient) and checking for error messages, of course this should be done in the cli so it is possible to see the complete output.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#14 2012-01-04 14:51:13

ikaruga2099
Member
Registered: 2010-03-20
Posts: 11

Re: wicd fails with "bad password"

@jasonwryan thank you for that lecture and assuming that people are morons. As the wiki states, WEP should be used for testing, which is what I was doing.

I went home and tried out wicd on my WPA network. It connects just fine. It appears that the problem is WEP, at least for me. Will try later to connect manually with wpa_supplicant + dhcpd and also deleting the profile.

Offline

#15 2012-01-04 18:37:21

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: wicd fails with "bad password"

ikaruga2099 wrote:

I'm running wicd 1.7.0. The network is WEP ad-hoc with a plain-text passphrase.

ikaruga2099 wrote:

@jasonwryan thank you for that lecture and assuming that people are morons. As the wiki states, WEP should be used for testing, which is what I was doing


I do not assume people are morons - I wait until they prove it. I do, however, lay no claim to paranormal powers, such as clairvoyance; I rely solely on what people report in their threads...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#16 2012-01-04 21:19:22

ikaruga2099
Member
Registered: 2010-03-20
Posts: 11

Re: wicd fails with "bad password"

OK just a hunch but I think the problem is that wicd doesn't detect that the network is ad-hoc. The wpa_supplicant configuration file that it gives me in /var/lib/wicd/configurations is this:

ap_scan=1
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="Ark"
scan_ssid=0
key_mgmt=NONE
wep_key0="password"
wep_tx_keyidx=0
priority=5
}

If I try to connect manually using wpa_supplicant with that file I get a "No suitable network found" error.
But if I add "mode=1" to the NETWORK section, then it works.

So yes, it does look like a bug in wicd unless I'm doing something wrong.

Offline

Board footer

Powered by FluxBB