From owner-freebsd-mobile@FreeBSD.ORG Fri Nov 11 05:15:24 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F42516A41F for ; Fri, 11 Nov 2005 05:15:24 +0000 (GMT) (envelope-from mv@roq.com) Received: from p4.roq.com (ns1.ecoms.com [207.44.130.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id B182743D49 for ; Fri, 11 Nov 2005 05:15:23 +0000 (GMT) (envelope-from mv@roq.com) Received: from p4.roq.com (localhost.roq.com [127.0.0.1]) by p4.roq.com (Postfix) with ESMTP id 185464CE44; Fri, 11 Nov 2005 05:15:24 +0000 (GMT) Received: from [192.168.46.52] (ppp166-27.static.internode.on.net [150.101.166.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by p4.roq.com (Postfix) with ESMTP id D1BD84CE3A; Fri, 11 Nov 2005 05:15:22 +0000 (GMT) Message-ID: <437428E7.7070507@roq.com> Date: Fri, 11 Nov 2005 16:15:19 +1100 From: Michael Vince User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.12) Gecko/20051110 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Schuele References: <20051111010856.4778aa3a.torfinn.ingolfsen@broadpark.no> <4373E20F.9040404@errno.com> <4373CF8B.5080703@computer.org> In-Reply-To: <4373CF8B.5080703@computer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-mobile@freebsd.org Subject: Re: 6.0 and wireless setup - documentation? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Nov 2005 05:15:24 -0000 Eric Schuele wrote: > Sam Leffler wrote: > >> Torfinn Ingolfsen wrote: >> >>> Hello! >>> >>> After upgrading my laptop (Thinkpad T41) to FreeBSD 6.0, I was ready >>> to try out the new wireless functionality. >>> My wireless router uses WPA, and I use dhcp on my network. >>> >>> I checked the handbook, the faq and did a search on Google for "freebsd >>> wireless wpa". >>> >>> 1) Where are the documentation? >>> There are man pages for ifconfig, wpa_supplicant and >>> wpa_supplicant.conf >>> (BTW, that man page fails to tell you that the file belongs in /etc), >>> but there are no "how to set up all necessary files and config for >>> wireless with WPA" articles anywhere (that I could find). >> >> >> >> The documentation leaves a lot to be desired. >> >>> >>> 2) It seems that we are missing some infrastructure bits (or >>> documentation) in /etc/rc.conf. I can use 'ifconfig_ath0="DHCP"' in >>> /etc/rc.conf to tell it to start dhclient for that interface, which is >>> fine. But how do I tell the system to start wpa_supplicant? As far >>> as I could find out, there are no "wpa_" knobs in >>> /etc/defaults/rc.conf and the /etc/rc.d/wpa_supplicant script is >>> missing >>> documentation. >>> How is this supposed to work, actually? >> >> >> >> ifconfig_ath0="WPA DHCP" >> >>> >>> I can get the wireless work manually, like this: >>> a) in /boot/loader.conf: >>> if_ath_load="YES" >>> wlan_tkip_load="YES" >>> (I got an error message that said the the wlan_tkip modulen should be >>> loaded manually for now) >> >> >> >> Yes, the crypto modules need to be loaded by hand for now. There are > > > I have: > device wlan_wep > device wlan_ccmp > device wlan_tkip > in my kernel config file... is this improper? Seems to be working > without any problems. I am a bit anti kernel recompile and put them all in /boot/loader.conf and it works fine. Interestingly just looking at the wireless article now it looks like they have updated it to include an example of loading them as modules which is good to see, in my opinion there isn't enough examples and docs using kernel modules through out the FreeBSD documentation. wlan_wep_load="YES" wlan_tkip_load="YES" wlan_ccmp_load="YES" wlan_xauth_load="YES" wlan_acl_load="YES" ath_hal_load="YES" ath_rate_load="YES" if_ath_load="YES"