PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Atheros 5006EG mit ndiswrapper



Beerdrinker
22.07.08, 14:58
Alle Versuche den eingebauten WLan-Adapter zum laufen zu bekommen verliefen bisher im Sand...

Nachdem es mit Madwifi nicht geklappt hat hab ich es mit dem ndiswrapper versucht, und zwar hab ich folgendes gemacht:

suse 11.0 mit dem aktuellen XP-Treiber von www.atheros.cz (xp3264-7.6.0.224)

PLaptop64:/Daten/Download/xp3264-7.6.0.224-whql # rmmod ath5k
PLaptop64:/Daten/Download/xp3264-7.6.0.224-whql # ls
athw.sys athwx.sys netathw.cat netathw.inf netathwx.cat netathwx.inf
PLaptop64:/Daten/Download/xp3264-7.6.0.224-whql # uname -r
2.6.25.5-1.1-pae
PLaptop64:/Daten/Download/xp3264-7.6.0.224-whql # ndiswrapper -i netathw.inf
installing netathw ...
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
... (das kam dann noch mehrere Zeilen)
PLaptop64:/Daten/Download/xp3264-7.6.0.224-whql # ndiswrapper -l
netathw : driver installed
device (168C:001C) present (alternate driver: ath5k)
PLaptop64:/Daten/Download/xp3264-7.6.0.224-whql # depmod -a
PLaptop64:/Daten/Download/xp3264-7.6.0.224-whql # ndiswrapper -m
adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper ...
PLaptop64:/Daten/Download/xp3264-7.6.0.224-whql # modprobe ndiswrapper
PLaptop64:/Daten/Download/xp3264-7.6.0.224-whql # iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
PLaptop64:/Daten/Download/xp32-5.3.0.56-whql # rmmod ndiswrapper
ERROR: Removing 'ndiswrapper': Device or resource busy



ndiswrapper wird geladen, aber wlan0 taucht nirgends auf. Jemand eine Idee?
Und warum kann ich den ndiswrapper nicht wieder entladen?

Rain_maker
22.07.08, 17:10
http://www.pc-forum24.de/suse-treiber/9573-madwifi-rpm-pakete-fuer-ar5007eg-ar5008-auf-i586-und-x86_64-a.html

Beerdrinker
23.07.08, 11:03
Habe madwifi-kmp-pae-r3698+AR5007EG_2.6.25.5_1.rm.0.i586.rpm und madwifi-r3698+AR5007EG-rm.0.i586.rpm installiert, beim starten des Moduls passiert dann folgendes:

