openSUSE Lizards

Authors
Adrian Schröter (2)
Andrea Florio (1)
Andreas Jaeger (5)
Andrew Wafaa (13)
Arvin Schnell (1)
Bernhard Walle
Casual Programmer
Christoph Thiel
Christopher Hobbs
Cristian Rodríguez
Dirk Müller (1)
Duncan Mac-Vicar
Gabriele Mohr
Henne (1)
Hubert Mantel (1)
J. Daniel Schmidt (1)
Jan Blunck
Jan Madsen
Jan-Christoph Bornschlegel (1)
Jan-Simon Möller (4)
Josef Reidinger
Kevin Dupuy (6)
Klaas Freitag (7)
Klaus Singvogel
Ludwig Nussel (1)
Marcus Moeller (1)
Marcus Schaefer
Martin Lasarsch (3)
Masim Sugianto (16)
Michael Andres (1)
Michal Marek (3)
Michal Zugec
mrdocs
Peter Nixon
Peter Pöml (1)
Petr Mladek
Rossana Motta (1)
Rupert Horstkötter (1)
Stanislav Visnovsky (1)
Stefan Haas
Stefan Hundhammer
Stefan Schubert (1)
Steffen Winterfeldt (2)
Susanne Oberhauser
Thomas Schraitle (4)
Xin Wei Hu





 

Atheros AR 5007 EG on openSUSE 11.0

1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 5 out of 5)
Loading ... Loading ...
Monday, July 14th, 2008 by Masim Sugianto Digg!

openSUSE 11.0 failed detect this hardware and wrong identifying the device as AR242x 802.11abg Wireless PCI Express Adapter. I usually uses madwifi driver for Atheros chipset instead of ath5k but the standard madwifi driver could not be applied for the device. After Googling for a while, I could make it works with the special AR 5007 EG madwifi driver, http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz.

How to make it works ?

  1. Disable or blacklist ath5k driver by add the blacklist ath5k to /etc/modprobe.d/blacklist
  2. Open konsole or terminal
  3. Install the driver
  4. su
    zypper in kernel-source make gcc gcc-c++
    wget -c http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz
    tar -zxvf madwifi-ng-r2756+ar5007.tar.gz
    cd madwifi-ng-r2756+ar5007
    make
    make install
    modprobe ath_pci
    reboot

After reboot, you should be configure the wifi from YAST | Network Devices | Network Settings


12 Comments »

Comment by dni
2008-07-14 15:16:26

It worked before I rebooted…
After the reboot, can not get it to work any longer.

 
Comment by Ben Cook2
2008-07-17 21:23:21

there is a build service repo available ( its for the eeepc which has the ar5007eg wireless )

http://download.opensuse.org/repositories/home:etrash:eeePC/openSUSE_11.0

if you don’t feel like a eeepc wifi driver then heres a generic version:

http://download.opensuse.org/repositories/home:schmolle1980/openSUSE_11.0

Just ensure you pick the madwifi-r3725+AR5007EG ( works ) package it provides not madwifi-trunk+r3717 ( won’t work )

i am using the eeepc version and it works fine, just make sure to override the automatically suggested alsa-driver package to not install, who knows what it will do to your sound ( if you use the eeepc repo ).

a more happier opensuse user

 
Comment by furrito
2008-07-19 04:21:56

I was able to get my AR5007EG running on suse 11.0 64-bit using the exact same steps, but instead using (what appears to be) the latest patched madwifi drivers.

Just replace step:

wget -c http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz

With this:

wget http://snapshots.madwifi.org/madwifi-hal-0.10.5.6/madwifi-hal-0.10.5.6-r3772-20080716.tar.gz

untar, make, make install, etc. It even worked after reboot. Just make sure you have ‘ath_pci’ listed as the module name in Network settings. I’m using an Acer Aspire 5520 laptop if that helps any.

Comment by gavinto
2008-07-26 13:33:06

Hi there,

I tried the method that furrito suggests for my 64 bit Asus a7k. When I try to edit the wireless card in yast, I am prevented from editing or deleting the detected AR242×802.11abg entry. I wonder if this is a problem where the machine thinks my card is a 5006EG when it really is a 5007EG. I seem to recall this mentioned by OldCPU in the forums, but don’t recall if it was for 11 or 10.3.

