[gelöst] Lenny, AVM Fritz USB Stick, Linux Treiber

Einrichten des lokalen Netzes, Verbindung zu anderen Computern und Diensten.
Antworten
nonoo

[gelöst] Lenny, AVM Fritz USB Stick, Linux Treiber

Beitrag von nonoo » 06.01.2008 12:21:30

Hi, bisher verwende ich ndiswrapper.
Bei Lenny erscheint mir dieser mit dem Fritz USB Stick relativ unstabil.
Verbindungen brechen oftmals ab, ein Totalneuboot ist dann erforderlich.

Mein verwendeter Kernel:

Code: Alles auswählen

/proc/version
Linux version 2.6.22-3-686 (Debian 2.6.22-6) (maks@debian.org) (gcc version 4.1.3 20071019 (prerelease) (Debian 4.1.2-17)) #1 SMP Mon Nov 12 08:32:57 UTC 2007
Jetzt habe ich versucht den Linux Treiber von AVM zu verwenden:

Code: Alles auswählen

sh ./install
sh: ./install: Datei oder Verzeichnis nicht gefunden
scenic@x1x:~$ make: Entering directory `/home/scenic/avmlinux/fritz/src'
> rm -f main.o driver.o tools.o lib.o buffers.o wext.o
> rm -f fwlanusb.o fwlanusb.ko
> make: Leaving directory `/home/scenic/avmlinux/fritz/src'
> make: Entering directory `/home/scenic/avmlinux/fritz/src'
> make -C /lib/modules/2.6.22-3-686/build SUBDIRS=/home/scenic/avmlinux/fritz/sr
c modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.22-3-686'
bash: command substitution: line 1: unexpected EOF while looking for matching `'
'
bash: command substitution: line 5: syntax error: unexpected end of file
bash: bad substitution: no closing "`" in `/usr/src/linux-headers-2.6.22-3-686'
scenic@x1x:~$   CC [M]  /home/scenic/avmlinux/fritz/src/main.o
bash: CC: command not found
scenic@x1x:~$   CC [M]  /home/scenic/avmlinux/fritz/src/driver.o
bash: CC: command not found
scenic@x1x:~$   CC [M]  /home/scenic/avmlinux/fritz/src/tools.o
bash: CC: command not found
scenic@x1x:~$   CC [M]  /home/scenic/avmlinux/fritz/src/lib.o
bash: CC: command not found
scenic@x1x:~$   CC [M]  /home/scenic/avmlinux/fritz/src/buffers.o
bash: CC: command not found
scenic@x1x:~$   CC [M]  /home/scenic/avmlinux/fritz/src/wext.o
bash: CC: command not found
scenic@x1x:~$   LD [M]  /home/scenic/avmlinux/fritz/src/fwlanusb.o
bash: LD: command not found
scenic@x1x:~$   Building modules, stage 2.
bash: Building: command not found
scenic@x1x:~$   MODPOST 1 modules
bash: MODPOST: command not found
scenic@x1x:~$ WARNING: modpost: GPL-incompatible module fwlanusb.ko uses future                                                                      GPL-only symbol 'usb_deregister'
bash: WARNING:: command not found
scenic@x1x:~$ WARNING: modpost: GPL-incompatible module fwlanusb.ko uses future                                                                      GPL-only symbol 'usb_register_driver'
bash: WARNING:: command not found
scenic@x1x:~$   CC      /home/scenic/avmlinux/fritz/src/fwlanusb.mod.o
bash: CC: command not found
scenic@x1x:~$   LD [M]  /home/scenic/avmlinux/fritz/src/fwlanusb.ko
bash: LD: command not found
scenic@x1x:~$ make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-3-686'
> make: Leaving directory `/home/scenic/avmlinux/fritz/src'
> make: Entering directory `/home/scenic/avmlinux/fritz/src'
> „fwlanusb.ko“ -> „/lib/modules/2.6.22-3-686/extra/fwlanusb.ko“
> depmod -a
> make: Leaving directory `/home/scenic/avmlinux/fritz/src'
bash: command substitution: line 1: unexpected EOF while looking for matching `'                                                                     '
bash: command substitution: line 3: syntax error: unexpected end of file
bash: bad substitution: no closing "`" in `/home/scenic/avmlinux/fritz/src'
Gibt es für diese Fehlermeldung Abhilfe?
Verwendet jemand den AVM USB Linuxtreiber, wenn ja wie?