PLaptop64:/Daten/Download # rpm -i madwifi-r*
PLaptop64:/Daten/Download # rpm -i madwifi-k*
PLaptop64:/Daten/Download # modprobe ath_pci
FATAL: Error inserting ath_pci (/lib/modules/2.6.25.5-1.1-pae/updates/ath/ath_pci.ko): Unknown symbol in module, or unknown parameter (see dmesg)
PLaptop64:/Daten/Download # dmesg | grep -i ath_pci
ath_pci: 0.9.4
ath_pci: driver unloaded
ath_pci: Unknown symbol ieee80211_check_mic
ath_pci: disagrees about version of symbol ieee80211_encap
ath_pci: Unknown symbol ieee80211_encap
ath_pci: disagrees about version of symbol ieee80211_input
ath_pci: Unknown symbol ieee80211_input
ath_pci: disagrees about version of symbol ieee80211_ifattach
ath_pci: Unknown symbol ieee80211_ifattach
ath_pci: disagrees about version of symbol _ath_hal_attach
ath_pci: Unknown symbol _ath_hal_attach
ath_pci: disagrees about version of symbol ieee80211_beacon_update
ath_pci: Unknown symbol ieee80211_beacon_update
ath_pci: disagrees about version of symbol ath_hal_process_noisefloor
ath_pci: Unknown symbol ath_hal_process_noisefloor
ath_pci: disagrees about version of symbol ieee80211_find_rxnode
ath_pci: Unknown symbol ieee80211_find_rxnode
ath_pci: Unknown symbol ieee80211_skb_track
ath_pci: Unknown symbol ieee80211_dev_kfree_skb_list
ath_pci: Unknown symbol ieee80211_ref_node
ath_pci: disagrees about version of symbol ieee80211_vap_setup
ath_pci: Unknown symbol ieee80211_vap_setup
ath_pci: disagrees about version of symbol ieee80211_ifdetach
ath_pci: Unknown symbol ieee80211_ifdetach
ath_pci: disagrees about version of symbol ieee80211_input_monitor
ath_pci: Unknown symbol ieee80211_input_monitor
ath_pci: Unknown symbol ieee80211_dev_kfree_skb
ath_pci: Unknown symbol ieee80211_unref_node
ath_pci: disagrees about version of symbol ath_hal_computetxtime
ath_pci: Unknown symbol ath_hal_computetxtime
ath_pci: disagrees about version of symbol ieee80211_crypto_newkey
ath_pci: Unknown symbol ieee80211_crypto_newkey
ath_pci: disagrees about version of symbol ieee80211_crypto_setkey
ath_pci: Unknown symbol ieee80211_crypto_setkey
ath_pci: disagrees about version of symbol ieee80211_dump_pkt
ath_pci: Unknown symbol ieee80211_dump_pkt
ath_pci: disagrees about version of symbol ieee80211_ioctl_create_vap
ath_pci: Unknown symbol ieee80211_ioctl_create_vap
ath_pci: Unknown symbol ieee80211_dev_alloc_skb
ath_pci: disagrees about version of symbol ath_hal_mhz2ieee
ath_pci: Unknown symbol ath_hal_mhz2ieee
ath_pci: disagrees about version of symbol ieee80211_stop_running
ath_pci: Unknown symbol ieee80211_stop_running
ath_pci: disagrees about version of symbol ieee80211_cipher_none
ath_pci: Unknown symbol ieee80211_cipher_none
ath_pci: Unknown symbol _ath_hal_detach
ath_pci: disagrees about version of symbol ieee80211_crypto_delkey
ath_pci: Unknown symbol ieee80211_crypto_delkey
ath_pci: Unknown symbol ath_debug_global
ath_pci: Unknown symbol ieee80211_skb_untrack
ath_pci: disagrees about version of symbol ieee80211_beacon_miss
ath_pci: Unknown symbol ieee80211_beacon_miss
ath_pci: disagrees about version of symbol ieee80211_beacon_alloc
ath_pci: Unknown symbol ieee80211_beacon_alloc
ath_pci: disagrees about version of symbol ieee80211_getcfframe
ath_pci: Unknown symbol ieee80211_getcfframe
ath_pci: disagrees about version of symbol ieee80211_iterate_nodes
ath_pci: Unknown symbol ieee80211_iterate_nodes
ath_pci: disagrees about version of symbol ieee80211_vap_attach
ath_pci: Unknown symbol ieee80211_vap_attach
ath_pci: Unknown symbol ieee80211_wme_updateparams
ath_pci: disagrees about version of symbol ieee80211_ibss_merge
ath_pci: Unknown symbol ieee80211_ibss_merge
ath_pci: disagrees about version of symbol ieee80211_rate_attach
ath_pci: Unknown symbol ieee80211_rate_attach
ath_pci: Unknown symbol ath_hal_print_decoded_register
ath_pci: disagrees about version of symbol ieee80211_rate_detach
ath_pci: Unknown symbol ieee80211_rate_detach
ath_pci: disagrees about version of symbol ieee80211_send_qosnulldata
ath_pci: Unknown symbol ieee80211_send_qosnulldata
ath_pci: disagrees about version of symbol ieee80211_create_vap
ath_pci: Unknown symbol ieee80211_create_vap
ath_pci: disagrees about version of symbol ieee80211_input_all
ath_pci: Unknown symbol ieee80211_input_all
ath_pci: disagrees about version of symbol ieee80211_start_running
ath_pci: Unknown symbol ieee80211_start_running
ath_pci: disagrees about version of symbol ieee80211_vap_detach
ath_pci: Unknown symbol ieee80211_vap_detach
ath_pci: disagrees about version of symbol ieee80211_announce
ath_pci: Unknown symbol ieee80211_announce
ath_pci: disagrees about version of symbol ieee80211_mark_dfs
ath_pci: Unknown symbol ieee80211_mark_dfs
ath_pci: disagrees about version of symbol ieee80211_chan2ieee
ath_pci: Unknown symbol ieee80211_chan2ieee
ath_pci: disagrees about version of symbol ath_hal_init_channels
ath_pci: Unknown symbol ath_hal_init_channels
ath_pci: disagrees about version of symbol ieee80211_dturbo_switch
ath_pci: Unknown symbol ieee80211_dturbo_switch
ath_pci: disagrees about version of symbol ieee80211_crypto_encap
ath_pci: Unknown symbol ieee80211_crypto_encap
ath_pci: disagrees about version of symbol ieee80211_getrssi
ath_pci: Unknown symbol ieee80211_getrssi
ath_pci: disagrees about version of symbol ieee80211_find_txnode
ath_pci: Unknown symbol ieee80211_find_txnode
ath_pci: Unknown symbol ieee80211_cancel_scan
ath_pci: disagrees about version of symbol ath_hal_getwirelessmodes
ath_pci: Unknown symbol ath_hal_getwirelessmodes

