From owner-freebsd-mobile Fri Sep 21 17:39: 6 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from cx543097-a.phnx1.az.home.com (cx543097-a.phnx1.az.home.com [65.13.57.165]) by hub.freebsd.org (Postfix) with ESMTP id 7B54E37B403; Fri, 21 Sep 2001 17:38:55 -0700 (PDT) Received: from cx543097a (iansdell.iansponderosa.org [192.168.0.101]) by cx543097-a.phnx1.az.home.com (8.11.4/8.11.4) with SMTP id f8M0cFg14665; Fri, 21 Sep 2001 17:38:15 -0700 (MST) (envelope-from ian351c@home.com) From: "Ian Cartwright" To: "Brooks Davis" , "Ian Cartwright" Cc: , Subject: RE: Netgear MA401 and WEP Date: Fri, 21 Sep 2001 17:38:15 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20010920110744.B23690@Odin.AC.HMC.Edu> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I tried 'ifconfig wi0 ssid IansWireless wepkey 1:0x1111111111 wep' as you suggested without success... I do have one followup question though: I have noticed that (in Windows) even if I set the keys the same on the card and the access point, WEP doesn't work unless it is the same key as well (i.e. they both have to have key #1 set to 0x1111111111 instead on the accesspoint having #1 set and the card having #3 set to the same key); is this expected?. Is there anyplace in the code for if_wi.c or someplace that I can turn on some debugging code? I would like to see if my card is reacting as expected compared against any traces anyone else may have... Ian > -----Original Message----- > From: owner-freebsd-mobile@FreeBSD.ORG > [mailto:owner-freebsd-mobile@FreeBSD.ORG]On Behalf Of Brooks Davis > Sent: Thursday, September 20, 2001 11:08 AM > To: Ian Cartwright > Cc: freebsd-mobile@FreeBSD.ORG; freebsd-questions@FreeBSD.ORG > Subject: Re: Netgear MA401 and WEP > > > On Wed, Sep 19, 2001 at 10:17:42PM -0700, Ian Cartwright wrote: > > 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 > > That's OK though I should really get around to documenting it. I don't > know how to change the authmode on hermes and Prism II chips so I don't > support it. > > > 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 > > Assuming you're running a recent stable, how about trying: > > ifconfig wi0 ssid IansWireless wepkey 1:0x1111111111 wep > > after a clean boot. Portions of the above definatly aren't valid. If > that doesn't work I have no idea. > > > 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. > > That's a side effect of the ASCII support. I just so happens that in > ASCII '3' == 0x33 and if you choose a key that is printable in ASCII, it > gets printed in ASCII. > > -- Brooks > > -- > Any statement of the form "X is the one, true Y" is FALSE. > PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message