I did indeed put ath5k in my modprobe.d/blacklist, and I did “modprobe ath_pci” before rebooting

After startup when I type dmesg |grep ath5k, I still get
ath5k_pci 0000:07:00.0: registered as ‘phy0′
ath5k phy0: failed to resume the MAC Chip
ath5k_pci: probe of 0000:07:00.0 failed with error -5

and I get nothing when i type dmesg |grep ath_pci

Thanks in advance for anyones help with this!

btw feel free to move this discussion to a forum if you wish.

 
 
Comment by furrito
2008-07-28 05:26:59

Sounds like everything is being done properly. I have seen that ‘phy0′ come up before, even on other distributions. I think that may be coming from a kernel update, but I’m not sure at all.

Here is a link that helped me out a lot. It focuses more on Fedora and Ubuntu, but it can be applied to Suse as well.

http://home.nyc.rr.com/computertaijutsu/rhwireless.html#5007

 
Comment by Leander89
2008-07-30 13:53:36

I’m having the exact same problem.

I also put ath5k in my modprobe.d/blacklist, and I also entered “modprobe ath_pci”

After startup when I type dmesg |grep ath5k, I still get
ath5k_pci 0000:07:00.0: registered as ‘phy0′
ath5k phy0: failed to resume the MAC Chip
ath5k_pci: probe of 0000:07:00.0 failed with error -5

dmesg |grep HAL
MadWifi: unable to attach hardware: ‘Hardware didn’t respond as expected’ (HAL status 3)

I don’t get why it is loaded when I boot, because I really thought that blacklisting ath5k would
prevent it from loading, it looks like my computer just ignores the blacklist.

I’m not running suse, but I’m running Gentoo.
I’ve opened a thread under “networking & security”, but no one is responding.

Any other way to completely remove the ath5k driver??

The site of madwifi says HAL status 3 means that ath5k and madwifi are both running.

 
Comment by furrito
2008-07-30 14:02:44

To remove ath5k I used the command ‘rmmod ath5k’
The I entered ‘modprobe ath_pci’ to prevent it from being loaded at boot time.
I ran these commands as root and rebooted.

 
Comment by furrito
2008-08-02 07:06:12

Whoah, correction. modprobe ath_pci installs the driver, it doesn’t blacklist it. My bad.
(must not post on lack of sleep:)

Comment by gavinto
2008-08-06 03:02:41

Hiya again,

after the kernel update I blew away the previously installed version (make uninstall &make clean)

I then installed madwifi-hal-0.10.5.6-r3835-20080801

Tried blacklist +modprobe ath_pci reboot then rmmod ath5k modprobe ath_pci

Alas, still not much luck

dmesg |grep HAL
dmesg |grep ath_pci
dmesg |grep ath5k
ath5k_pci 0000:07:00.0: registered as ‘phy0′
ath5k phy0: failed to resume the MAC Chip
ath5k_pci: probe of 0000:07:00.0 failed with error -5
ifconfig wlan0 up
wlan0: unknown interface: No such device

 
 
Comment by furrito
2008-08-06 23:48:08

It sounds like ath5k won’t go away no matter what you do.

One sure-fire way to kill it is to reinstall opensuse and enter ‘brokenmodules=ath5k’ (without the quotes) on the boot line parameter; that way ath5k will never install to begin with.

Otherwise, I would use the rmmod command before attempting anything else. Maybe try rmmod ath5k, rmmod ath5k_pci, rmmod phy0, then blacklist all of them, reboot, make sure no ath5k loads up, then install madwifi. Then…

modprobe ath_pci
ifconfig ath0 up
iwlist ath0 scan

wlan0 is usually ndiswrapper and that should not be there. remove any trace of ndiswrapper and use ath0 for madwifi.

Comment by gavinto
2008-08-08 23:19:53

Almost there! I did as you suggested and I now get ath0 up. Now I just need to connect to my WPA passworded wireless router. I can see all the neighbours networks on Knetworkmanager. I’ve configured mine to connect to the home router and it looks like it gets 80-90% there but fails somehow. Any known WPA problems with madwifi?

Cheers and thanks alot for all your help with this. So much appreciated

gavinto

 
 
Comment by furrito
2008-08-09 08:39:31

I use WPA2 and madwifi with no problems.:)

 
Name
Email for notification (will not be published)
Website (optional)
Spam protection: Sum of 7 + 10 ?

Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.