Hallo allerseits,
ich bin gerade dabei mein WLAN einzurichten. Ich habe eine SpeedTouch 120 WLAN-Karte (USB) und habe endlich die passenden Treiber gefunden (orinoco_usb).

Ich habe als KERNEL_SRC /usr/src/linux (Link auf /usr/src/linux-2.6.20-gentoo-r8) angegeben, aber so ganz möchte er das nicht.
daniel@meinpc ~/orinoco-usb-0.2.2 $ make KERNEL_SRC=/usr/src/linux
make -C driver
make[1]: Entering directory `/home/daniel/orinoco-usb-0.2.2/driver'
mkdir -p .tmp_versions
cp /usr/src/linux/.tmp_versions/*.mod /home/daniel/orinoco-usb-0.2.2/driver/.tmp_versions
cp: cannot stat `/usr/src/linux/.tmp_versions/*.mod': No such file or directory
make[1]: [modules] Error 1 (ignored)
make -C /usr/src/linux SUBDIRS=/home/daniel/orinoco-usb-0.2.2/driver MODVERDIR=/home/daniel/orinoco-usb-0.2.2/driver/.tmp_versions modules
make[2]: Entering directory `/usr/src/linux-2.6.20-gentoo-r8'
CC [M] /home/daniel/orinoco-usb-0.2.2/driver/hermes.o
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:41:26: error: linux/config.h: No such file or directory
In file included from /home/daniel/orinoco-usb-0.2.2/driver/hermes.c:53:
/home/daniel/orinoco-usb-0.2.2/driver/hermes.h: In function 'hermes_present':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.h:379: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.h: In function 'hermes_set_irqmask':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.h:385: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.h: In function 'hermes_read_words':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.h:426: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.h: In function 'hermes_write_words':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.h:446: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.h: In function 'hermes_clear_words':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.h:462: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c: In function 'hermes_issue_cmd':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:121: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:125: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:131: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:132: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:133: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:134: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c: In function 'hermes_init_direct':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:174: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:175: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:184: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:192: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:201: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:202: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:210: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:215: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:218: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:235: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:237: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c: In function 'hermes_docmd_wait_direct':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:273: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:278: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:297: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:300: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:301: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:302: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:305: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c: In function 'hermes_allocate_direct':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:328: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:333: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:350: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:351: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c: In function 'hermes_bap_seek':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:375: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:379: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:399: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:400: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:404: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:408: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c: In function 'hermes_read_ltv_direct':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:503: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:508: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c: In function 'hermes_write_ltv_direct':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:544: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:545: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
make[3]: *** [/home/daniel/orinoco-usb-0.2.2/driver/hermes.o] Error 1
make[2]: *** [_module_/home/daniel/orinoco-usb-0.2.2/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.20-gentoo-r8'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/daniel/orinoco-usb-0.2.2/driver'
make: *** [all] Error 2
Was habe vergessen/falsch gemacht? Danke für eure Bemühungen.
ich bin gerade dabei mein WLAN einzurichten. Ich habe eine SpeedTouch 120 WLAN-Karte (USB) und habe endlich die passenden Treiber gefunden (orinoco_usb).
Okay, ich hänge schon bei Schritt 1.Making it work:
--------------
As usual when building external kernel modules, you need a Linux
kernel source tree configured properly.
$ make KERNEL_SRC=/path/to/my/kernel/source
$ su
# make install
# make load
You should now have an wlan0 network device ready for use.
NOTE: Keep in mind that you will have to copy the kernel modules
manually to the appropriate place for them to get loaded automatically
when you reboot.

Ich habe als KERNEL_SRC /usr/src/linux (Link auf /usr/src/linux-2.6.20-gentoo-r8) angegeben, aber so ganz möchte er das nicht.
daniel@meinpc ~/orinoco-usb-0.2.2 $ make KERNEL_SRC=/usr/src/linux
make -C driver
make[1]: Entering directory `/home/daniel/orinoco-usb-0.2.2/driver'
mkdir -p .tmp_versions
cp /usr/src/linux/.tmp_versions/*.mod /home/daniel/orinoco-usb-0.2.2/driver/.tmp_versions
cp: cannot stat `/usr/src/linux/.tmp_versions/*.mod': No such file or directory
make[1]: [modules] Error 1 (ignored)
make -C /usr/src/linux SUBDIRS=/home/daniel/orinoco-usb-0.2.2/driver MODVERDIR=/home/daniel/orinoco-usb-0.2.2/driver/.tmp_versions modules
make[2]: Entering directory `/usr/src/linux-2.6.20-gentoo-r8'
CC [M] /home/daniel/orinoco-usb-0.2.2/driver/hermes.o
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:41:26: error: linux/config.h: No such file or directory
In file included from /home/daniel/orinoco-usb-0.2.2/driver/hermes.c:53:
/home/daniel/orinoco-usb-0.2.2/driver/hermes.h: In function 'hermes_present':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.h:379: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.h: In function 'hermes_set_irqmask':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.h:385: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.h: In function 'hermes_read_words':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.h:426: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.h: In function 'hermes_write_words':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.h:446: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.h: In function 'hermes_clear_words':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.h:462: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c: In function 'hermes_issue_cmd':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:121: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:125: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:131: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:132: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:133: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:134: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c: In function 'hermes_init_direct':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:174: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:175: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:184: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:192: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:201: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:202: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:210: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:215: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:218: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:235: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:237: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c: In function 'hermes_docmd_wait_direct':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:273: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:278: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:297: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:300: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:301: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:302: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:305: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c: In function 'hermes_allocate_direct':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:328: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:333: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:350: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:351: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c: In function 'hermes_bap_seek':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:375: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:379: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:399: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:400: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:404: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:408: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c: In function 'hermes_read_ltv_direct':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:503: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:508: warning: passing argument 1 of 'readw' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c: In function 'hermes_write_ltv_direct':
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:544: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
/home/daniel/orinoco-usb-0.2.2/driver/hermes.c:545: warning: passing argument 2 of 'writew' makes pointer from integer without a cast
make[3]: *** [/home/daniel/orinoco-usb-0.2.2/driver/hermes.o] Error 1
make[2]: *** [_module_/home/daniel/orinoco-usb-0.2.2/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.20-gentoo-r8'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/daniel/orinoco-usb-0.2.2/driver'
make: *** [all] Error 2
Was habe vergessen/falsch gemacht? Danke für eure Bemühungen.
