openSUSE Lizards

Authors
Adrian Schröter (2)
Agustin Chavarria (1)
Akhil Laddha
Alexander Naumov
Alexander Orlovskyy (3)
Alexey Eromenko
Alin M Elena (2)
Andrea Florio (5)
Andreas Jaeger (26)
Andreas van dem Helge
Andrej Semen
Andrew Wafaa (24)
Arvin Schnell (4)
Bharath Acharya
Brian G. Merrell
Carl Fletcher
Casual Programmer
Christoph Thiel
Christopher Hobbs (15)
Ciaran Farrell (2)
Coly Li
Cristian Rodríguez
Daniel Bornkessel
David C. Rankin
Dean Hilkewich
Dinar Valeev (5)
Dirk Müller (1)
Dmitry Serpokryl (4)
Duncan Mac-Vicar
Eugene Pivnev
Fabio Mucciante
Gabriele Mohr
Gerrit Beine
Helman Rene Taleno Martinez
Helmut Schaa
Henne (5)
Herbert Graeber
Holgi
Hubert Mantel (1)
J. Daniel Schmidt (1)
James Tremblay (5)
Jan Blunck (4)
Jan Madsen (1)
Jan Nieuwenhuizen
Jan-Christoph Bornschlegel (3)
Jan-Simon Möller (18)
Javier Llorente
Jigish Gohil (10)
Jiri Srain (1)
Jiří Suchomel (1)
Johan Kotze (5)
John Terpstra
Joop Boonen
Josef Reidinger (7)
Juergen Weigert (1)
Julio Vannini (7)
Justin Haygood
Kálmán Kéménczy
Kevin Yeaux (9)
Klaas Freitag (14)
Klara Cihlarova
Klaus Kämpf
Klaus Singvogel
kl_eisbaer (10)
Lars Marowsky-Bree
Ludwig Nussel (3)
M. Edwin Zakaria
Manuel Trujillo
Marcus Hüwe (6)
Marcus Meissner (1)
Marcus Moeller (1)
Marcus Schaefer (1)
Martin Lasarsch (8)
Martin Mohring (8)
Martin Schmidkunz
Masim "Vavai" Sugianto (20)
Matt Sealey
Mauro Parra-Miranda
Michael Andres (1)
Michael Skiba
Michal Marek (3)
Michal Vyskocil (6)
Michal Zugec
mrdocs
Nikanth Karthikesan
Oswin Zulu
Peter Nixon
Peter Pöml (3)
Petr Mladek (23)
Petr Uzel
Philipp Thomas
Pragnesh Radadiya
Ray Chen
Ray Wang (1)
Ricardo Varas Santana (3)
Richard Bos (3)
Robert Lihm
Roman Drahtmueller
Rossana Motta (1)
Rupert Horstkötter (7)
Sascha Manns (33)
Sebastian Schöbinger (3)
Stanislav Visnovsky (7)
Stefan Haas (1)
Stefan Hundhammer (5)
Stefan Schubert (3)
Steffen Winterfeldt (4)
Stephan Kulow (8)
Suman Manjunath
Susanne Oberhauser (2)
Syamsul Qamar Ngabito
Thomas Göttlicher (4)
Thomas Schraitle (11)
Thruth Wang
Tuukka (11)
Ulrich Hecht
Wilken Gottwalt
Xin Wei Hu





 

Atheros AR 5007 EG on openSUSE 11.0

1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 5.00 out of 5)
Loading ... Loading ...
Monday, July 14th, 2008 by Masim "Vavai" 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


16 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.:)

Comment by gavinto
2008-09-15 01:42:59

I know its been awhile since I commented on this. I needed a full day so I could play with the router and not affect the rest of the clan in the house. I now appear to have wireless working. Problem was that the router had MAC ID filtering and I didn’t realize that the wireless card had a different MAC ID. learned something today!

Thanks for all your help. Perhaps the note about MAC ID is worthy of including in a troubleshooting support database faq? Not sure who maintains that particular one, but perhaps someone could pass it on for me?

Thanks again

 
 
Comment by Theo
2008-10-15 20:13:18

I have installed Suse 11 and I’m completly new to Linux, I wanted to install the driver but at the command make I get an error that the command is not recognized. I’m doing something wrong but what (I was inside the madwifi directory, unpacked the tar.gz, and I using the terminal)????
Is there someone who can help

Comment by Masim "Vavai" Sugianto
2008-10-16 07:58:31

Hi Theo,

Install build-essential package before compiling the driver by run this command :

zypper in kernel-source gcc gcc-c++ make

 
 
Comment by West
2008-10-30 04:24:08

I have tried this and it worked for me with the previous kernel. However, when I updated the kernel yesterday, and recompiled madwifi, I can not configure the connection via Network Manager with error “unable to configure network card because the kernel device is not present”. If anyone has any suggestions it would be greatly appreciated.

 

Sorry, the comment form is closed at this time.