From owner-freebsd-current@FreeBSD.ORG Fri Sep 30 09:59:28 2005 Return-Path: X-Original-To: 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 845B816A41F for ; Fri, 30 Sep 2005 09:59:28 +0000 (GMT) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id BA82B43D4C for ; Fri, 30 Sep 2005 09:59:27 +0000 (GMT) (envelope-from shoesoft@gmx.net) Received: (qmail invoked by alias); 30 Sep 2005 09:59:25 -0000 Received: from h081217095053.dyn.cm.kabsi.at (EHLO localhost.localdomain) [81.217.95.53] by mail.gmx.net (mp014) with SMTP; 30 Sep 2005 11:59:25 +0200 X-Authenticated: #16703784 From: Stefan Ehmann To: current@freebsd.org Content-Type: text/plain Date: Fri, 30 Sep 2005 11:59:19 +0200 Message-Id: <1128074359.1482.17.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Subject: wpa_supplicant + open APs 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: Fri, 30 Sep 2005 09:59:28 -0000 I'm using the if_iwi driver. At home I'm using WPA, at work there's an open AP. I want to use wpa_supplicant for both, so I don't need to edit configs each time I switch locations. wpa_supplicant works fine with the WPA setup but fails to associate with the open AP. My wpa_supplicant.conf looks something like this: ctrl_interface_group=0 eapol_version=1 ap_scan=1 fast_reauth=1 network={ ssid="homessid" key_mgmt=WPA-PSK psk="mypass" } network={ ssid="workssid" key_mgmt=NONE } The same config file works fine using Linux, so I believe it should be correct. Has anyone succeeded in wpa_supplicant and open APs? Does it work it at all or is this just a if_iwi problem? wpa_supplicant correctly detects the AP when scanning, but the following lines look bogus (especially the 00:00:00:00:00:00 instead of the real MAC) wpa_driver_bsd_set_drop_unencrypted: enabled=0 wpa_driver_bsd_associate: ssid 'homessid' wpa ie len 0 pairwise 0 group 0 key mgmt 2 wpa_driver_bsd_associate: set PRIVACY 0 Setting authentication timeout: 5 sec 0 usec Authentication with 00:00:00:00:00:00 timed out. Added BSSID 00:00:00:00:00:00 into blacklist More debug output can be provided if needed. Thanks.