• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] d-link dwl g122 C1 unter Suse10.0 mit rt73

Hallo

ich versuche den D-Link dwl g122 C1 USB Wlan stick einzurichten.
ich habe im vorfeld gegurgelt und mich hier umgeschaut.

das erste Problem ist den richtige treiber zu finden. Die links laufen alle ins leere und auf der seite von RAlink habe ich auch keinen treiber für dem TR73 chip gefunden.
durch zufall habe ich dann das hier gefunden:

http://www.ralinktech.com/ralink/Home/Support/Linux.html
dort gibt es den link "RT2571W/RT2671USB" der auf diese datei weist:
http://www.ralinktech.com/ralink/data/RT73_Linux_STA_Drv1.0.3.6.tar.gz

ich habe den tarball aus gepackt und die makefile-datei für den 2.6 kernel benutzt.
nach "make all" bekomme ich folgende MELDUNGEN

==================================================
(none):/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module # cp Makefile.6 Makefile
(none):/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module # make all
make -C /lib/modules/2.6.13-15.13-default/build SUBDIRS=/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module modules
make[1]: Entering directory `/usr/src/linux-2.6.13-15.13-obj/i386/default'
make -C ../../../linux-2.6.13-15.13 O=../linux-2.6.13-15.13-obj/i386/default modules
CC [M] /home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtmp_main.o
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtmp_main.c: In function ‘CMDHandler’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtmp_main.c:302: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtmp_main.c: In function ‘usb_rtusb_probe’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtmp_main.c:2085: warning: unused variable ‘device’
CC [M] /home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.o
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c: In function ‘MlmeHandler’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c:326: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c:334: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c:400: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c: In function ‘MlmeSuspend’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c:464: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c:473: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c:498: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c: In function ‘MlmePeriodicExec’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c:626: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c: In function ‘STAMlmePeriodicExec’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c:852: warning: unused variable ‘RxSignal’
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c: In function ‘MlmeEnqueue’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c:3286: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c: In function ‘MlmeEnqueueForRecv’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c:3378: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c: In function ‘MlmeDequeue’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c:3408: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c: In function ‘MlmeQueueEmpty’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c:3487: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c: In function ‘MlmeQueueFull’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c:3508: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c: In function ‘MlmeQueueDestroy’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/mlme.c:3531: warning: comparison of distinct pointer types lacks a cast
CC [M] /home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/connect.o
CC [M] /home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.o
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c: In function ‘RTUSBBulkOutDataPacketComplete’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c:161: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c: In function ‘RTUSBBulkOutNullFrameComplete’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c:208: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c: In function ‘RTUSBBulkOutRTSFrameComplete’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c:260: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c: In function ‘RTUSBBulkOutMLMEPacketComplete’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c:324: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c: In function ‘RTUSBBulkOutPsPollComplete’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c:374: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c: In function ‘RTUSBBulkOutDataPacket’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c:561: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c:565: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c:583: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c:603: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c:624: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c: In function ‘RTUSBBulkOutNullFrame’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c:671: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c:675: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c: In function ‘RTUSBBulkOutRTSFrame’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c:736: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c:740: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c: In function ‘RTUSBBulkOutMLMEPacket’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c:792: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c:796: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c: In function ‘RTUSBBulkOutPsPoll’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c:851: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c:855: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c: In function ‘RTUSBCleanUpDataBulkOutQueue’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c:1100: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c: In function ‘RTUSBCleanUpMLMEBulkOutQueue’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c:1139: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c: In function ‘RTUSBCancelPendingBulkOutIRP’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_bulk.c:1277: warning: comparison of distinct pointer types lacks a cast
CC [M] /home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_io.o
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_io.c: In function ‘RTUSBEnqueueCmdFromNdis’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_io.c:631: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_io.c: In function ‘RTUSBEnqueueInternalCmd’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_io.c:735: warning: comparison of distinct pointer types lacks a cast
CC [M] /home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/sync.o
CC [M] /home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/assoc.o
CC [M] /home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/auth.o
CC [M] /home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/auth_rsp.o
CC [M] /home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_data.o
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_data.c: In function ‘RTMPSendPacket’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_data.c:321: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_data.c: In function ‘RTUSBRejectPendingPackets’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_data.c:1418: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_data.c: In function ‘RTMPDeQueuePacket’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_data.c:1644: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_data.c:1650: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_data.c:1689: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_data.c:1723: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_data.c:1727: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_data.c: In function ‘RTUSBDequeueMLMEPacket’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_data.c:2281: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_data.c:2300: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_data.c: In function ‘RTUSBCleanUpMLMEWaitQueue’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_data.c:2339: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_data.c: In function ‘MiniportMMRequest’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_data.c:2463: warning: comparison of distinct pointer types lacks a cast
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtusb_data.c:2480: warning: comparison of distinct pointer types lacks a cast
CC [M] /home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtmp_init.o
CC [M] /home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/sanity.o
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/sanity.c: In function ‘RTMPWPAWepKeySanity’:
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/sanity.c:1177: warning: unused variable ‘i’
/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/sanity.c:1176: warning: unused variable ‘CipherAlg’
CC [M] /home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtmp_wep.o
CC [M] /home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtmp_info.o
CC [M] /home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rtmp_tkip.o
CC [M] /home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/wpa.o
CC [M] /home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/md5.o
LD [M] /home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rt73.o
Building modules, stage 2.
MODPOST
CC /home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rt73.mod.o
LD [M] /home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module/rt73.ko
make[1]: Leaving directory `/usr/src/linux-2.6.13-15.13-obj/i386/default'
(none):/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module #
==================================================

mit modprobe bekomme ich kein tr73 module angezeigt

==================================================
(none):/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module # modprobe tr73
FATAL: Module tr73 not found.
(none):/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module # modprobe 2500
FATAL: Module 2500 not found.
(none):/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module # modprobe -l |grep -i "tr73"
(none):/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module # modprobe -l |grep -i "2500"
/lib/modules/2.6.13-15.13-default/extra/rt2500.ko
==================================================

mit ifconfig / iwconfig wird der stick auch nicht erkannt
==================================================
(none):/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module # iwconfig
lo no wireless extensions.

sit0 no wireless extensions.

eth0 no wireless extensions.

(none):/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module # ifconfig
eth0 Protokoll:Ethernet Hardware Adresse 00:10:DC:0F:B7:55
inet Adresse:192.168.0.101 Bcast:192.168.0.255 Maske:255.255.255.0
inet6 Adresse: fe80::210:dcff:fe0f:b755/64 Gültigkeitsbereich:Verbindung
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:34402 errors:0 dropped:0 overruns:0 frame:0
TX packets:30438 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:1000
RX bytes:21731840 (20.7 Mb) TX bytes:6776672 (6.4 Mb)
Interrupt:11 Basisadresse:0x2000

lo Protokoll:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:371 errors:0 dropped:0 overruns:0 frame:0
TX packets:371 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:0
RX bytes:17317 (16.9 Kb) TX bytes:17317 (16.9 Kb)
==================================================

so ich hoffe ihr seit nicht so verwirrt und ratlos wie ich ;-)
kann mir jemand weiter helfen?

besten dank im vorraus

allen eine guten 2007 :)

roman
 
Wenn du genau hinschaust, könntest du sehen, dass das Modul nicht tr73 sondern rt73 heißt (wie RealTek). Wenn du dann noch ein
Code:
sudo make install
ausführst, sollte das Modul auch gefunden werden.
 
hallo

dank dir für die schnelle hilfe!

wieso muste ich nochmal make install ausführen?

es gibt jetzt dieses module und die firmware habe ich auch kopiert:

==================================================
(none):/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module # l /lib/firmware
insgesamt 432
drwxr-xr-x 7 root root 4096 2006-12-28 09:02 ./
drwxr-xr-x 11 root root 4096 2006-08-15 23:43 ../
-rw-r--r-- 1 root root 97652 2005-09-12 23:20 digiface_firmware.bin
-rw-r--r-- 1 root root 97652 2005-09-12 23:20 digiface_firmware_rev11.bin
drwxr-xr-x 2 root root 4096 2006-08-15 22:36 ea/
drwxr-xr-x 2 root root 4096 2006-08-15 22:44 isdn/
drwxr-xr-x 2 root root 4096 2006-08-15 22:36 mixart/
-rw-r--r-- 1 root root 97652 2005-09-12 23:20 multiface_firmware.bin
-rw-r--r-- 1 root root 97652 2005-09-12 23:20 multiface_firmware_rev11.bin
drwxr-xr-x 2 root root 4096 2006-08-15 22:36 pcxhr/
-r-xr-xr-x 1 root root 2048 2006-12-28 09:02 rt73.bin*
drwxr-xr-x 2 root root 4096 2006-08-15 22:36 vx/
(none):/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module # l /etc/Wireless/RT73STA/
insgesamt 16
drwxr-xr-x 2 root root 4096 2006-12-27 20:12 ./
drwxr-xr-x 3 root root 4096 2006-12-27 20:11 ../
-r-xr-xr-x 1 root root 2048 2006-12-27 20:11 rt73.bin*
-rw------- 1 root root 480 2006-12-28 09:04 rt73sta.dat
(none):/home/rtl/tmp/download/RT73_Linux_STA_Drv1.0.3.6/Module # file rt73sta.dat
rt73sta.dat: ASCII text
==================================================


die datei rt73sta.dat ist asccii text den ich lesen kann (config-datei)

mit ifconfig und iwconfig sehe ich aber immer noch kein wlan-karte :-(

siehst du noch was ich falsch gemacht haben könnte oder überprüfen kann?

besten dank noch mal

roman
 
hallo

es hat geklappt. das kabel is wech :) :)
ich habe die treiber von Serialmonkey genommen. dort gibt es ein CVS für den rt73 chip. danach ging alles ziemlich zügig einpaar sachen haben geklempt aber die habe ich mir hier erlesen :)

so jetzt habe ich nur noch 2 aufgaben:

-automatischer start beim booten
-verschlüsselung mit WpaPsk

dafür habe ich hier auch schon sachen gelesen :)

nochmal besten dank

roman
 
Oben