Rain_maker
24.07.08, 00:56
Funktioniert hier (allerdings mit dem default) wunderbar und solche Probleme hat bisher noch niemand berichtet.

Sind da noch andere Madwifi-Module von Hand installiert worden?



find /lib/modules/ -iname "*ath*"

sagt?



ath_pci: 0.9.4

Das sind doch die "falschen", nicht rpm -i sondern rpm -U!

Alles, was madwifi heisst runterwerfen und dann nur die beiden oben genannten Pakete installieren.

Beerdrinker
24.07.08, 10:53
Nein sind keine anderen Module installiert worden.

PLaptop64:/home/peter # find /lib/modules -iname "*ath*"
/lib/modules/2.6.25.5-1.1-pae/updates/ath_hal
/lib/modules/2.6.25.5-1.1-pae/updates/ath_hal/ath_hal.ko
/lib/modules/2.6.25.5-1.1-pae/updates/ath_rate
/lib/modules/2.6.25.5-1.1-pae/updates/ath_rate/sample/ath_rate_sample.ko
/lib/modules/2.6.25.5-1.1-pae/updates/ath_rate/onoe/ath_rate_onoe.ko
/lib/modules/2.6.25.5-1.1-pae/updates/ath_rate/minstrel/ath_rate_minstrel.ko
/lib/modules/2.6.25.5-1.1-pae/updates/ath_rate/amrr/ath_rate_amrr.ko
/lib/modules/2.6.25.5-1.1-pae/updates/ath
/lib/modules/2.6.25.5-1.1-pae/updates/ath/ath_pci.ko
/lib/modules/2.6.25.5-1.1-pae/kernel/drivers/md/dm-multipath.ko
/lib/modules/2.6.25.5-1.1-pae/kernel/drivers/md/multipath.ko
/lib/modules/2.6.25.5-1.1-pae/kernel/drivers/net/wireless/ath5k
/lib/modules/2.6.25.5-1.1-pae/kernel/drivers/net/wireless/ath5k/ath5k.ko

wo kam dann das falsche Modul her?
So habe alles mochmal runtergeschmissen und die beiden Pakete neu installiert, modprobe lädt den Treiber jetzt ohne Fehler.

PLaptop64:/Daten/Download # dmesg | grep -i ath_pci
ath_pci: r3698+AR5007EG
PLaptop64:/Daten/Download # lsmod | grep -i ath_pci
ath_pci 251704 0
wlan 245172 1 ath_pci
ath_hal 318432 1 ath_pci
PLaptop64:/Daten/Download # iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

Ok jetzt scheint er auch das richtige zu laden, aber es taucht trotzdem kein Wlan-Device auf.

hwinfo sagt: pci.vendor = 'Atheros Communications Inc.'
info.vendor = 'Atheros Communications Inc.'
pci.subsys_vendor = 'Atheros Communications Inc.'
Model: "Atheros AR5006EG 802.11bg NIC (2.4GHz, PCI Express)"
Vendor: pci 0x168c "Atheros Communications, Inc."
SubVendor: pci 0x168c "Atheros Communications, Inc."

Rain_maker
24.07.08, 13:37
Ndiswrapper entfernt?

Modul ath5k auf die Blacklist gepackt?

Datei /etc/udev/rules.d/70-persistent-net.rules gelöscht?

Neu gestartet?

Lesen:

http://www.linux-club.de/viewtopic.php?f=19&t=94810&start=0&st=0&sk=t&sd=a

Greetz,

RM

Beerdrinker
29.07.08, 08:59
Omg es funktioniert :-D

Hatte anscheinend vergessen den Ndiswrapper wieder runterzuschmeissen, nachdem ich diesen deinstalliert habe ist das Wlan gelaufen und hat sogar einen Neustart überstanden.

Viele Dank an Rain_Maker!