From owner-freebsd-questions@FreeBSD.ORG Sun Apr 30 14:32:23 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A931F16A400 for ; Sun, 30 Apr 2006 14:32:23 +0000 (UTC) (envelope-from erikt@owl.midgard.homeip.net) Received: from pne-smtpout1-sn2.hy.skanova.net (pne-smtpout1-sn2.hy.skanova.net [81.228.8.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36BE143D48 for ; Sun, 30 Apr 2006 14:32:23 +0000 (GMT) (envelope-from erikt@owl.midgard.homeip.net) Received: from falcon.midgard.homeip.net (83.253.29.241) by pne-smtpout1-sn2.hy.skanova.net (7.2.072.1) id 4450AB65000AADB7 for freebsd-questions@freebsd.org; Sun, 30 Apr 2006 16:32:22 +0200 Received: (qmail 782 invoked from network); 30 Apr 2006 16:32:21 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with SMTP; 30 Apr 2006 16:32:21 +0200 Received: (qmail 75030 invoked by uid 1001); 30 Apr 2006 16:32:21 +0200 Date: Sun, 30 Apr 2006 16:32:21 +0200 From: Erik Trulsson To: dick hoogendijk Message-ID: <20060430143221.GA75000@owl.midgard.homeip.net> Mail-Followup-To: dick hoogendijk , fbsdq References: <20060430161622.9bb0ff5e.dick@nagual.st> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060430161622.9bb0ff5e.dick@nagual.st> User-Agent: Mutt/1.5.11 Cc: fbsdq Subject: Re: device ath compile in kernel 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: Sun, 30 Apr 2006 14:32:23 -0000 On Sun, Apr 30, 2006 at 04:16:22PM +0200, dick hoogendijk wrote: > I wanted to compile my wifi ath based card in the new kernel, but got > some errors that I can't solve myself. > After adding "device ath" I got compilation errors (ath_hal errors), so > I put in "device ath_hal" (although there is no mention of it in the > dox). The hal errors dissappeared, but now I got ath_rate errors while > compiling. Adding "device ath_rate" did not work. ;-) Does not exist.. > > So, what exactly do I put in the kernel config when I want to compile > support for my ath based wifi card? > The wlan options compile in are: > # Wireless NIC cards > device wlan #802.11 support > device wlan_wep #802.11 WEP support > device wlan_ccmp #802.11 CCMP support > device wlan_tkip #802.11 TKIP support > device wlan_xauth #802.11 ext authenticatorsupport > device wlan_acl #802.11 MAC ACL support > > How do I add my ath card ? Loading it from /boot/loader.conf goes well, > but I want it in the kernel. The ath(4) manpage says: NAME ath -- Atheros IEEE 802.11 wireless network driver SYNOPSIS To compile this driver into the kernel, place the following lines in your kernel configuration file: device ath device ath_hal device ath_rate_sample device wlan Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): if_ath_load="YES" [...] You will also need the various wlan_xxx options you list above if you wish to use WPA and/or WEP. (Using WPA is strongly recommended.) -- Erik Trulsson ertr1013@student.uu.se