Re: ath patch+hal for test



Oh, my apologies, I was being too hasty.. I should have noted that a
couple of days ago I tried this exact process and wasn't successfull
at all, so something major happened since then I'm assuming..

Also, the card I am using is probably a pretty common one, so I'd
expect this to work for lots of people

My wireless card is an "EnGenius EMP-8602" which uses a "6th
Generation Atheros AR5006" chipset.
http://www.netgate.com/product_info.php?products_id=279 is the card I've got.

It is also the exact same as the Senao NMP-8602 models and similar
cards I had all seen with this Atheros chipset..

ath_hal: 0.9.16.13 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413, DFS)
npx0: <math processor> on motherboard
ath0: <Atheros 5212> mem 0xfafe0000-0xfafeffff irq 9 at device 3.0 on pci2
ath0: Ethernet address: 00:02:6f:3e:1c:9e
ath0: mac 10.4 phy 6.1 radio 6.3

Just thought that might be useful in case anyone with similar cards
was interested

Cheers


On 2/9/06, Ryan R <air.lightz@xxxxxxxxx> wrote:

Hi all!

Just reporting in.. The patch worked EXCELLENT, not a single error
during patching (Which I had loads of before) and not a single issue
compiling the kernel. Here's exactly what I did:


1. Popped in my original 6.0-BOOTONLY ISO image, with a wired
ethernet connection plugged in.

2. Chose the MINIMAL install, and only chose the cvsup-without-gui
package, bash, and lynx (to view the handbook or websites).

3. Edited the stock 'standard-supfile' and synced my source tree (To
6.1-PRERELEASE)

4. cd /usr/src , then patch -p0 < /path/to/ath.patch (You have to
manually type in which files to patch though once the process starts,
the ath.patch refers to a customized /usr/ncvs directory which doesn't
exist) and patched each file respectively.

5. cd /usr/src/sys/contrib/dev and renamed the original ath directory,
unpacked the ath_hal-20051212.tgz here and renamed it in place of the
original ath

6. make buildworld , make buildkernel , make installkernel, reboot,
mergemaster -p, make installworld

7. created a real simple /etc/wpa_supplicant.conf file for my network,
with my WPA2 PSK and home network SSID info in it

8. added 'ifconfig_ath0="ssid my_ssid WPA DHCP" ' to /etc/rc.conf

9. manually loaded the if_ath module to make sure I got the dmesg info
and it displayed itself properly, which it did, then added
'if_ath_load="YES" , and , wlan_ccmp_load="YES" ' to my
/boot/loader.conf file to make sure they loaded automatically;
rebooted again for good measure and to bring everything up, and
voila!!works like a charm! My WPA2 home network finally works with my
laptop!!

Just wanted to say thanks again, I can now actually make use of this
laptop and use it all over the house

Excellent job!! Thanks!!
Cheers!

-Ryan

On 2/6/06, Sam Leffler <sam@xxxxxxxxx> wrote:
You can find the 0.9.16.13 hal (that's been out for a while) and an
updated ath.patch at http://www.freebsd.org/~sam/ath. Please test and
report any regressions against what is in CVS. This patch should work
on both HEAD and RELENG_6. I hope to get things in CVS in time to make
the 6.1 release so timely feedback is important.

This hal is required if you have one of the newer Atheros parts (e.g.
5414). I've mainly tested station mode so beware of ap mode problems.

I am aware of one issue that is not fixed in this patch: beacon miss
handling may not work correctly if the beacon timers are initialized
with a stale tsf (as can happen when scanning many channels). This
affects both station and adhoc mode operation and will be fixed when I
commit the changes.

If you have a laptop with a radio on/off switch I've tried to add the
necessary glue to make it functional but since I don't have any laptops
of this sort the code is untested.

Sam
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"


_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages