Re: device ath compile in kernel

2006-05-01 Thread John Murphy
dick hoogendijk [EMAIL PROTECTED] wrote:

On Sun, 30 Apr 2006 09:42:05 -0500
Eric Schuele [EMAIL PROTECTED] wrote:

 dick hoogendijk wrote:
  How do I add my ath card ? Loading it from /boot/loader.conf goes
  well, but I want it in the kernel.
  
 
 I've got the following:
 # wLAN stuff
 device wlan_wep
 device wlan_ccmp
 device wlan_tkip
 
 # Ath NIC
 device ath
 device ath_hal
 device ath_rate_sample   # - probably what you are missing.

That was it. Thank you very much.

Hmm.  Running '6.0 here with ath compiled into the kernel and there
is no mention of ath_rate_sample in the ath man page.  The synopsis
goes:
 device ath
 device ath_hal
 device ath_rate_onoe
 device wlan

Has ath_rate_onoe been replaced by ath_rate_sample in '6.1?

I feel quite pleased to have got mine running with an ipsec
esp tunnel, mostly by adapting the instructions at:
http://genomics.lbl.gov/~tham/wifi-ipsec.txt

-- 
John.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: device ath compile in kernel

2006-05-01 Thread Eric Schuele

John Murphy wrote:

dick hoogendijk [EMAIL PROTECTED] wrote:


On Sun, 30 Apr 2006 09:42:05 -0500
Eric Schuele [EMAIL PROTECTED] wrote:


dick hoogendijk wrote:

How do I add my ath card ? Loading it from /boot/loader.conf goes
well, but I want it in the kernel.


I've got the following:
# wLAN stuff
device wlan_wep
device wlan_ccmp
device wlan_tkip

# Ath NIC
device ath
device ath_hal
device ath_rate_sample   # - probably what you are missing.

That was it. Thank you very much.


Hmm.  Running '6.0 here with ath compiled into the kernel and there
is no mention of ath_rate_sample in the ath man page.  The synopsis
goes:
 device ath
 device ath_hal
 device ath_rate_onoe
 device wlan

Has ath_rate_onoe been replaced by ath_rate_sample in '6.1?


Not replaced by.  you can use whichever you like. Though it's my 
understanding that ath_rate_sample is the *preferred* algorithm.


In the 6.1-RC man pages, *_onoe is not mentioned, while *_sample is.



I feel quite pleased to have got mine running with an ipsec
esp tunnel, mostly by adapting the instructions at:
http://genomics.lbl.gov/~tham/wifi-ipsec.txt




--
Regards,
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


device ath compile in kernel

2006-04-30 Thread dick hoogendijk
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.

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 ++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: device ath compile in kernel

2006-04-30 Thread Erik Trulsson
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
 devicewlan#802.11 support
 devicewlan_wep#802.11 WEP support
 devicewlan_ccmp   #802.11 CCMP support
 devicewlan_tkip   #802.11 TKIP support
 devicewlan_xauth  #802.11 ext authenticatorsupport
 devicewlan_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
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: device ath compile in kernel

2006-04-30 Thread Eric Schuele

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.



I've got the following:
# wLAN stuff
device wlan_wep
device wlan_ccmp
device wlan_tkip

# Ath NIC
device ath
device ath_hal
device ath_rate_sample   # - probably what you are missing.

HTH

--
Regards,
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: device ath compile in kernel

2006-04-30 Thread dick hoogendijk
On Sun, 30 Apr 2006 09:42:05 -0500
Eric Schuele [EMAIL PROTECTED] wrote:

 dick hoogendijk wrote:
  How do I add my ath card ? Loading it from /boot/loader.conf goes
  well, but I want it in the kernel.
  
 
 I've got the following:
 # wLAN stuff
 device wlan_wep
 device wlan_ccmp
 device wlan_tkip
 
 # Ath NIC
 device ath
 device ath_hal
 device ath_rate_sample   # - probably what you are missing.

That was it. Thank you very much.

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 ++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]