Distrotech.
First, say away from knetmanger, kwifi.... or any of those. They do not work ( at least for many folks here and myself) and will rot your teeth

For your question of which lspci is correct, the answer is - they both are. 5006X = 5413 As for as the PCI 01.00 or the 02.00; my guess is the different distro's enumerate the pci bus differently, no big deal.
just for comparison, here is my dmesg, lspci on my ThinkPad T42 running 32 bit 3.4e:
02:02.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
[ 17.784852] ath_pci: switching rfkill capability off
[ 17.784856] ath_pci: ath_pci: switching per-packet transmit power control off
[ 17.787942] ath_rate_sample: 1.2 (0.9.4)
(number in () is driver level)[ 17.788211] Device driver wifi0 lacks bus and class support for being resumed.
[ 17.788240] wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[ 17.788247] wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[ 17.788251] wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[ 17.788261] wifi0: H/W encryption support: WEP AES AES_CCM TKIP
[ 17.788265] wifi0: mac 5.6 phy 4.1 5 GHz radio 1.7 2 GHz radio 2.3
[ 17.788271] wifi0: Use hw queue 1 for WME_AC_BE traffic
[ 17.788273] wifi0: Use hw queue 0 for WME_AC_BK traffic
[ 17.788275] wifi0: Use hw queue 2 for WME_AC_VI traffic
[ 17.788277] wifi0: Use hw queue 3 for WME_AC_VO traffic
[ 17.788280] wifi0: Use hw queue 8 for CAB traffic
[ 17.788282] wifi0: Use hw queue 9 for beacons
[ 17.791395] Device driver ath0 lacks bus and class support for being resumed.
[ 17.791411] wifi0: Atheros 5212: mem=0xc0210000, irq=11
First thing is that your system fails attaching wifi to the hardware ( madwifi uses wifi for things that I do not know )
Second is that my driver is 0.9.4 (32 bit) released 8/28) and yours is 0.9.3.2. Try to
- Code: Select all
emerge -u madwifi-ng
for it.
So the AR5413 is an extended range 20dBm of power non-super card ( 54Mbps) known as AR5006X in Atheros land. No comment on this card in madwifi.org There is a AR5006XS mentions and it says it ' works with madwifi-r1352-20051208 '. You may want to try back leveling if the 0.9.4 driver does not help.
Other than that, try help at madwifi.org or the irc channel #madwifi
Good Luck, let us know how it works out.
Madwifi.org mentions live cds that work 'out of the box' with atheros. Some include AR5006X. You may want to try one.
http://madwifi.org/wiki/LiveCDs