From owner-freebsd-mobile@FreeBSD.ORG  Mon Apr 21 16:06:17 2003
Return-Path: <owner-freebsd-mobile@FreeBSD.ORG>
Delivered-To: freebsd-mobile@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 26BFF37B401
	for <mobile@freebsd.org>; Mon, 21 Apr 2003 16:06:17 -0700 (PDT)
Received: from ns3.safety.net (ns3.safety.net [216.40.201.32])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 92B7243FBD
	for <mobile@freebsd.org>; Mon, 21 Apr 2003 16:06:16 -0700 (PDT)
	(envelope-from cbiffle@safety.net)
Received: from localhost (rs.rackshack.net.safety.net [216.40.201.32])
	by ns3.safety.net (8.10.2/8.10.2) with ESMTP id h3LN6CA08704;
	Mon, 21 Apr 2003 16:06:13 -0700
From: "Cliff L. Biffle" <cbiffle@safety.net>
To: "vizion communication" <vizion@ixpres.com>
Date: Mon, 21 Apr 2003 16:07:27 -0700
User-Agent: KMail/1.5
References: <20030417205051.GA1232@isorauta.ntc.nokia.com>
	<20030421095256.M2827@znfgre.tberna.bet>
	<016a01c30850$2680ffa0$15b55042@vizion2000.net>
In-Reply-To: <016a01c30850$2680ffa0$15b55042@vizion2000.net>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200304211607.27258.cbiffle@safety.net>
cc: mobile@freebsd.org
Subject: Re: netgear ma311 failures (wi0 driver)
X-BeenThere: freebsd-mobile@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Mobile computing with FreeBSD <freebsd-mobile.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-mobile>,
	<mailto:freebsd-mobile-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-mobile>
List-Post: <mailto:freebsd-mobile@freebsd.org>
List-Help: <mailto:freebsd-mobile-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-mobile>,
	<mailto:freebsd-mobile-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Apr 2003 23:06:17 -0000

On Monday 21 April 2003 02:51 pm, vizion communication wrote:
> Does anyone know a good way of ensuring that wi0 only
> accepted communications from a specific access point (mac
> address and ssid)?

I have a script I've written that lets you define a set of acceptable networks 
and priorities for each.  This is useful for me, because I move between three 
or four distinct networks day to day, and at times I can see more than one.  
I'll be happy to share if you're interested, but it might be overkill for 
what you're doing.

It's currently written in Ruby, so be warned.  I'm porting to to sh.

On a related note, can a bourne shell guru drop me a line and tell me how to 
for-loop over -lines- in a file instead of -words- in a file?  I've tried 
changing the delimiter characters with no luck. :-)

-Cliff L. Biffle