From owner-freebsd-questions Thu Sep 20 1:21:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.wrs.com (unknown-1-11.windriver.com [147.11.1.11]) by hub.freebsd.org (Postfix) with ESMTP id 825E037B419; Thu, 20 Sep 2001 01:21:08 -0700 (PDT) Received: from windriver.com (johng-home-pc [147.11.33.26]) by mail.wrs.com (8.9.3/8.9.1) with ESMTP id BAA14447; Thu, 20 Sep 2001 01:21:05 -0700 (PDT) Message-ID: <3BA9A921.5CC4CB81@windriver.com> Date: Thu, 20 Sep 2001 01:30:26 -0700 From: John Gordon X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Ian Cartwright Cc: freebsd-mobile@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: Netgear MA401 and WEP References: <20010920051742.25986.qmail@web14510.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello Ian, I don't have the same card/access point as you, but I do use the wi driver. The control settings I have are: insert /usr/sbin/wicontrol -i $device -p 1 insert /usr/sbin/wicontrol -i $device -f 9 insert /usr/sbin/wicontrol -i $device -n "john_network" insert /usr/sbin/wicontrol -i $device -k 0x1111111111 -v 1 insert /usr/sbin/wicontrol -i $device -k 0x2222222222 -v 2 insert /usr/sbin/wicontrol -i $device -k 0x3333333333 -v 3 insert /usr/sbin/wicontrol -i $device -k 0x4444444444 -v 4 insert /usr/sbin/wicontrol -i $device -e 1 Keys changed of course ;-) wicontrol, when run as root, does display the correct keys for me. You might want to look at -p and -f. HTH, John... Ian Cartwright wrote: > > Hello eveybody, > > BTW: I am posting this from Yahoo because either @home > is blocking mail from freebsd.org or vice versa; sorry > for the garbled formatting... > > Anyway, I've posted a couple timed before with no > replies. But now that 4.4-R is out maybe there is time > for someone to take alook at this... > > I have a Netgear MA-401 that I have been unable to get > working under FreeBSD. The card works fine under > Windows 2000. The card works great in FreeBSD without > WEP. When I enable WEP I lose my connection to my > access devica (a Netgear ME102). I have scoured the > archives, with no luck. I've tried -STABLE for the > last few weeks, following freebsd-mobile in some hope > of finding someone with a similar issue. I have tried > wicontrol, ifconfig, setting via the command line, > setting in rc.conf, setting in pcccard.conf, and > setting in start_if.wi0, all with no luck. > > Here is some info about my current setup: > - The card works with WEP disabled > - My WEP key is entered in hex > - I am trying to attach to a Netgear MA-102 Access > Point which only supports 40 bit hex keys > - wicontrol looks like it is doing everything properly > (correct keys, ssid, etc.) > - ifconfig looks OK too, except "authmode" is NONE and > I cannot change it to anything else > > Here is a copy of my start_if.wi0 > #!/bin/sh > /usr/sbin/wicontrol -i wi0 -t 11 > /usr/sbin/wicontrol -i wi0 -n IansWireless > /usr/sbin/wicontrol -i wi0 -c 0 -p 0 > /usr/sbin/wicontrol -i wi0 -k 0x1111111111 -v 1 > /usr/sbin/wicontrol -i wi0 -T 1 > /usr/sbin/wicontrol -i wi0 -e 1 > > Also, I have noticed some strange behavior when > setting keys. If I set the 40 bit WEP key to all 3's > then do a wicontrol -i wi0 to report the keys, it will > show the key as '33333' (as in a text string instead > of hex). But that may or may not be part of this. > > Cheers, > > Ian > > __________________________________________________ > Terrorist Attacks on U.S. - How can you help? > Donate cash, emergency relief information > http://dailynews.yahoo.com/fc/US/Emergency_Information/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-mobile" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message