• 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 ver. 3.00

ritslinux

Newbie
I versuche die treiber vor diesem wlan-usb-karte zu installieren auf suse 10.0

Die forum serialmonkey hat mich erzehlt das ich ein treiber rt2573 brauche von ralink.
Ich hab mir die packet "RT73_Linux_STA_Drv1.0.3.6" von ralink-website heruntergeladen und versuche wie die README erzahlt das zu installieren.

README sagt:

Build Instructions:
====================
1> $tar -xvzf RT73_Linux_STA_Drv_x.x.x.x.tar.gz
go to "./RT73_Linux_STA_Drv_x.x.x.x/Module" directory.

2> $cp Makefile.4 ./Makefile # [kernel 2.4]
or
$cp Makefile.6 ./Makefile # [kernel 2.6]

3> [kernel 2.4]
$chmod 755 Configure
$make config # config build linux os version

4> $make all # compile driver source code

5> $cp rt73.bin /etc/Wireless/RT73STA/ # copy firmware

6> $dos2unix rt73sta.dat
$cp rt73sta.dat /etc/Wireless/RT73STA/rt73sta.dat
# !!!check if it is a binary file before loading !!!

7> $load
#[kernel 2.4]
# $/sbin/insmod rt73.o
# $/sbin/ifconfig rausb0 inet YOUR_IP up

#[kernel 2.6]
# $/sbin/insmod rt73.ko
# $/sbin/ifconfig rausb0 inet YOUR_IP up

Ich habe kernel 2.6, zo folge 1-2-4-5-6-7

Beim "4" bekomme ich:
make -C /lib/modules/2.6.13-15.10-default/build SUBDIRS=/home/richard/Documents/RT73_Linux_STA_Drv1.0.3.6/Module modules
make[1]: Entering directory `/usr/src/linux-2.6.13-15.10-obj/i386/default'
make[1]: *** Geen regel voor het maken van doel `modules'. Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.13-15.10-obj/i386/default'
make: *** [all] Fout 2

So etwas geht nicht.....was ist falsch

Danke
Richard
 

Grothesk

Ultimate Guru
Da fehlt wohl das 'kernel-source'-Paket. Bitte über yast nachinstallieren, falls das fehlt. Dann unbedingt!!! ein online update machen!
 
OP
R

ritslinux

Newbie
Grothesk schrieb:
Da fehlt wohl das 'kernel-source'-Paket. Bitte über yast nachinstallieren, falls das fehlt. Dann unbedingt!!! ein online update machen!

Danke fur ihren snelle antwort:

Ich habe mich die kernel-source von CD installiert.
Soll ich erst ein online update machen oder kann ich die installation fur den treiber jetzt neu ausprobieren?
 

Grothesk

Ultimate Guru
Zuerst bitte ein online update!
Die Version des installierten Kernels (uname -r) muss absolut identisch mit der Version von 'kernel-source' sein (rpm -q kernel-source).
Dann erst den Treiber installieren.
 
OP
R

ritslinux

Newbie
Okay, kernel source updated und ganze sache neu probiert.
Die installation klapt (glaub ich), aber noch immer keine treiber zu sehen in Ifconfig oder iwconfig.

im /var/log/messages komt:
Jul 7 22:16:04 skylinux kernel: rt73: module not supported by Novell, setting U taint flag.
Jul 7 22:19:34 skylinux kernel: rt73: module not supported by Novell, setting U taint flag.
 
A

Anonymous

Gast
Hallo, grüße nach Holland ;)

Das Modul ist geladen.

rt73: module not supported by Novell, setting U taint flag.

Nur eine Warnung, daß dieses Modul nicht offiziell von Novell/SuSE unterstützt wird.

Nun muss die Karte noch konfiguriert werden.

Gehe in Yast und versuche dort die Karte zu konfigurieren, vielleicht wird sie auch automatisch erkannt.

Greetz,

RM
 
OP
R

ritslinux

Newbie
Es klapt noch immer nicht:

grep rt73 /var/log/messages
Jul 9 19:29:56 skylinux kernel: rt73: module not supported by Novell, setting U taint flag.
Jul 9 19:29:56 skylinux kernel: usbcore: registered new driver rt73
Okay, aber Yast kan keine wlan-karte finden.

lsusb -v:
Bus 001 Device 003: ID 07d1:3c03 D-Link System
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x07d1 D-Link System
idProduct 0x3c03
bcdDevice 0.01
iManufacturer 1 Ralink
iProduct 2 802.11 bg WLAN
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
MaxPower 300mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1

