PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : WLAN mit RT 2500 Cipsatz klappt nicht! PLS HELP ME!!!



flyingeagle84
23.06.05, 22:21
Servus!

Bin absoluter Nub was Linux angeht.

Hab soweit alles zum laufen bekommen, nur die WLAN Karte will nicht !

Sie wird im Plugger erkannt (Ralink RT2500) im YAST jedoch ist sie nicht aufzufinden.

Ich hab mir viele Beiträge zu diesem Thema durchgelesen. Jedoch hat bei mir keine Methode funktioniert.
Hab mir das Treiberpaket (rt2500-1.1.0-b2.tar) runtergeladen und entpackt.
Wenn ich dann im Verzeichnis Module den Befehl "make" eingebe kommt folgende Meldung:

make[1]: Entering directory `/usr/src/linux-2.6.5-7.155.29-obj/i386/default'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.155.29-obj/i386/default'
rt2500.ko failed to build!
make: *** [module] Error 1

Alle Pakete für make und wlan hab ich bereits installiert.

Kann mit dieser Fehlermeldung jemand was anfangen, bzw. mir helfen diese Karte zum laufen zu bringen?

Schonmal Vielen Dank für eure Beiträge!

grEEtz

stefan.becker
23.06.05, 22:24
Der Kernel muss gewiss konfiguriert werden. Nutze mal die Suche mit Schlagworten wie "make prepare", "make oldconfig" etc.

flyingeagle84
23.06.05, 23:08
Der Kernel muss gewiss konfiguriert werden. Nutze mal die Suche mit Schlagworten wie "make prepare", "make oldconfig" etc.


Danke, das hört sich recht lässig an, nur leider hab ich davon erst recht keinen Plan!

Ich hab irgendwas von "make xconfig" gelesen. Okay, da ist das graphisch schön aufgelistet aber
wenn ich das richtig verstanden habe, dann kompilier ich doch da nen neuen Kernel oder seh ich das falsch?
Geht das nicht einfach und wenn nicht, wie bekomm ich das hin?

Sorry, bin halt wirklich neu auf diesem Gebiet!!

rudi_m
23.06.05, 23:43
bei SuSE sollte

$ make cloneconfig && make prepare

reichen

oli993
24.06.05, 06:17
Ich empfehle Dir außerdem, die Treiber 1.4.6.1 von Ralink zu nehmen:
http://www.ralinktech.com/supp-1.htm

Gruß Oli.

PS: Die Kernelsourcen sollten unter /usr/src/linux installiert sein.

flyingeagle84
26.06.05, 14:16
Sers!

Danke für die Tipps aber wie gesagt bin halt ein absoluter Depp was diese Geschichte angeht!
Also ich hab mir jetzt den Treiber von Ralink geholt und ihn im Verzeichnis /usr/src/RT2500
entpackt.

Bin dann, wie in der Readme beschrieben, in das Verzeichnis /Module und hab dann "make"
eingegeben.
Dann bekomm ich folgende Fehlermeldung: (Hab vorher im Verzeichnis /usr/src/linux/ "make cloneconfig" und "make prepare" ausgeführt)

cc -D__KERNEL__ -I/usr/src/linux/linux-2.6.4-52/include -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux/linux-2.6.4-52/include/linux/modversions.h -Wall -Wstrict-prototypes -Wno-trigraphs -c -o rtmp_main.o rtmp_main.c
<command line>:138983649:47400: /usr/src/linux/linux-2.6.4-52/include/linux/modversions.h: No such file or directory
In file included from /usr/include/linux/module.h:20,
from rt_config.h:54,
from rtmp_main.c:38:
/usr/include/asm/module.h:56:2: #error unknown processor family
In file included from rt_config.h:55,
from rtmp_main.c:38:
/usr/include/linux/version.h:2:2: #error "================================================== ====="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Configure kernel sources:"
/usr/include/linux/version.h:23:2: #error " - cd /usr/src/linux"
/usr/include/linux/version.h:24:2: #error " - make mrproper"
/usr/include/linux/version.h:25:2: #error " - make cloneconfig"
/usr/include/linux/version.h:26:2: #error " - make dep"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:29:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:30:2: #error ""
/usr/include/linux/version.h:31:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:32:2: #error ""
/usr/include/linux/version.h:33:2: #error " instead of"
/usr/include/linux/version.h:34:2: #error ""
/usr/include/linux/version.h:35:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:36:2: #error ""
/usr/include/linux/version.h:37:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:38:2: #error "================================================== ====="
In file included from /usr/include/linux/irq.h:20,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from rt_config.h:62,
from rtmp_main.c:38:
/usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from rt_config.h:62,
from rtmp_main.c:38:
/usr/include/linux/irq.h:68: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/irq.h:68: error: requested alignment is not a constant
/usr/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/include/linux/irq.h:72,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from rt_config.h:62,
from rtmp_main.c:38:
/usr/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/usr/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/include/linux/interrupt.h:11,
from rt_config.h:62,
from rtmp_main.c:38:
/usr/include/asm/hardirq.h:13: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/hardirq.h:13: error: requested alignment is not a constant
In file included from /usr/include/linux/mm.h:206,
from /usr/include/asm/pci.h:7,
from /usr/include/linux/pci.h:727,
from rt_config.h:63,
from rtmp_main.c:38:
/usr/include/linux/page-flags.h:119: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/page-flags.h:119: error: requested alignment is not a constant
In file included from rt_config.h:138,
from rtmp_main.c:38:
rtmp.h:1139:41: missing binary operator before token "("
rtmp_main.c:79: warning: static declaration for `alloc_netdev' follows non-static
rtmp_main.c: In function `RT2500_probe':
rtmp_main.c:136: warning: implicit declaration of function `pci_request_regions'
rtmp_main.c:233: warning: implicit declaration of function `pci_release_regions'
rtmp_main.c:246:41: missing binary operator before token "("
rtmp_main.c: In function `RT2500_open':
rtmp_main.c:253: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:514)
rtmp_main.c:269: warning: passing arg 2 of `request_irq' from incompatible pointer type
rtmp_main.c:333:41: missing binary operator before token "("
rtmp_main.c:336: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:526)
rtmp_main.c:439:41: missing binary operator before token "("
rtmp_main.c:534:41: missing binary operator before token "("
rtmp_main.c:547:41: missing binary operator before token "("
rtmp_main.c:718:41: missing binary operator before token "("
rtmp_main.c: In function `RT2500_close':
rtmp_main.c:721: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:526)
rtmp_main.c: At top level:
rtmp_main.c:770: error: parse error before "__attribute__"
rtmp_main.c:732: warning: `RT2500_remove_one' defined but not used
make: *** [rtmp_main.o] Error 1

Kann mir das jemand so ausdeutschen, dass ich das auch verstehe? Wäre wirklich super!
Vorweg schonmal Vielen Dank für eure Hilfe !!!

see ya

ottix
26.06.05, 14:51
mit Mandriva le2005 gehts ohne probleme...
denke eventuell brauchst du nur einen neueren kernel

rudi_m
27.06.05, 10:38
Bin dann, wie in der Readme beschrieben, in das Verzeichnis /Module und hab dann "make"
eingegeben.
Bist Du wirklich nach README vorgegangen?
Fuer mich siehts so aus als ob Du das Makefile fuer den 2.4er kernel benutzt!
Habs gerade mal testweise so gemacht:

tar -xzf RT2500-Linux-STA-1.4.6.1.tar.gz
cd Module/
chmod u+x 2.6.x/
cp 2.6.x/Makefile .
cp 2.6.x/load .
make -C /usr/src/linux SUBDIRS=$PWD modules

Psycho Dad1
27.06.05, 14:26
Hi,

So eine Karte mit dem RT2500-Chipsatz (die kommt von Conceptronic) läuft bei meiner Frau ohne Probleme mit SuSE 9.3 und Standardkernel. Wird von yast2 auch erkannt und kann konfiguriert werden. Was zusätzlich installieren muss man da net.
SuSE 9.3 kann man jetzt ja als ISO frei runterladen.
http://www.pro-linux.de/news/2005/8321.html

Thomas