ifconfig wi0 "10 number HEX key" arg ? (SOLVED)

Brooks Davis brooks at one-eyed-alien.net
Mon Aug 28 17:07:52 UTC 2006


On Mon, Aug 28, 2006 at 07:04:36AM -1000, Tyler Gee wrote:
> On 8/27/06, Bill <runfreebsd at yahoo.com> wrote:
> >--- Tyler Gee <geekout at gmail.com> wrote:
> >
> >> On 8/27/06, Bill <runfreebsd at yahoo.com> wrote:
> >> > Hello Family,
> >> >
> >> > I'm on a wifi network where all the other Unix(like) and Windows
> >> > laptops seem to be able to pass a "ten" (10) digit number as the
> >> > "hex" key.
> >> >
> >> > In the "ifconfig" manpage for FreeBSD-6.1 it states, under the
> >> > stanza for "wepkey" that the number must be 5 or 13 chars long.
> >> >
> >> > The number that is being used for the 10 digit key is:
> >> >
> >> >         1466466946
> >>
> >> Try 0x1466466946
> >>
> >
> >Thanks Tyler,
> >
> >I actually had tried that with the "ifconfig" command and got an
> >error/complaint and by a stroke of luck tried "wicontrol" with the
> >above syntax and it took, so here is my little script that I run and it
> >works fine now, thanks for the timely nudge back into the right
> >direction!
> >
> >I'm not exactly sure the "perfect" order of which to set these params
> >but it works as it is.  I'm open for any enhancements to the script :)
> 
> Well, if it works that is great and I would go with it. :)  I was
> thinking wicontrol is deprecated, but can't actually remember if that
> is true or not.  Just curious, what was the command you were giving to
> ifconfig that was giving the error?

wicontrol is deprecated.  Its use should not be required for anything
WEP related.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20060828/67563384/attachment.pgp


More information about the freebsd-amd64 mailing list