device ath compile in kernel
Erik Trulsson
ertr1013 at student.uu.se
Sun Apr 30 14:32:23 UTC 2006
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 at student.uu.se
More information about the freebsd-questions
mailing list