psk2 key with " doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wicd |
Fix Released
|
Medium
|
Dan O'Reilly |
Bug Description
With WICD-1.3.8 I can't connect to my AP because my wpa2-key contains " and that doesn't work with WICD:
root@jan ~ # /usr/lib/
/usr/lib/wicd
wicd daemon: pid 5045
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
dhclient: Kein Prozess abgebrochen
dhclient3: Kein Prozess abgebrochen
wpa_supplicant: Kein Prozess abgebrochen
sh: -c: line 0: syntax error near unexpected token `)'
sh: -c: line 0: `wpa_passphrase "schnauze" "]t(8gYrOY|
Nothing to flush.
Nothing to flush.
[...]
I noticed this also but that's another thing I guess:
root 5045 0.1 0.4 18304 4476 ? Sl 22:51 0:00 /usr/bin/python /usr/lib/
root 5049 0.0 0.0 0 0 ? Z 22:51 0:00 \_ [ethtool] <defunct>
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
Advertised auto-negotiation: Yes
Speed: 10Mb/s
Duplex: Half
Port: MII
PHYAD: 32
Supports Wake-on: pumbg
Wake-on: d
Current message level: 0x00000007 (7)
Link detected: no
Changed in wicd: | |
status: | Fix Committed → Fix Released |
The problem you're seeing is actually a problem with wpa_passphrase. You need to escape certain characters with a '\' for the psk to be generated. Using this passphrase should work for you: "]t(8gYrOY| :/#/\") \"*pq>r{ Oxxxxxxxxxxxxx0 T"
Notice the '\' characters before both of the double quotations. I might go ahead an have wicd search passphrases for potential problem characters and add the '\' automatically down the line, but for now you have to add them in yourself.
Out of curiosity, what distro are you running wicd with? And how did you install it. I ask because I noticed daemon.py is running out of /usr/lib/wicd, which isn't default right now (though it will be in a future release).
Also, not sure why you're seeing the zombie ethtool. Haven't noticed that happening on my box, but I'll look into it.