The iw documentation and "iw --help" states the following for establishing a wep connection:
iw wlan0 connect foo keys 0:abcde d:1:0011223344
What command syntax is supposed to be used when connecting to an ap using a single wep code consisting of 13 hex pairs?
"iw wlan0 connect ssid keys 1:00112233445566778899AABBCC" does not work
Thanks
John
On Sat, 2011-05-14 at 10:27 +0200, Johannes Berg wrote:
> On Sat, 2011-05-14 at 07:01 +0000, John Frankish wrote:
> > The iw documentation and "iw --help" states the following for establishing a wep connection:
> >
> > iw wlan0 connect foo keys 0:abcde d:1:0011223344
> >
> > What command syntax is supposed to be used when connecting to an ap using a single wep code consisting of 13 hex pairs?
> >
> > "iw wlan0 connect ssid keys 1:00112233445566778899AABBCC" does not work
>
> 13 hex pairs isn't a valid key. WEP keys are either 5 or 10 bytes.
Err, no, I got confused, it's either 5 or 13 bytes of course, and the
above works fine for me. If you have iw earlier than 0.9.16 you
absolutely need to make on key default though by prefixing "d:", later
versions will automatically select one key (basically at random though).
johannes
On Sat, 2011-05-14 at 07:01 +0000, John Frankish wrote:
> The iw documentation and "iw --help" states the following for establishing a wep connection:
>
> iw wlan0 connect foo keys 0:abcde d:1:0011223344
>
> What command syntax is supposed to be used when connecting to an ap using a single wep code consisting of 13 hex pairs?
>
> "iw wlan0 connect ssid keys 1:00112233445566778899AABBCC" does not work
13 hex pairs isn't a valid key. WEP keys are either 5 or 10 bytes.
johannes