Date: Sun, 30 Apr 2006 16:32:21 +0200 From: Erik Trulsson <ertr1013@student.uu.se> To: dick hoogendijk <dick@nagual.st> Cc: fbsdq <freebsd-questions@freebsd.org> Subject: Re: device ath compile in kernel Message-ID: <20060430143221.GA75000@owl.midgard.homeip.net> In-Reply-To: <20060430161622.9bb0ff5e.dick@nagual.st> References: <20060430161622.9bb0ff5e.dick@nagual.st>
next in thread | previous in thread | raw e-mail | index | archive | help
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.) -- <Insert your favourite quote here.> Erik Trulsson ertr1013@student.uu.se
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060430143221.GA75000>