Ein teil von dmesg:
rt73: module not supported by Novell, setting U taint flag.
rtusb init ====>
usbcore: registered new driver rt73
eth0: link up, 10Mbps, half-duplex, lpa 0x0000
eth0: no IPv6 routers present
eth0: link up, 10Mbps, half-duplex, lpa 0x0000
eth0: no IPv6 routers present
usb 1-2: USB disconnect, address 2
usb 1-2: new full speed USB device using uhci_hcd and address 3
eth0: link up, 10Mbps, half-duplex, lpa 0x0000
eth0: no IPv6 routers present
eth0: link up, 10Mbps, half-duplex, lpa 0x0000

Wie geht's weiter ??
 
A

Anonymous

Gast
Hallo,

Ich würde es versuchen, das File rt73.bin nach /lib/firmware zu kopieren.

Greetz,

RM
 
OP
R

ritslinux

Newbie
Na, dass alles mach nichts:
iwconfig giebt:

lo no wireless extensions.

sit0 no wireless extensions.

eth0 no wireless extensions.

rausb0 RT73 WLAN
Link Quality:0 Signal level:135 Noise level:145
Rx invalid nwid:0 invalid crypt:0 invalid misc:0

Aber die rausb0 funktioniert nicht.

When ich mache

iwconfig rausb0 ESSID (xxxxxxxxx)
dan:

Error for wireless request "Set ESSID" (8B1A) :
SET failed on device rausb0 ; Network is down.

Nach rmmod rt73 und eine reboot BLINKT das licht von der DLink
Naturlich gibt es dan kein rausb0 mehr in iwconfig

Das blinken bleibt bies ich die treiber neu lade (/sbin/insmod rt73.ko)
Dan STOPT das blinken.
Schau ich dan in iwconfig dan sehe ich wie hierforne


BTW der DLink funktioniert 100% in Windhoos
 

torgo

Newbie
Hi, ich hab einen Edimax USB-Wlan Stick. Dafür benötige auch das RT73-Modul.
Nach dem Laden erscheint dieselbe Meldung bei iwconfig.
Yast erkennt den Stick, kann ihn jedoch nicht laden.
Mit ifconfig "rausb0 inet 192.168.10.10 up" kann man den Stick aktivieren. Danach ist auch iwconfig möglich. Falls du die rt73sta.dat richtig editiert hast, wird die Verdingung zum AP automatisch hersgestellt.

Mein Problem ist jetzt dass Yast den Stick nicht aktivieren kann. Nach dem starten muss ich als root immer erst die Befehle ausführen.
Ich glaube dass Yast zuviel macht. Es sollte den Stick nur als eth0-macadresse aktivieren. Im Logfile kommt immer ifup-wireless. Dieses Skript sollte aber gar nciht geladen werden.

Gruß torgo
 
OP
R

ritslinux

Newbie
Mit ifconfig "rausb0 inet 192.168.10.10 up" kann man den Stick aktivieren. Danach ist auch iwconfig möglich. Falls du die rt73sta.dat richtig editiert hast, wird die Verdingung zum AP automatisch hersgestellt.

Genau, so bin ich auch etwas weiter gekommen.
Porblem ist, das die karte uber dhcp eine ip bekommen soll, so eine statischen adressen soll besser nicht gegeben werden.

Laden von die treiber mit /sbin/insmod/rt73.ko << das klappt.
ifconfig rausb0 inet 192.168.123.100 << seht gutt aus, aber karte mach kein richtige verbindung (nur ping ist moglich)
dan dhcpcd rausb0 << keine fahlermeldung, abber auch keine resultat.
Die prompt komt auch nicht mehr zuruck, nur nach <crtl><c>, aber dan geht die verbindung auch wieder herunter.
Vielleicht ist meinem rt73sta.dat noch nicht richtig.
(Ich kan alles genau sehen mitt gkrellm, was auf desktop steht.)

Es giebt noch etwas zu "tunen", aber wie sie sagen: YAST reicht hier nicht aus.

Alternativ hab ich auch die treiber von serialmonkey ausprobiert: mit gleichem ergebnis wie die treiber von Ralink.

(don't complaine about my german, it is not my native language)
 
A

Anonymous

Gast
Hello,

Perhaps it would be a better idea, to write in English from now on.

By the way: No apologies are necessary.

One thing is for sure. Your german will be a lot better than my dutch.

;)

Greetz,

RM
 

torgo

Newbie
Hi,
I switched back to the last version of the RT73. This version is working very well. Even Yast works.
Just compling was difficult. I could send the sources if you can't find them on ralinktech any more.
Greetz
 
