Search Linux Wireless

Re: iw connect syntax for wep

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux