Hallo Linuxforen user,
vielleicht fällt euch ja was ein bei meinem Problem den ich sehen (eigentlich) keine Fehler oder was ich Falsch gemacht haben könnte. Ich habe mir mir im tuxhardware shop diese Karte gekaufe: „WLAN Allnet ALL0281 54 Mbit/s WLAN PCI-Karte“
Alles wunderbar habe ich mir gedacht, tuxhardware hat auch ein kleines HOWTO auf ihrer seite. Dort steh das mal sich einen Kernel backen muss mit diesen Optionen:
Code:
Device Drivers --->
Networking support --->
Wireless LAN (non-hamradio) ---> [*] Wireless LAN drivers (non-hamradio) & Wireless Extensions
Dieses hat mich zu meinen ersten Problem gebracht, da ich noch nie einen Kernel gebacken haben. Aber nach par HOWTOs ist mir dieses gut gelungen und ich habe mir den Kernel: 2.6.14.3 zurecht gemacht. Mit dieses gebootet und dann eingestellt das bei jedem booten diese Module geladen werden:
Code:
wlan
ath_hal
ath_pci
alles wunderbar. Dann habe ich mir den Treiber: Madwifi runter geladen von der Homepage:
http://madwifi.org/wiki/UserDocs/GettingMadwifi
und mit make und make install kompeliert. Dieses gab auch keine Fehlermeldung.
Nun dachte ich mir eigentlich sollte das alles ein. Leider wenn ich iwconfig starte bekomme ich nur:
Code:
eth0 no wireless extensions.
lo no wireless extensions.
wifi0 no wireless extensions.
sit0 no wireless extensions.
ppp0 no wireless extensions.
unter
cat /proc/modules sind die Module auch geladen:
Code:
ppp_deflate 4864 0 - Live 0xe0a7f000
zlib_deflate 22552 1 ppp_deflate, Live 0xe0a92000
zlib_inflate 17664 1 ppp_deflate, Live 0xe0a85000
bsd_comp 5632 0 - Live 0xe0a71000
ppp_async 9472 1 - Live 0xe0a1c000
crc_ccitt 2048 1 ppp_async, Live 0xe098d000
ppp_generic 21012 7 ppp_deflate,bsd_comp,ppp_async, Live 0xe0a41000
slhc 6400 1 ppp_generic, Live 0xe09f0000
af_packet 17416 4 - Live 0xe0a48000
ipv6 226624 21 - Live 0xe0ab5000
parport_pc 32324 0 - Live 0xe0a68000
parport 33480 1 parport_pc, Live 0xe0a5e000
floppy 56164 0 - Live 0xe0a4f000
i2c_i801 8076 0 - Live 0xe09ed000
i2c_core 17664 1 i2c_i801, Live 0xe0a00000
usbhid 29316 0 - Live 0xe0a13000
uhci_hcd 29840 0 - Live 0xe0a0a000
usbcore 105472 3 usbhid,uhci_hcd, Live 0xe0a20000
snd_ens1371 18980 1 - Live 0xe09fa000
snd_rawmidi 20000 1 snd_ens1371, Live 0xe09f4000
snd_seq_device 7052 1 snd_rawmidi, Live 0xe098f000
snd_ac97_codec 90876 1 snd_ens1371, Live 0xe09b3000
snd_pcm_oss 47648 0 - Live 0xe09e0000
snd_mixer_oss 16768 2 snd_pcm_oss, Live 0xe08e4000
snd_pcm 78468 3 snd_ens1371,snd_ac97_codec,snd_pcm_oss, Live 0xe09cb000
snd_timer 20868 1 snd_pcm, Live 0xe0993000
snd 44132 8 snd_ens1371,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm_oss,sn
d_mixer_oss,snd_pcm,snd_timer, Live 0xe09a7000
soundcore 7520 2 snd, Live 0xe080d000
snd_page_alloc 8456 1 snd_pcm, Live 0xe0971000
snd_ac97_bus 2048 1 snd_ac97_codec, Live 0xe08e2000
piix 9348 0 [permanent], Live 0xe095b000
nls_iso8859_1 4096 1 - Live 0xe081b000
nls_cp437 5760 1 - Live 0xe0818000
vfat 11008 1 - Live 0xe08de000
fat 45468 1 vfat, Live 0xe099a000
nls_base 6528 4 nls_iso8859_1,nls_cp437,vfat,fat, Live 0xe0815000
ath_pci 85920 0 - Live 0xe0975000
ath_rate_sample 11648 1 ath_pci, Live 0xe0804000
ath_hal 196048 3 ath_pci,ath_rate_sample, Live 0xe08fe000
wlan 171996 3 ath_pci,ath_rate_sample, Live 0xe0930000
ide_cd 36612 0 - Live 0xe08f4000
cdrom 36256 1 ide_cd, Live 0xe08ea000
unix 23568 74 - Live 0xe081d00
und unter dmesg
schaut auch alles ok aus:
Code:
wlan: 0.8.4.2 (Atheros/multi-bss)
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.16.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413, DFS)
ath_rate_sample: 1.2
ath_pci: 0.9.4.5 (Atheros/multi-bss)
ACPI: PCI Interrupt 0000:02:0d.0[A] -> GSI 21 (level, low) -> IRQ 18
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 5
4Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 5.9 phy 4.3 radio 4.6
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 5212: mem=0xfbfe0000, irq=18
Auch unter :
make && make install von den madwifi-n Treibern sehe ich keinen Fehler:
****up:/home/zyon/madwifi-n# make && make install
Code:
Checking requirements... ok.
Checking kernel configuration... ok.
mkdir -p ./symbols
for i in ./ath_hal ./net80211 ath_rate/sample ./ath ./tools ; do \
make -C $i || exit 1; \
done
make[1]: Entering directory `/home/zyon/madwifi-n/ath_hal'
cp -f ./../hal/public/i386-elf.opt_ah.h opt_ah.h
cp -f ./../hal/linux/ah_osdep.c ah_osdep.c
/usr/bin/uudecode ./../hal/public/i386-elf.hal.o.uu
make -C /usr/src/linux-2.6.14.3 SUBDIRS=/home/zyon/madwifi-n/ath_hal MODVERDIR=/home/zyo
n/madwifi-n/ath_hal/../symbols modules
make[2]: Entering directory `/usr/src/linux-2.6.14.3'
CC [M] /home/zyon/madwifi-n/ath_hal/ah_osdep.o
LD [M] /home/zyon/madwifi-n/ath_hal/ath_hal.o
Building modules, stage 2.
MODPOST
CC /home/zyon/madwifi-n/ath_hal/ath_hal.mod.o
LD [M] /home/zyon/madwifi-n/ath_hal/ath_hal.ko
make[2]: Leaving directory `/usr/src/linux-2.6.14.3'
make[1]: Leaving directory `/home/zyon/madwifi-n/ath_hal'
make[1]: Entering directory `/home/zyon/madwifi-n/net80211'
make -C /usr/src/linux-2.6.14.3 SUBDIRS=/home/zyon/madwifi-n/net80211 MODVERDIR=/home/zy
on/madwifi-n/net80211/../symbols modules
make[2]: Entering directory `/usr/src/linux-2.6.14.3'
CC [M] /home/zyon/madwifi-n/net80211/if_media.o
CC [M] /home/zyon/madwifi-n/net80211/ieee80211.o
CC [M] /home/zyon/madwifi-n/net80211/ieee80211_beacon.o
CC [M] /home/zyon/madwifi-n/net80211/ieee80211_crypto.o
CC [M] /home/zyon/madwifi-n/net80211/ieee80211_crypto_none.o
CC [M] /home/zyon/madwifi-n/net80211/ieee80211_input.o
CC [M] /home/zyon/madwifi-n/net80211/ieee80211_node.o
CC [M] /home/zyon/madwifi-n/net80211/ieee80211_output.o
CC [M] /home/zyon/madwifi-n/net80211/ieee80211_power.o
CC [M] /home/zyon/madwifi-n/net80211/ieee80211_proto.o
CC [M] /home/zyon/madwifi-n/net80211/ieee80211_scan.o
CC [M] /home/zyon/madwifi-n/net80211/ieee80211_wireless.o
CC [M] /home/zyon/madwifi-n/net80211/ieee80211_linux.o
CC [M] /home/zyon/madwifi-n/net80211/ieee80211_monitor.o
CC [M] /home/zyon/madwifi-n/net80211/ieee80211_acl.o
CC [M] /home/zyon/madwifi-n/net80211/ieee80211_crypto_ccmp.o
CC [M] /home/zyon/madwifi-n/net80211/ieee80211_scan_ap.o
CC [M] /home/zyon/madwifi-n/net80211/ieee80211_scan_sta.o
CC [M] /home/zyon/madwifi-n/net80211/ieee80211_crypto_tkip.o
CC [M] /home/zyon/madwifi-n/net80211/ieee80211_crypto_wep.o
CC [M] /home/zyon/madwifi-n/net80211/ieee80211_xauth.o
LD [M] /home/zyon/madwifi-n/net80211/wlan.o
LD [M] /home/zyon/madwifi-n/net80211/wlan_wep.o
LD [M] /home/zyon/madwifi-n/net80211/wlan_tkip.o
LD [M] /home/zyon/madwifi-n/net80211/wlan_ccmp.o
LD [M] /home/zyon/madwifi-n/net80211/wlan_acl.o
LD [M] /home/zyon/madwifi-n/net80211/wlan_xauth.o
LD [M] /home/zyon/madwifi-n/net80211/wlan_scan_sta.o
LD [M] /home/zyon/madwifi-n/net80211/wlan_scan_ap.o
Building modules, stage 2.
MODPOST
CC /home/zyon/madwifi-n/net80211/wlan.mod.o
LD [M] /home/zyon/madwifi-n/net80211/wlan.ko
CC /home/zyon/madwifi-n/net80211/wlan_acl.mod.o
LD [M] /home/zyon/madwifi-n/net80211/wlan_acl.ko
CC /home/zyon/madwifi-n/net80211/wlan_ccmp.mod.o
LD [M] /home/zyon/madwifi-n/net80211/wlan_ccmp.ko
CC /home/zyon/madwifi-n/net80211/wlan_scan_ap.mod.o
LD [M] /home/zyon/madwifi-n/net80211/wlan_scan_ap.ko
CC /home/zyon/madwifi-n/net80211/wlan_scan_sta.mod.o
LD [M] /home/zyon/madwifi-n/net80211/wlan_scan_sta.ko
CC /home/zyon/madwifi-n/net80211/wlan_tkip.mod.o
LD [M] /home/zyon/madwifi-n/net80211/wlan_tkip.ko
CC /home/zyon/madwifi-n/net80211/wlan_wep.mod.o
LD [M] /home/zyon/madwifi-n/net80211/wlan_wep.ko
CC /home/zyon/madwifi-n/net80211/wlan_xauth.mod.o
LD [M] /home/zyon/madwifi-n/net80211/wlan_xauth.ko
make[2]: Leaving directory `/usr/src/linux-2.6.14.3'
make[1]: Leaving directory `/home/zyon/madwifi-n/net80211'
make[1]: Entering directory `/home/zyon/madwifi-n/ath_rate/sample'
make -C /usr/src/linux-2.6.14.3 SUBDIRS=/home/zyon/madwifi-n/ath_rate/sample MODVERDIR=/home/zyon/m
adwifi-n/ath_rate/sample/../../symbols modules
make[2]: Entering directory `/usr/src/linux-2.6.14.3'
CC [M] /home/zyon/madwifi-n/ath_rate/sample/sample.o
LD [M] /home/zyon/madwifi-n/ath_rate/sample/ath_rate_sample.o
Building modules, stage 2.
MODPOST
CC /home/zyon/madwifi-n/ath_rate/sample/ath_rate_sample.mod.o
LD [M] /home/zyon/madwifi-n/ath_rate/sample/ath_rate_sample.ko
make[2]: Leaving directory `/usr/src/linux-2.6.14.3'
make[1]: Leaving directory `/home/zyon/madwifi-n/ath_rate/sample'
make[1]: Entering directory `/home/zyon/madwifi-n/ath'
make -C /usr/src/linux-2.6.14.3 SUBDIRS=/home/zyon/madwifi-n/ath MODVERDIR=/home/zyon/madwifi-n/ath
/../symbols modules
make[2]: Entering directory `/usr/src/linux-2.6.14.3'
CC [M] /home/zyon/madwifi-n/ath/if_ath.o
CC [M] /home/zyon/madwifi-n/ath/if_ath_pci.o
LD [M] /home/zyon/madwifi-n/ath/ath_pci.o
Building modules, stage 2.
MODPOST
CC /home/zyon/madwifi-n/ath/ath_pci.mod.o
LD [M] /home/zyon/madwifi-n/ath/ath_pci.ko
make[2]: Leaving directory `/usr/src/linux-2.6.14.3'
make[1]: Leaving directory `/home/zyon/madwifi-n/ath'
make[1]: Entering directory `/home/zyon/madwifi-n/tools'
gcc -o athstats -g -O2 -Wall -include ../include/compat.h -I. -I../hal -I.. -I../ath athstats.c
athstats.c: In function 'main':
athstats.c:346: warning: 'sigblock' is deprecated (declared at /usr/include/signal.h:181)
athstats.c:348: warning: 'sigpause' is deprecated (declared at /usr/include/signal.h:158)
athstats.c:349: warning: 'sigsetmask' is deprecated (declared at /usr/include/signal.h:184)
gcc -o 80211stats -g -O2 -Wall -include ../include/compat.h -I. -I../hal -I.. 80211stats.c
gcc -o athkey -g -O2 -Wall -include ../include/compat.h -I. -I../hal -I.. athkey.c
gcc -o athchans -g -O2 -Wall -include ../include/compat.h -I. -I../hal -I.. athchans.c
gcc -o athctrl -g -O2 -Wall -include ../include/compat.h -I. -I../hal -I.. athctrl.c
gcc -o athdebug -g -O2 -Wall -include ../include/compat.h -I. -I../hal -I.. athdebug.c
gcc -o 80211debug -g -O2 -Wall -include ../include/compat.h -I. -I../hal -I.. 80211debug.c
gcc -o wlanconfig -g -O2 -Wall -include ../include/compat.h -I. -I../hal -I.. wlanconfig.c
make[1]: Leaving directory `/home/zyon/madwifi-n/tools'
sh scripts/find-madwifi-modules.sh /lib/modules/2.6.14.3
WARNING:
It seems that there are modules left from previous MadWifi installations.
You should consider removing them before you continue, or else you might
experience problems during operation. Remove old modules?
r
for i in ./ath_hal ./net80211 ath_rate/sample ./ath ./tools ; do \
make -C $i install || exit 1; \
done
make[1]: Entering directory `/home/zyon/madwifi-n/ath_hal'
make -C /usr/src/linux-2.6.14.3 SUBDIRS=/home/zyon/madwifi-n/ath_hal MODVERDIR=/home/zyon/madwifi-n/ath_hal/../symbols modules
make[2]: Entering directory `/usr/src/linux-2.6.14.3'
Building modules, stage 2.
MODPOST
make[2]: Leaving directory `/usr/src/linux-2.6.14.3'
test -d //lib/modules/2.6.14.3/net || mkdir -p //lib/modules/2.6.14.3/net
strip -S ath_hal.ko
cp ath_hal.ko //lib/modules/2.6.14.3/net
make[1]: Leaving directory `/home/zyon/madwifi-n/ath_hal'
make[1]: Entering directory `/home/zyon/madwifi-n/net80211'
make -C /usr/src/linux-2.6.14.3 SUBDIRS=/home/zyon/madwifi-n/net80211 MODVERDIR=/home/zyon/madwifi-n/net80211/../symbols modules
make[2]: Entering directory `/usr/src/linux-2.6.14.3'
Building modules, stage 2.
MODPOST
make[2]: Leaving directory `/usr/src/linux-2.6.14.3'
test -d //lib/modules/2.6.14.3/net || mkdir -p //lib/modules/2.6.14.3/net
for i in wlan.o wlan_wep.o wlan_tkip.o wlan_ccmp.o wlan_acl.o wlan_xauth.o wlan_scan_sta.o wlan_scan_ap.o; do \
f=`basename $i .o`; \
strip -S $f.ko; \
cp $f.ko //lib/modules/2.6.14.3/net; \
done
make[1]: Leaving directory `/home/zyon/madwifi-n/net80211'
make[1]: Entering directory `/home/zyon/madwifi-n/ath_rate/sample'
make -C /usr/src/linux-2.6.14.3 SUBDIRS=/home/zyon/madwifi-n/ath_rate/sample MODVERDIR=/home/zyon/madwifi-n/ath_rate/sample/../../symbols modules
make[2]: Entering directory `/usr/src/linux-2.6.14.3'
Building modules, stage 2.
MODPOST
make[2]: Leaving directory `/usr/src/linux-2.6.14.3'
test -d //lib/modules/2.6.14.3/net || mkdir -p //lib/modules/2.6.14.3/net
strip -S ath_rate_sample.ko
cp ath_rate_sample.ko //lib/modules/2.6.14.3/net
make[1]: Leaving directory `/home/zyon/madwifi-n/ath_rate/sample'
make[1]: Entering directory `/home/zyon/madwifi-n/ath'
make -C /usr/src/linux-2.6.14.3 SUBDIRS=/home/zyon/madwifi-n/ath MODVERDIR=/home/zyon/madwifi-n/ath/../symbols modules
make[2]: Entering directory `/usr/src/linux-2.6.14.3'
Building modules, stage 2.
MODPOST
make[2]: Leaving directory `/usr/src/linux-2.6.14.3'
test -d //lib/modules/2.6.14.3/net || mkdir -p //lib/modules/2.6.14.3/net
strip -S ath_pci.ko
cp ath_pci.ko //lib/modules/2.6.14.3/net
make[1]: Leaving directory `/home/zyon/madwifi-n/ath'
make[1]: Entering directory `/home/zyon/madwifi-n/tools'
sh ../scripts/find-madwifi-tools.sh /usr/local/bin /usr/local/man
WARNING:
It seems that there are tools left from previous MadWifi installations.
You should consider removing them before you continue, or else you might
experience problems during operation. Remove old tools?
r
install -d /usr/local/bin
for i in athstats 80211stats athkey athchans athctrl athdebug 80211debug wlanconfig; do \
install $i /usr/local/bin/$i; \
strip /usr/local/bin/$i; \
done
install -d /usr/local/man/man8
install ./man/* /usr/local/man/man8
echo "DESTDIR=" > ./install.log
echo "BINDIR=/usr/local/bin" >> ./install.log
echo "MANDIR=/usr/local/man" >> ./install.log
make[1]: Leaving directory `/home/zyon/madwifi-n/tools'
(export MODULEPATH=/lib/modules/2.6.14.3/net; depmod -ae)
echo "KERNELRELEASE=2.6.14.3" > ./install.log
echo "DESTDIR=" >> ./install.log
Ich weiß echt nicht mehr was ich machen soll und wo ich noch nach Fehlern suchen kann. Ich würde mich sehr freuen wenn jemand von dieser großem Community eine Ahnung hätte was ich noch machen kann
Danke
Zy0n
P.S. die Wireless-Tools natürlich installiert.
Distribution: Debian SID
Kernel: 2.6.14.3
Lesezeichen