OP
R

ritslinux

Newbie
I could send the sources

Hi torgo,

It would be nice if you could send me the source of the old rt73-driver, if that one works.
Send to r.farla@xs4all.nl please.
I indeed cannot find it on Ralinktech website.

I will try again with a serailmonkey-driver, but maybe you got the best solution.
I hope I may contact you if I have problems with compiling.

For some time to come I will be on a holiday, so things may take some time.

Greetings.
 
Hi Geek´s

at first sorry for my bad english.

Backround : I have my D-Link DWL-G122 since 4 Days and it cost me three evenings to solve the Problem. And i had some of these Problems as written above. I have an normal Suse Linux 9.3 Pro with all updates.
Important: Ndiswrapper does not work with the windows driver and my Kernel 2.6.11.4-21.13. I have tested it under win2000 und try to use the driver which windows is in use.

Howto:
At First you must get the Linux Driver from http://www.ralinktech.com/drivers/Linux/RT73_Linux_STA_Drv1.0.3.6.tar.gz
You must do exactly these Steps as written in the README!
If you have compile the module without any Errors you can test with
modeprobe rt73
Then you should the some Messsages in the /var/log/messages like these
-> kernel: rt73: module not supported by Novell..........
-> kernel: rtusbinit ====>
-> kernel: idVendor = 0x7d1, idProduct = 0x3c03
-> kernel: usbcore: registred new driver rt73
-> kernel: rt73 driver version - 1.0.3.6
These Messages should be the only one about rt73 driver.
In this time you had to edit the file /etc/Wireles/RT73STA/rt73sta.dat with these things you need. All written in Readme of the driver.
Now you can test the Module with "ifconfig rausb0 up".
"ifup rausb0" does not work because the Interface rausb0 is not up in this state.
I dont know why. I think it depends on the ralink driver.
After doing this you can test "ifconfig rausb0" or "iwconfig rausb0".
You should see some output with information about the Interface rausb0 (Mac adress, powerstate an somthing else).
Now you can go to Yast an setup the new found Interface in Network Section. I have use it as normaly ethernet Interface and Static IP. Also you must look in the advanced Section for somthing you must set for you.
Now you can go to an console an test it with "ifup rausb0"
Normaly, presupposed you have correctly edit the /etc/Wireles/RT73STA/rt73sta.dat, you should be conected with your AP.
The messages wich appears in /var/log/messages about wireless you can ignore.
And so on all works in an manual Way.
The Problem was, how to tell Suse linux to activate the DWL-G122 automatic when it is pluged in.
I solve this with two small scripts.One in /etc/hotplug/usb/ with Name rt73.
--> #!/bin/sh
--> test "$ACTION" = add || xit 0
--> ifconfig rausb0 up
This is to activate the rausb0 Interface if pluged.
The second Script is /etc/syconfig/network/if-up.d/ifup-rausb0
--> #!/bin/sh
--> DEVICE=rausb0
--> ONBOOT=yes
--> ifconfig rausb0 up
This i have done because ff Yast or you restart the rcnetwork, the rausb0 will go automatic down with "ifdown rausb0" and does not come up with "ifup rausb0".

I think this is surely not the best way but it is an way to use the "SUSE way" so far it goes and not to much changing in System files.

If somebody have an better way tell me please.[/code]
 

Evelyn

Newbie
Hallo,

I have "managed" to load RT73 when booting by using the same method as for DAZUKO: copy rt73.ko into /lib/modules/2.6.16.13-4-default/kernel/drivers/usb/net, then depmod -a, then edit file "kernel" in /etc/sysconfig by inserting rt73 in MODULES_LOADED_ON_BOOT="rt73"

When I reboot my computer, the driver is loaded automatically ( test: dmesg | grep -i usb, then you can read registered new driver rt73, HOWEVER : rausbo (WE ): Driver using old /proc/net/wireless support, please fix driver !

When doing iwconfig, I can read:
rausb0 RT73 WLAN
Link quality:0 Signal level: 135 Noise level: 145
Rx invalid nwid:0 invalid crypt:0 invalid misc: 0


Please help, there is no connection to my router, though I have given the gateway IP.

Thank you !
 

Evelyn

Newbie
I have found kindof a solution on the forum of ralinktech:
ifconfig rausb0 inet ***** up ( ***** means IP of the router )
then: iwconfig
then the data appears that you have given in rt73sta.dat

I can ping my router and my other computer.

However, there is no internet connection, why ???
 
Oben