Openmoko Bug #2030: Cannot connect to WEP network

Werner Almesberger werner at
Tue Oct 7 16:56:27 CEST 2008

Angus Ainslie wrote:
> You should be able to enter a text key if you prefix it with 's:', or is
> that broken in OM ?

It works perfectly, but it doesn't do what you might expect:
most access points use a hash algorithm to turn that text string
into the hex numbers we all love. Unfortunately, iwconfig just
uses the string "as is".

So if you tell your access point to use "mynet" and iwconfig on
your Neo to use s:mynet, they'll disagree on the result.

Also, most keys will have the wrong length for iwconfig anyway,
so you'll just get
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device eth0 ; Input/output error.

That's a problem of iwconfig and isn't specific to Openmoko.

- Werner

More information about the devel mailing list