[PC BSD] How to apply an atheros patch?

Romanrp said:
I want to apply this patch but I am not sure how.
http://people.freebsd.org/~rpaulo/ar9285_stable_8.diff
How would I apply this?
It's already been committed I think, but only in -current.

SVN rev 203159 on 2010-01-29 10:10:14Z by rpaulo

Add support for the AR9285 chipset, which is found on many netbooks
available today.

This card is a low power 802.11bgn that only does 11n rates up to MCS 7
(that's 65 Mbps in 20Mhz mode and 135 in 40Mhz mode).
802.11n is not yet supported, but will be in the future.

The driver still has a problem regarding to the setting of txpower on
the card, so don't expect good performance yet. After fixing this
problem, an MFC is possible.

Special thanks to iXsystems and S Smirnov <tonve at yandex.ru> for help
with the purchase of a netbook with this card.
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/conf/files revision 1.1496

But something like this usually does the trick:
Code:
fetch http://people.freebsd.org/~rpaulo/ar9285_stable_8.diff
cd /usr/src
patch < /place/where/diff/file/is/stored
And hope you don't get any rejected chunks :)

And How do I install network manager or wicd since doing
pkg_add wicd doesn't seem to work.
You don't. They're still looking for people to help port network manager :e
 
You do need to rebuild and install your kernel. After that the ath driver should be able to recognize your card.

Also have a look in this thread.
 
edit: to install the kernel all I have to do is this?
On (64bit)
# cp /PCBSD/conf/PCBSD.amd64 sys/amd64/conf/PCBSD

# make buildkernel installkernel KERNCONF=PCBSD

note that I use pcbsd but since It is freebsd with gui i figured that i would be better off posting on freebsd forums since i can get a lot more help here
 
Back
Top