You are not logged in.

#1 2010-10-03 14:53:20

dioltas
Member
Registered: 2009-06-03
Posts: 44

wicd / netcfg2 woes. Invalid character in ssid.

Hi.

I'm having some trouble connecting to the wireless router in my new house.
I think a lot of the trouble is being caused by a &hA0 instead of a space (&h20) in the ssid.
The router is my landlords, I don't have physical access to it. I could try bruteforcing the admin password and change the ssid but I don't want to go messing with his router / changing his ssid.

Wicd seems to either save the ssid as a space or else as &hC2 A0. I'm not sure why it's inserting this byte. This is from looking at  /etc/wicd/wireless-settings.conf.
I'm guessing that this means that when the psk is generated from the passphrase and the ssid that it's incorrect, as I always get bad password.

My phone can connect fine to the access point.

I have tried generating the psk using wpa-passphrase, but this doesn't work either.

# iwlist eth0 scan | grep Bel | hexdump -C
00000000  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000010  20 20 20 20 45 53 53 49  44 3a 22 42 65 6c 6b 69  |    ESSID:"Belki|
00000020  6e 5f 35 34 5f 57 68 61  72 74 6f 6e a0 52 6f 61      |n_54_Wharton.Roa|
00000030  64 22 0a                                                                    |d".|
00000033

The character which I think is causing the problem is the a0 between Wharton and Road.

Using the psk from wpa-password, I seemed to be able to connect to using wpa_supplicant, but not wicd. Regardless, I still couldn't go online.

I had also tried using netcfg2 to connect using the passphrase and the correct ssid but this wouldn't work either, it connects but can't do anything once it does.
When I used my psk and netcfg2 it connects but I still couldn't go online, ping my router etc.

When I tried using my external wireless card instead of the internal one, after it connects using netcfg2 i can go online etc.

So my question is, does anyone know how I can get wicd to connect? I tried correcting the ssid in the config file, but wicd overwrites it with the wrong one again if I try to reconnect.
Also does anyone know why my internal device would not work (eth0) and the external one (wlan0) works ok? I haven't had any trouble connecting to wpa networks before with it. And it does seem to connect ok using netcfg2 but can't communicate after.
My internal card used ipw2200 I think.

I would ideally like to try and get it working with wicd and my internal card, as wicd is a bit easier for my girlfriend to use and the card sticking out of the side of my laptop is annoying.

Sorry for the long post, thanks in advance for any suggestions you can give!

Offline

#2 2010-10-03 15:11:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: wicd / netcfg2 woes. Invalid character in ssid.

That character is a non-breaking space. I know nothing about wireless, but maybe you can't use ordinary spaces? And putting a non-breaking space between 'Wharton' and 'Road' makes sense - maybe just not in this setup (as anESSID) ;P

Offline

#3 2010-10-03 16:54:45

dioltas
Member
Registered: 2009-06-03
Posts: 44

Re: wicd / netcfg2 woes. Invalid character in ssid.

I knew it was a blank character. Didn't know it was called a non-breaking space though, thanks!

Maybe it is what's used for the essid instead of space, not sure why wicd is having such problems with it so.

Maybe it's a problem with the encoding on my machine not supporting that character. I don't know a lot about that stuff, but I'm surprised wicd can't just write that byte to the file and then read it back the same way.

I need to try and figure out if it's just a bug and report it.

Offline

Board footer

Powered by FluxBB