From owner-freebsd-mobile@FreeBSD.ORG Fri Nov 11 00:08:58 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 C0F9516A41F for ; Fri, 11 Nov 2005 00:08:58 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52EDA43D45 for ; Fri, 11 Nov 2005 00:08:58 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IPR00K04KL1IDA0@osl1smout1.broadpark.no> for freebsd-mobile@freebsd.org; Fri, 11 Nov 2005 01:12:37 +0100 (CET) Received: from kg-work.kg4.no ([80.203.92.30]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0IPR00CMTKJRM990@osl1sminn1.broadpark.no> for freebsd-mobile@freebsd.org; Fri, 11 Nov 2005 01:11:51 +0100 (CET) Date: Fri, 11 Nov 2005 01:08:56 +0100 From: Torfinn Ingolfsen X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH To: freebsd-mobile@freebsd.org Message-id: <20051111010856.4778aa3a.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: 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 00:08:58 -0000 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). 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? 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) 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 -- Regards, Torfinn Ingolfsen, Norway