From owner-freebsd-current@FreeBSD.ORG Tue Jul 26 14:27:02 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F09216A420 for ; Tue, 26 Jul 2005 14:27:02 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id B06A943D46 for ; Tue, 26 Jul 2005 14:27:01 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from [208.206.151.59] (host59.gtisd.com[208.206.151.59]) by comcast.net (sccrmhc12) with ESMTP id <200507261426440120096sfbe>; Tue, 26 Jul 2005 14:26:44 +0000 Message-ID: <42E64823.5080204@computer.org> Date: Tue, 26 Jul 2005 09:26:43 -0500 From: Eric Schuele User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050721) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: WPA_Supplicant and multiple networks with different 'media' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jul 2005 14:27:02 -0000 Hello, Ok... I've got wpa_supplicant working fine. Even starts up when I boot (Thx Bakul). But now I would like it to work with multiple networks. I believe my wpa_supplicant.conf is setup properly (appended to bottom). The problem appears to be that my multiple networks are "different media", so to speak. One is b the other g.... one is on channel 11 the other 6.... one is defaulting to one wep key the other is different. It never tries anything but my home networks "media" type. That being the last media it successfully connected to. If I manually change things using ifconfig... it will associate with the office network. But seems this should be automatic. How (in wpa_supplicant.conf maybe?) can I give it a few types of media to cycle through like it does the network blocks? I would think it logical to have a "media" parameter=value pair inside the network block but I don't see it in the man page. I have seen recent (a month or so) posts saying the man pages have not yet been updated.. maybe that is still the case. So a second question would be... where can I find an additional source of current info on wpa_supplicant configuration? I have looked through man pages, online manual, FreeBSD mail lists, etc... maybe I'm just not looking for the right stuff. Pointers would be appreciated. Thanks for the help. My wpa_supplicant.conf: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel # Home Network network={ ssid="MySSID" scan_ssid=1 key_mgmt=NONE wep_tx_keyidx=0 wep_key0="MyPassphrase" } # Office Network network={ ssid="OfficeSSID" scan_ssid=1 key_mgmt=NONE wep_tx_keyidx=0 wep_key0="OfficePassphrase" } -- Regards, Eric