Date: Sat, 03 Jan 2009 10:09:42 -0600 From: eculp@casasponti.net To: "maddaemon@gmail.com" <maddaemon@gmail.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: HowTo configure WPA[2] ath0 [wlan0] on up to date 8.0-CURRENT Message-ID: <20090103100942.17qwm4xcupusw00oo@intranet.casasponti.net> In-Reply-To: <6c1774c50901021457q4c81e1c9k36ac7c10f87a035b@mail.gmail.com> References: <20090102093645.17qwm4xcuoo0coggs@intranet.casasponti.net> <6c1774c50901021457q4c81e1c9k36ac7c10f87a035b@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting "maddaemon@gmail.com" <maddaemon@gmail.com>: > On Fri, Jan 2, 2009 at 10:36 AM, <eculp@casasponti.net> 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="<none>" > scan_ssid=1 > key_mgmt=WPA-PSK > psk="x}&]{-9jimCm`6V:>LI#HiLa[Q5\jL/b;R:2)/%HU#zW=:&?K?PP8mx48`Jvx-K" > } I really needed a working example and that did it. I've tested with several and they all work fine. I also reread the handbook pages and understood them much better. I also wasn't using /etc/rc.d/netif for testing. I had forgotten about it. Thanks so much, ed > > HTH > > ~MD > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > "Failure is the opportunity to begin again more intelligently." "Fracaso es la oportunidad de reiniciar con mas inteligencia" Henry Ford
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090103100942.17qwm4xcupusw00oo>