From: Johannes Berg <johannes@sipsolutions.net>
To: John Frankish <j-frankish@slb.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: iw connect syntax for wep
Date: Sat, 14 May 2011 10:38:57 +0200 [thread overview]
Message-ID: <1305362337.3437.6.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <1305361659.3437.3.camel@jlt3.sipsolutions.net> (sfid-20110514_102747_082779_483E4E25)
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
prev parent reply other threads:[~2011-05-14 8:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-14 7:01 iw connect syntax for wep John Frankish
2011-05-14 8:27 ` Johannes Berg
2011-05-14 8:38 ` Johannes Berg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1305362337.3437.6.camel@jlt3.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=j-frankish@slb.com \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox