Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2003 11:02:31 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        DougB@freebsd.org
Cc:        mtm@identd.net
Subject:   Re: Script to automatically configure a wireless card based on ssid
Message-ID:  <20030426.110231.99254364.imp@bsdimp.com>
In-Reply-To: <20030425133754.C35038@12-234-22-23.pyvrag.nggov.pbz>
References:  <XFMail.20030424110538.jhb@FreeBSD.org> <20030424.195012.00542650.imp@bsdimp.com> <20030425133754.C35038@12-234-22-23.pyvrag.nggov.pbz>

index | next in thread | previous in thread | raw e-mail

In message: <20030425133754.C35038@12-234-22-23.pyvrag.nggov.pbz>
            Doug Barton <DougB@freebsd.org> writes:
: On Thu, 24 Apr 2003, M. Warner Losh wrote:
: 
: > In message: <XFMail.20030424110538.jhb@FreeBSD.org>
: >             John Baldwin <jhb@freebsd.org> writes:
: > : >         status: associated
: > : >         ssid WLAN 1:WLAN
: > : >         stationname "FreeBSD WaveLAN/IEEE node"
: > : >         channel 11 authmode OPEN powersavemode CAM powersavesleep 100
: > : >         wepmode OFF weptxkey 1
: > :
: > : Well, it claims to be associated, which is odd.  I don't actually check
: > : the ssid except for matching up wepkeys.  Instead, I check the status
: > : which is 'associated' in this case.
: 
: John, you're correct of course, sorry. I should have double-checked the
: code again before I posted. I had "associated + ssid" merged in my brain,
: which your code does a better job of distinguishing.
: 
: > : If there really isn't an AP, then that's
: > : a bug that should be addressed.
: >
: > We don't use WLAN internally for anything.  So there MUST be a WLAN
: > around that you don't know about...
: 
: Yeah, I actually grep'ed our code for 'WLAN,' and of course didn't find
: anything. According to netstumbler mine is the only AP in action within
: radio range. I'm not disagreeing with you, just stating the source of my
: contention. :)  Is it possible that this is something specific to the
: netgear card? How would I go about confirming that this is a real AP or
: not? The other thing that I should try of course is to take the laptop
: elsewhere, which I will at my earliest convenience.

What does wicontrol -l tell you?  Are you doing something like
ifconfig wi0 ssid WLAN did you?  Also, once associated, the card won't
report other cards...

Warner


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030426.110231.99254364.imp>