Any Plans to Support ath9k?

Weinter

Member

Reaction score: 3
Messages: 64

Linux has released drivers for Atheros N Wireless call ath9k
It is OpenSourced
Any plans to add native support for Atheros Wireless N?
 

lme@

Administrator
Staff member
Administrator
Moderator
Developer

Reaction score: 303
Messages: 776

AFAIK there are no plans to port ath9k.
 

bartgrefte

Member


Messages: 20

Sorry for the kick.

Has there been any change on this?
I would like to get a wifi N card working as access point with pfSense.
Right now it only does G and the driver that is available (ath(4)) has the "stuck beacon" bug, although after trying a bunch of settings it now works, but without N-features.
 

butcher

Member
Developer

Reaction score: 12
Messages: 51

You can try FreeBSD CURRENT. Adrian Chadd has done some work with ath(4) driver and he's still doing.
 

bartgrefte

Member


Messages: 20

Okay :)

Well, if you can tell me how to get and manually update the ath(4) driver currently in pfSense, I will give it a try.
 

bartgrefte

Member


Messages: 20

I know I know...

I only want to know where I can get the most recent ath(4) driver from FreeBSD, that's all.
Then I'll figure the rest out on my own.
 

bartgrefte

Member


Messages: 20

Hmm, don't know if pfSense has that. Gonna check that tomorrow :)
But that's the location where the modifications are send to when they are ready?
 

bartgrefte

Member


Messages: 20

Installed svn using pkg_add, does not work because of missing "libgssapi.so.10". Found the file in my FreeBSD virtual pc, now installing samba to copy it over the network from there.

edit: Couldn't get samba to work, so used scp.

Ended up coping over all of these:

Code:
/usr/lib/libgssapi.so.10
/usr/lib/libheimntlm.so.10
/usr/lib/libkrb5.so.10
/usr/lib/libhx509.so.10
/usr/lib/libasn1.so.10
/usr/lib/libroken.so.10

Ran your command, which worked :) Gonna try compile/build it later, dinner first ;)

edit:

Can't seem to compile it. Running make followed by filename produces a whole lot of text containing errors, tried this with FreeBSD 8.2 in the virtual pc I got. Someone on pfSense's forum mentioned the compiling should be done there and not in pfSense. (That's why I tried that there.)
 

bartgrefte

Member


Messages: 20

Managed to get the driver compiled in my virtual pc with FreeBSD 8.2, something with forgetting to install the kernel headers:r

Anyway, now I just have to figure out how to have pfSense ignore the ath driver that is already in the kernel and use the one I got here. Google explained how to enable/disable (load/unload) drivers in FreeBSD, but it not explained how to do what I want, without having to rebuild the kernel that is.

How does one do this in FreeBSD? If it's even possible...
 

bartgrefte

Member


Messages: 20

After a few attempts I managed to make a custom pfSense, however, the driver is still in there.

Adding
Code:
WITHOUT_MODULES = ath
to /etc/make.conf does not seem to work.
 

tingo

Son of Beastie

Reaction score: 632
Messages: 2,534

How does your kernel config file look? It is there you need to change things.
For example, the GENERIC config file includes the following for ath:
Code:
root@kg-vm# grep ath /sys/amd64/conf/GENERIC
device		ath		# Atheros pci/cardbus NIC's
device		ath_hal		# pci/cardbus chip support
device		ath_rate_sample	# SampleRate tx rate control for ath
device		uath		# Atheros AR5523 wireless NICs

Create a new kernel config file, include GENERIC (or whatever pfSense calls it), the do
nodevice ath
and so on to exclude the drivers from it. Then compile your new kernel.
 

bartgrefte

Member


Messages: 20

It does not (seem to) work that way with pfSense, apparently I had to modify the pfSense buildscript, but that did not help. Then someone said to add
Code:
export MODULES_OVERRIDE="i2c ipmi acpi ndis ipfw ipdivert dummynet fdescfs cpufreq opensolaris zfs glxsb runfw if_stf ath"
to certain buildfiles. The only thing that was different when doing that, was that the Atheros module was integrated in the kernel and added as separate module in the /boot/kernel/ folder.
 

tingo

Son of Beastie

Reaction score: 632
Messages: 2,534

Well, somewhere in the pfSense source the kernel config they use is hidden. Once you find it, you can change it.
 
Top