From owner-freebsd-questions@FreeBSD.ORG Tue Jul 8 18:26:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0039106566C for ; Tue, 8 Jul 2008 18:26:35 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id B4CB78FC0C for ; Tue, 8 Jul 2008 18:26:35 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 96DC51CD18; Tue, 8 Jul 2008 10:26:34 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Tue, 8 Jul 2008 20:26:33 +0200 User-Agent: KMail/1.9.7 References: <20080707213210.5c51fc57@verizon.net> In-Reply-To: <20080707213210.5c51fc57@verizon.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807082026.33609.fbsd.questions@rachie.is-a-geek.net> Cc: David Gurvich Subject: Re: wpa, static ip only on specific networks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2008 18:26:36 -0000 On Tuesday 08 July 2008 03:32:10 David Gurvich wrote: > How does one configure a wireless connection using wpa and dhcp on some > networks and wpa with a static ip on others? Tough. I'd probably configure the interface as "WPA inet 127.0.0.2 netmask 255.0.0.0" and then put a script in /usr/local/etc/rc.d that would read out the BSSID and make it's descision accordingly. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.