You are not logged in.

#1 2008-05-31 04:41:35

rfreidel
Member
From: Butte, MT
Registered: 2004-10-23
Posts: 7

x86_64 and atheros ar5007... it's alive!

First off I should apologize in advance if this isn't the proper place for this post, but hey I am happy.

I while back I bought a cheap laptop, Compaq f755us, I think is the model, everything worked under linux except for that pesky ar5007 wifi, up till tonight I had to use ndiswrapper.

Not any more...

[ronf@mobile ~]$ uname -a
Linux mobile 2.6.25 #2 SMP PREEMPT Fri May 30 21:20:44 MDT 2008 x86_64 AMD Athlon(tm) 64 X2 Dual-Core Processor TK-57 AuthenticAMD GNU/Linux

And now for the good stuff

[ronf@mobile ~]$ ifconfig
ath0      Link encap:Ethernet  HWaddr 00:1F:3A:74:2C:45  
          inet addr:192.168.1.6  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21f:3aff:fe74:2c45/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4106 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2112 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:4621250 (4.4 Mb)  TX bytes:274633 (268.1 Kb)
[ronf@mobile ~]$ modinfo ath_pci
filename:       /lib/modules/2.6.25/net/ath_pci.ko
license:        Dual BSD/GPL
version:        trunk
description:    Support for Atheros 802.11 wireless LAN cards.
author:         Errno Consulting, Sam Leffler

Lets all thank Sam for getting the new ath_hal out.

If anyone needs help getting their ar5007 going let me know.

Last edited by rfreidel (2008-05-31 05:43:46)

Offline

#2 2008-05-31 11:24:00

gajo
Member
Registered: 2008-04-01
Posts: 93
Website

Re: x86_64 and atheros ar5007... it's alive!

just how did you get it to work? I'm using the newest kernel & madwifi and it's still giving me the same HAL error as before

Offline

#3 2008-05-31 13:27:33

rfreidel
Member
From: Butte, MT
Registered: 2004-10-23
Posts: 7

Re: x86_64 and atheros ar5007... it's alive!

Sam Leffler released a new hal on his site people.freebsd.org/~sam.

Download madwifi-nr-r3366+ar5007 from the madwifi site, download ath_hal-20080528.tgz from people.freebsd.org/~sam.

Extract madwifi, delete the existing hal folder, replace it with the new one (you'll have to rename the folder to hal). Then do a make ; make install.

Of course to compile madwifi you will need to have kernel sources for the kernel you are using.

Last edited by rfreidel (2008-05-31 19:44:51)

Offline

#4 2008-05-31 13:46:53

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: x86_64 and atheros ar5007... it's alive!

U should release an AUR package for the patched HAL. That way people will be able to track it with pacman. That would be the single greatest thing u could for anyone with a atheros 5007 card.

Offline

#5 2008-05-31 13:59:46

rfreidel
Member
From: Butte, MT
Registered: 2004-10-23
Posts: 7

Re: x86_64 and atheros ar5007... it's alive!

I would like to, but I am using a vanilla kernel from kernel.org since I couldn't find kernel sources for the arch 2.6.25.

If we could get it together arch (my favorite Linux distro) would be the first in supporting the ar5007 chip wifi.

Last edited by rfreidel (2008-05-31 15:21:58)

Offline

#6 2008-05-31 22:50:44

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: x86_64 and atheros ar5007... it's alive!

since I couldn't find kernel sources for the arch 2.6.25

edit /etc/abs.conf

make sure the core repository is active, u might wanna put a ! in front of the repositories u don't wanna d/l

then issue a ...

abs

command at terminal, check /var/abs for all the pkgbuilds

Or you can go here http://repos.archlinux.org/viewvc.cgi/k … core-i686/ and get the PKGBUILD of the kernel.

U will inevitably will need to read the wiki on abs system, which can be found here http://wiki.archlinux.org/index.php/ABS

A hint, just edit the pkgbuild with your patch and run makepkg to see if the patch succeeds. Then finish compiling package and install it. Really, u should have been doing this from the start, u will finally see just how easy and KISS arch really is.

Last edited by jacko (2008-05-31 22:52:16)

Offline

#7 2008-06-02 19:32:35

rfreidel
Member
From: Butte, MT
Registered: 2004-10-23
Posts: 7

Re: x86_64 and atheros ar5007... it's alive!

Thanks for all of that, but I miss the days of doing a pacman -S kernel-sources and it was installed then you could compile a kernel the way you wished.

I personally don't see how using AUR is KISS, I have been using Unix for years, the OS I use the most is BSD on servers, I still prefer to compile programs the old fashioned way, I can see where things break, and I then can see how to fix them.

I just hope my post  will let other people with similar hardware will know that they can stop using ndiswrapper with  their ar5007 and have madwifi instead.

It is simple to do the delete and replace. Then do a make install/modprobe ath_pci "it just don't get any easier than that".

Offline

#8 2008-06-03 09:37:34

gajo
Member
Registered: 2008-04-01
Posts: 93
Website

Re: x86_64 and atheros ar5007... it's alive!

sure it does, pacman -S madwifi!
ill give it a try by doing what you suggested when i get the time

Offline

#9 2008-06-03 12:50:36

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: x86_64 and atheros ar5007... it's alive!

It is simple to do the delete and replace. Then do a make install/modprobe ath_pci "it just don't get any easier than that".

it doesn't get any easier then issuing a pacman command to install a package so it can be traced. Installing stuff outside of pacman is just asking for trouble. I hope everyone who reads this thread realizes that too.

Last edited by jacko (2008-06-03 12:51:20)

Offline

#10 2008-06-08 16:13:23

mastercpp
Member
From: Hannover, Germany
Registered: 2008-06-08
Posts: 2

Re: x86_64 and atheros ar5007... it's alive!

Hello!
I have created a PKGBUILD for the new HAL-0.10.5.6 branch.
http://aur.archlinux.org/packages.php?ID=17392


Sorry for my bad english.

Offline

#11 2008-07-15 12:50:27

ruscook
Member
From: Sydney Australia
Registered: 2007-08-27
Posts: 105
Website

Re: x86_64 and atheros ar5007... it's alive!

Thanks for this - really helpful!

I just installed this on my i686 install and it works well. I'm also doing an x86_64 install as dual boot and will install the driver there as well.

Regards Russ

Offline

#12 2008-07-16 05:00:21

ruscook
Member
From: Sydney Australia
Registered: 2007-08-27
Posts: 105
Website

Re: x86_64 and atheros ar5007... it's alive!

Well I needed a wired port to do the upgrades, but was able to install this in my x86_64 environment. I now have a brand new 2GHz celeron laptop with dual (triple) boot Arch32, Arch64 and Vista Basic all with wireless working - woo hoo.

Thanks for all the info guys.

Offline

Board footer

Powered by FluxBB