A
Anonymous
Gast
Hallo zusammen,
ich bräuchte mal wieder eure Hilfe, wofür ich mich im voraus schon mal bedanke.
Ich habe mir eine WLAN-PCI-Karte gekauft, welche ein Segen ( ich lerne mehr über Module) und ein Fluch (es könnte schnller gehen, das mit dem Konfigurieren ) zugleich ist. Aber nun zum Problem.
Das Module habe ich kompiliert und es läuft auch bis zum nächsten booten.
Habe rausgefunden, das das Modul nur in meinem 'Compilier'-Ordner befindet.
Hier das Makefile:
Musste das Modul auch mit 'make all' compilieren. Und lt. dem Makefile bin ich von ausgegangen, das dieses Module in
zu finden ist, aber leider nicht. Nun mein Ziel ist es entweder das Makefile zu ändern, oder den compilierten Code manuell zu kopieren, so das beim Booten das Modul auch automatisch gefunden wird. Muss ich da alle *.o-Dateien kopieren? Ich vermute mal ja, oder reicht da nur die rt61.o? Habe also in der modprobe.conf.local auch schon
eingetragen. Jetzt war ich mir auch nicht sicher, ob ich in
dieses auch lösen kann.
Thx
Und Grüsse
ich bräuchte mal wieder eure Hilfe, wofür ich mich im voraus schon mal bedanke.
Ich habe mir eine WLAN-PCI-Karte gekauft, welche ein Segen ( ich lerne mehr über Module) und ein Fluch (es könnte schnller gehen, das mit dem Konfigurieren ) zugleich ist. Aber nun zum Problem.
Das Module habe ich kompiliert und es läuft auch bis zum nächsten booten.
Habe rausgefunden, das das Modul nur in meinem 'Compilier'-Ordner befindet.
Hier das Makefile:
Code:
# Comment/uncomment the following line to enable/disable debugging
WFLAGS = -DAGGREGATION_SUPPORT -DWMM_SUPPORT -Wall -Wstrict-prototypes -Wno-trigraphs
#WFLAGS += -DRALINK_ATE
#WFLAGS += -DSINGLE_ADHOC_LINKUP
#CFLAGS += -DDBG
CFLAGS+= $(WFLAGS)
obj-m := rt61.o
rt61-objs := rtmp_main.o mlme.o connect.o sync.o assoc.o auth.o auth_rsp.o rtmp_data.o rtmp_init.o sanity.o rtmp_wep.o rtmp_info.o eeprom.o rtmp_tkip.o wpa.o md5.o
all:
make -C /lib/modules/$(shell uname -r)/build SUBDIRS=$(shell pwd) modules
clean:
rm -f *.o *~ .*.cmd *.ko *.mod.c
#make command : make -C path/to/src SUBDIRS=$PWD modules
#example : make -C /usr/src/linux-2.6.3-4mdk SUBDIRS=$PWD modules
Musste das Modul auch mit 'make all' compilieren. Und lt. dem Makefile bin ich von ausgegangen, das dieses Module in
Code:
/lib/modules/linux-2.6.13-15.8-default/build ...
Code:
alias ra0 rt61 # ra0 <->wlan-karte
Code:
/lib/modules/<KERNELVERSION>/modules.dep
Thx
Und Grüsse