mfg nonoo


Edit:

Info zum Treiber

This directory includes an archive with all necessary files for
the FRTITZ!WLAN USB Stick.

This directory contains the following components:
- Linux driver of the controller

The driver package for the controller contains modules for Linux.
To allow manually integration in other distributions or kernel versions
(Makefiles), the source code is included.

The archives in this directory contain the current packages.
Please copy the file to your computer and extract the file
with the command tar -xzvf <ARCHIVE NAME>

A subdirectory containing the installation files will be created
automatically. Install the software from this dirctory according to
the installation instructions in the files "LIESMICH.HTML / README.HTML".

This archive includes the software for the following modules:

Archive : fwlanusb-1.00.00.tar.gz
Modul : 32-Bit driver for the AVM WLAN-Controller FRITZ!WLAN USB Stick
Operating system: Linux - Kernel 2.6.18.2-34-default; SUSE 10.2 and other
distributions (Makefile)
Version : 01.00.00
Build : 07.07.05
New Features : - inital Release (distribution independent)
Zuletzt geändert von nonoo am 07.01.2008 13:35:47, insgesamt 2-mal geändert.

nonoo

Lösung

Beitrag von nonoo » 07.01.2008 11:59:40

Hi. mit folgender Anleitung konnte ich das Problem lösen:
3 Installationshinweise für die Einbindung in andere Linux-Distributionen
Durch das offene Konzept von Linux können alle aktuellen Distributionen eingesetzt werden. Die in den Treibern enthaltenen Binary-only-Module sind frei von Kernel-Abhängigkeiten. Sie führen daher keine direkten Aufrufe des Kernels (kernel calls) durch. Dadurch sind sie in jeden Linux-Kern integrierbar. Die manuelle Installation muss aber individuell entsprechend der Distribution (Kernel-Konfiguration etc.) und entsprechend der installierten Komponenten (zum Beispiel zusätzlich notwendiger PCMCIA-Module etc.) abgestimmt werden. Alle zur Integration notwendigen Treiberkomponenten, der Quellcode und diese Anleitung werden im "fritz"-Treiberverzeichnis mitgeliefert.
Eine der möglichen Methoden, die Quellen für andere Distributionen und Kernelversionen zu übersetzen, wird hier beschrieben:
Rufen Sie nach dem Auspacken der Treiberarchivdatei im neu entstandenen Verzeichnis "fritz/src" den Befehl "make" auf.
Dieser Aufruf führt das dort vorhandene "Makefile" aus.
Die daraus entstandene .ko-Datei muss anschließend in das Unterverzeichnis /lib/modules/`uname -r`/extra kopiert werden.
Für den laufenden Kern geschieht dies automatisch mit dem Aufruf "make install".
Im Rahmen der Übersetzung werden zwei Komponenten zusammengebunden:
der mitgelieferte Quellcode zur Systemanbindung
ein binäres, kernelunabhängiges Modul im Verzeichnis "/fritz/lib".
Bitte beachten Sie, dass der Kern mit den Wireless Extensions (mindestens Version 18) konfiguriert sein muss (CONFIG_NET_WIRELESS=y).

Weitere nützliche Hinweise und Links finden Sie unter: http://www.avm.de/linux
Der Treiber ist mit Kernel 2.6.22 von Lenny funktionsfähig, er muß nur extra für diesen Kernel kompiliert werden.

Bisher erscheint mir die Verbindung mit dem AVM-Linuxtreiber stabiler als die Verbindung mit dem jetzigen ndiswrapper von Lenny.

mfg nonoo


Ablauf:

http://nopaste.debianforum.de/7249

Benutzeravatar
Strunz_1975
Beiträge: 2512
Registriert: 13.04.2007 14:29:32
Lizenz eigener Beiträge: MIT Lizenz
Kontaktdaten:

Beitrag von Strunz_1975 » 15.03.2008 19:47:19

Debian Bookworm

Antworten