From owner-freebsd-questions@FreeBSD.ORG Fri Jan 2 23:20:54 2009 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 B4083106566C for ; Fri, 2 Jan 2009 23:20:54 +0000 (UTC) (envelope-from maddaemon@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by mx1.freebsd.org (Postfix) with ESMTP id 84A518FC1D for ; Fri, 2 Jan 2009 23:20:54 +0000 (UTC) (envelope-from maddaemon@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so8900943wfg.7 for ; Fri, 02 Jan 2009 15:20:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=k0Oezx1rdaXAXUtOQtRzYWVLxmjbm14onvV+T6nsX0s=; b=tx2K1JOeI1EFr2QQYSrBSG5NKJpYGm2vjlzxbGhi0SQyK+0db9YEQG35qtOrlgENXC 33DYj7zKbEN/fO0sUn13ExyPioGPw/MxULiNv6Z6JCD6J3Q1S03xZizqBYpmhGtVTgpt VRWSPOnEBMTneAoPBUgcf0LyKGvq/KllKhWKQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=RWKVxcpwLMSjecEaWXJhxhE0uhYGTb8jqCtRLmspGNgSYDzGGdRJxjtwJPL5KDUf+D ygXlizaaSM07xo8+HcdXLThKyVvcCEnUrWTs3WaHS8VbP+z9ZHWu9/tSbazFreqK1pSY qkJLCIVyXX+Srh0x98uFGGNPdW8BHhN0YVknU= Received: by 10.143.8.17 with SMTP id l17mr7504520wfi.173.1230937071110; Fri, 02 Jan 2009 14:57:51 -0800 (PST) Received: by 10.143.41.9 with HTTP; Fri, 2 Jan 2009 14:57:51 -0800 (PST) Message-ID: <6c1774c50901021457q4c81e1c9k36ac7c10f87a035b@mail.gmail.com> Date: Fri, 2 Jan 2009 17:57:51 -0500 From: "maddaemon@gmail.com" To: eculp@casasponti.net In-Reply-To: <20090102093645.17qwm4xcuoo0coggs@intranet.casasponti.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20090102093645.17qwm4xcuoo0coggs@intranet.casasponti.net> Cc: freebsd-questions Subject: Re: HowTo configure WPA[2] ath0 [wlan0] on up to date 8.0-CURRENT 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: Fri, 02 Jan 2009 23:20:55 -0000 On Fri, Jan 2, 2009 at 10:36 AM, wrote: > I'm currently using wep at home and in the office configured from rc.conf. > example: > ifconfig_wlan0="DHCP ssid virus wepmode on wepkey 1:0x2373FE9515 weptxkey 1" > > I'm traveling and haven't been able to connect to hotspots that are using > wpa[2]. The handbook isn't up to date and I have been looking for over a > week unsuccessfully. As far as I know there isn't an X utility to do this > from and I've tried wpa_suplicant.conf with a router here but since I don't > understand it, I'm sure it is incorrect (plus the important clue that it > doesn't work) Hopefully this is an easier and simpler way to do this. > > The wpa_supplicant.conf configuration that I've tested is: > > ctrl_interface=/var/run/wpa_supplicant > ctrl_interface_group=0 > ## eapol_version=1 > ap_scan=1 > fast_reauth=1 > network={ > scan_ssid=1 > proto=WPA2 > ssid="TestRouter" > ## bssid=[mac address of your access point here] > ## key_mgmt=WPA-PSK > ## pairwise=TKIP > ## psk=[i forgot what this is, presumably the md5 of the passphrase.] > password="Testing123" > } > > Any suggestions for getting out of this glass of water that I'm drowning in > would be greatly appreciated. Handbook: Section 31 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html#NETWORK-WIRELESS HTML Manpage for wpa_supplicant.conf: http://www.freebsd.org/cgi/man.cgi?query=wpa_supplicant.conf&sektion=5 proto List of acceptable protocols; one or more of: WPA (IEEE 802.11i/D3.0) and RSN (IEEE 802.11i). WPA2 is another name for RSN. If not set this defaults to "WPA RSN". I have 7.0-RELEASE working perfectly with WPA2/CCMP (using AES), so I can't imagine that 8 would break it that badly, but I could be wrong.. Here's my (very simple) wpa_supplicant.conf (psk edited, of course): ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel eapol_version=1 ap_scan=1 fast_reauth=1 # Home: network={ ssid="" scan_ssid=1 key_mgmt=WPA-PSK psk="x}&]{-9jimCm`6V:>LI#HiLa[Q5\jL/b;R:2)/%HU#zW=:&?K?PP8mx48`Jvx-K" } HTH ~MD