From owner-freebsd-mobile@FreeBSD.ORG Fri Nov 11 04:54:22 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 BA6B916A41F for ; Fri, 11 Nov 2005 04:54:22 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5310E43D45 for ; Fri, 11 Nov 2005 04:54:22 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from [192.168.214.215] (c-24-1-232-64.hsd1.tx.comcast.net[24.1.232.64]) by comcast.net (sccrmhc13) with ESMTP id <2005111104540201300388dke>; Fri, 11 Nov 2005 04:54:11 +0000 Message-ID: <4373CF8B.5080703@computer.org> Date: Thu, 10 Nov 2005 22:54:03 +0000 From: Eric Schuele User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051107) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sam Leffler References: <20051111010856.4778aa3a.torfinn.ingolfsen@broadpark.no> <4373E20F.9040404@errno.com> In-Reply-To: <4373E20F.9040404@errno.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 04:54:22 -0000 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. > locking issues that make loading on demand painful and I never got > around to welding the crypto modules into the wlan module. > >> >> b) in /etc/rc.conf: >> ifconfig_ath0="DHCP" >> >> c) run /etc/rc.d/wpa_supplicant start ath0 >> >> But how do I automatically run wpa_supplicant on startup? >> >> I'm running 6.0-stable: >> root@kg-jobbpc3# uname -a >> FreeBSD kg-jobbpc3.kg4.no 6.0-STABLE FreeBSD 6.0-STABLE #0: Sun Nov 6 >> 01:33:12 CET 2005 >> root@kg-jobbpc3.kg4.no:/storage/usr/obj/storage/usr/src/sys/GENERIC i386 >> > Sam > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > -- Regards, Eric