PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Problem - Avm Wlan Usb Stick Mit Ndiswrapper



pitt@linux
28.09.06, 20:42
Hallo zusammen,

habe eine 1&1 Internetverbindung. Mit Netzwerkkarte (an Fritzbox 7050) bekomme ich problemlos eine Verbindung.

Mit dem WLAN USB sieht die Sache aber schon ein wenig anderst aus.

mein Linux: SUSE 10.1

Um den Stick einzubinden habe ich den ndiswrapper-1.23 instaliert. anschliessend den atuellen Windowstreiber von der AVM Internetseite geholt.


windowstreiber


Sprache: Deutsch Dateigröße: 3072 KB Download starten
Version: 05.04.16 Build: 06.07.31 Datum: 06.09.2006


BEFEHL ndiswrapper -l:
Installed drivers:
fwlan driver installed, hardware present

BEFEHL ndiswrapper -m:
modprobe config already contains alias directive

BEFEHL modprobe ndiswrapper:
FATAL: Module ndiswrapper not found.

BEFEHL iwconfig:
lo no wireless extensions.

eth0 no wireless extensions.

eth1 no wireless extensions.

sit0 no wireless extensions.


BEFEHL lsusb:
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 005 Device 005: ID 06a3:0422 Saitek PLC ST90 Joystick
Bus 005 Device 006: ID 057c:5601 AVM GmbH
Bus 005 Device 002: ID 05e3:0606 Genesys Logic, Inc.
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 003: ID 03f0:7204 Hewlett-Packard DeskJet 36xx
Bus 002 Device 002: ID 045e:003c Microsoft Corp. SideWinder Joystick
Bus 002 Device 001: ID 0000:0000


Hat jemand eine Idee wo der Fehler liegt, bzw. weshalb ich keine Verbindung bekomme.

Danke

Rain_maker
28.09.06, 21:45
Also hier ist eindeutig was faul:


modprobe ndiswrapper:
FATAL: Module ndiswrapper not found.

Das Kompilieren des Kernelmoduls scheint fehlgeschlagen zu sein, warum musst Du nun herausfinden. Poste bitte die Ausgabe folgender Befehle:



uname -r

rpm -qa | grep kernel

rpm -qa | grep gcc

rpm -qa | grep make

rpm -qa | grep ndiswrapper

find /lib/modules/* -name ndiswrapper.ko

sudo cat /lib/modules/`uname -r`/modules.dep | grep ndiswrapper Bitte sämtliche Ausgaben posten.

Greetz,

RM

pitt@linux
29.09.06, 20:21
Hallo Rain_maker

vielen Dank für die schnelle Antwort.



linux-3anl:/home/peter # uname -r
2.6.16.21-0.25-bigsmp

linux-3anl:/home/peter # rpm -qa | grep kernel
kernel-bigsmp-2.6.16.21-0.25
kernel-default-2.6.16.21-0.25
kernel-smp-2.6.16.21-0.25
kernel-xen-2.6.16.21-0.25
kernel-xenpae-2.6.16.21-0.25
kernel-debug-2.6.16.21-0.25
kernel-source-2.6.16.21-0.25

linux-3anl:/home/peter # rpm -qa | grep gcc
gcc-4.1.0-25
gcc-c++-4.1.0-25
libgcc-4.1.0-25

linux-3anl:/home/peter # rpm -qa | grep make
textmaker-2006.1.25-10
make-3.80-200
unsermake-0.4_20060307-11
planmaker-2006.1.25-10
automake-1.9.6-11

linux-3anl:/home/peter # rpm -qa | grep ndiswrapper
linux-3anl:/home/peter #

linux-3anl:/home/peter # find /lib/modules/* -name ndiswrapper.ko
/lib/modules/2.6.16.21-0.21-default/misc/ndiswrapper.ko

linux-3anl:/home/peter # sudo cat /lib/modules/`uname -r`/modules.dep | grep ndiswrapper
linux-3anl:/home/peter #


Kannst Du mit dieser Ausgabe etwas anfangen?

Gruß

pitt@linux

Rain_maker
29.09.06, 20:39
Jepp, kann ich.

Aber bevor wir uns an Dein ndiswrapper-Problem machen, solltest Du drei Fragen beantworten.

1. Was für einen Prozessor hast Du? Ich nehme mal eher nicht an, daß Du einen Dual-Core Prozessor mit mehr als 4 GB RAM hast, oder?


cat /proc/cpuinfo

2. Wieviele Einträge kannst Du zum Booten für SuSE 10.1 auswählen?

"Normal", "Failsafe" und ansonsten?


sudo cat /boot/grub/menu.lst

ls -ls /boot/vmlinuz*

ls -ls /boot/initrd*

3. 32 oder 64-Bit Installation?


cat /etc/SuSE-release Ausgaben posten und bitte Code-Tags verwenden (erhöht die Übersichtlichkeit).


Shellausgaben reinkopieren

Greetz,

RM

Nachtrag:

http://www.linuxforen.de/forums/showthread.php?t=222266

Sollte man sich vielleicht für später auch mal ansehen.

pitt@linux
01.10.06, 16:42
Hallo Rain_maker,

Dual-Core Prozessor wäre zwar schön (könnte ich mir gut vorstellen), habe ich aber leider nicht:
:)

Mein System sieht wie folgt aus:

Prozessor (CPU): AMD Athlon(TM) XP 3000+
Geschwindigkeit: 2 154,36 MHz
Gesamtspeicher (RAM): 499,91 MB
Betriebssystem: Linux 2.6.16.21-0.25-bigsmp i686
System: SUSE LINUX 10.1 (i586)
KDE: 3.5.1 Level "a"
Grafik / Hersteller: ATI Technologies Inc
Modell: RV350 AS
Treiber: fglrx (3D-Unterstützung)


habe aber auch die Befehle eingetippt.

linux-3anl:/home/peter # cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 10
model name : AMD Athlon(TM) XP 3000+
stepping : 0
cpu MHz : 2154.361
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow ts
bogomips : 4315.49

linux-3anl:/home/peter # sudo cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on Wed Sep 27 21:09:58 CEST 2006
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd2,1)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux 10.1
root (hd2,1)
kernel /boot/vmlinuz root=/dev/hdd2 vga=791 resume=/dev/hdd1 splash=silent showopts
initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
chainloader (hd0,0)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux 10.1
root (hd2,1)
kernel /boot/vmlinuz root=/dev/hdd2 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd

title Xen -- SUSE LINUX 10.1
root (hd2,1)
kernel /boot/xen.gz
module /boot/vmlinuz-xen root=/dev/hdd2 vga=791 resume=/dev/hdd1 splash=silent showopts
module /boot/initrd-xen

title Vorheriger Kernel -- SUSE LINUX 10.1
root (hd2,1)
kernel /boot/vmlinuz.previous root=/dev/hdd2 vga=791 resume=/dev/hdd1 splash=silent showopts
initrd /boot/initrd.previous

title Xen -- SUSE LINUX 10.1

root (hd2,1)
kernel /boot/xen-pae.gz
module /boot/vmlinuz-xenpae root=/dev/hdd2 vga=791 resume=/dev/hdd1 splash=silent showopts
module /boot/initrd-xenpae



linux-3anl:/home/peter # ls -ls /boot/vmlinuz*
0 lrwxrwxrwx 1 root root 29 2006-09-27 21:13 /boot/vmlinuz -> vmlinuz-2.6.16.21-0.25-bigsmp
1321 -rw-r--r-- 1 root root 1348596 2006-09-19 13:27 /boot/vmlinuz-2.6.16.21-0.25-bigsmp
1538 -rw-r--r-- 1 root root 1569446 2006-09-19 13:28 /boot/vmlinuz-2.6.16.21-0.25-debug
1209 -rw-r--r-- 1 root root 1235715 2006-09-19 13:38 /boot/vmlinuz-2.6.16.21-0.25-default
1305 -rw-r--r-- 1 root root 1331230 2006-09-19 14:42 /boot/vmlinuz-2.6.16.21-0.25-smp
1369 -rw-r--r-- 1 root root 1399691 2006-09-19 13:40 /boot/vmlinuz-2.6.16.21-0.25-xen
1381 -rw-r--r-- 1 root root 1409608 2006-09-19 13:22 /boot/vmlinuz-2.6.16.21-0.25-xenpae
0 lrwxrwxrwx 1 root root 28 2006-09-27 21:10 /boot/vmlinuz.previous -> vmlinuz-2.6.16.21-0.25-debug
0 lrwxrwxrwx 1 root root 26 2006-09-27 19:27 /boot/vmlinuz-xen -> vmlinuz-2.6.16.21-0.25-xen
0 lrwxrwxrwx 1 root root 29 2006-09-27 21:08 /boot/vmlinuz-xenpae -> vmlinuz-2.6.16.21-0.25-xenpae


linux-3anl:/home/peter # ls -ls /boot/initrd*
0 lrwxrwxrwx 1 root root 28 2006-09-27 21:14 /boot/initrd -> initrd-2.6.16.21-0.25-bigsmp
2374 -rw-r--r-- 1 root root 2426927 2006-09-27 21:14 /boot/initrd-2.6.16.21-0.25-bigsmp
2418 -rw-r--r-- 1 root root 2471874 2006-09-27 21:11 /boot/initrd-2.6.16.21-0.25-debug
2358 -rw-r--r-- 1 root root 2409774 2006-09-27 19:23 /boot/initrd-2.6.16.21-0.25-default
2366 -rw-r--r-- 1 root root 2419085 2006-09-27 21:05 /boot/initrd-2.6.16.21-0.25-smp
2374 -rw-r--r-- 1 root root 2425898 2006-09-27 19:27 /boot/initrd-2.6.16.21-0.25-xen
2374 -rw-r--r-- 1 root root 2426924 2006-09-27 21:08 /boot/initrd-2.6.16.21-0.25-xenpae
0 lrwxrwxrwx 1 root root 27 2006-09-27 21:11 /boot/initrd.previous -> initrd-2.6.16.21-0.25-debug
0 lrwxrwxrwx 1 root root 25 2006-09-27 19:27 /boot/initrd-xen -> initrd-2.6.16.21-0.25-xen
0 lrwxrwxrwx 1 root root 28 2006-09-27 21:08 /boot/initrd-xenpae -> initrd-2.6.16.21-0.25-xenpae


linux-3anl:/home/peter # cat /etc/SuSE-release
SUSE LINUX 10.1 (i586)
VERSION = 10.1


das mit "
Shellausgaben reinkopieren" habe ich leider nicht verstanden.


Gruß

pitt@linux

Rain_maker
01.10.06, 16:59
Sorry, der war echt gut.

Das mit den Code Tags bedeutete, daß Du die Shellausgaben der gesamten Befehle bitte so einpacken sollst.

Du kannst das auch mit der Maus markieren und dann auf die Raute oben links drücken.(Siehe Anhang).

Das machst Du bitte auch, denn so kann man das kaum lesen (Ändern Button drücken und oben korrigieren).

Greetz,

RM

pitt@linux
02.10.06, 21:21
Hallo Rain maker,

bin auch kein Freund von Augenkrebs !!!
:)







1.)


linux-3anl:/home/peter # cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 10
model name : AMD Athlon(TM) XP 3000+
stepping : 0
cpu MHz : 2154.361
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow ts
bogomips : 4315.49



2.a)


linux-3anl:/home/peter # sudo cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on Wed Sep 27 21:09:58 CEST 2006
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd2,1)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux 10.1
root (hd2,1)
kernel /boot/vmlinuz root=/dev/hdd2 vga=791 resume=/dev/hdd1 splash=silent showopts
initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
chainloader (hd0,0)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux 10.1
root (hd2,1)
kernel /boot/vmlinuz root=/dev/hdd2 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd

title Xen -- SUSE LINUX 10.1
root (hd2,1)
kernel /boot/xen.gz
module /boot/vmlinuz-xen root=/dev/hdd2 vga=791 resume=/dev/hdd1 splash=silent showopts
module /boot/initrd-xen

title Vorheriger Kernel -- SUSE LINUX 10.1
root (hd2,1)
kernel /boot/vmlinuz.previous root=/dev/hdd2 vga=791 resume=/dev/hdd1 splash=silent showopts
initrd /boot/initrd.previous

title Xen -- SUSE LINUX 10.1

root (hd2,1)
kernel /boot/xen-pae.gz
module /boot/vmlinuz-xenpae root=/dev/hdd2 vga=791 resume=/dev/hdd1 splash=silent showopts
module /boot/initrd-xenpae



2.b)


linux-3anl:/home/peter # ls -ls /boot/vmlinuz*
0 lrwxrwxrwx 1 root root 29 2006-09-27 21:13 /boot/vmlinuz -> vmlinuz-2.6.16.21-0.25-bigsmp
1321 -rw-r--r-- 1 root root 1348596 2006-09-19 13:27 /boot/vmlinuz-2.6.16.21-0.25-bigsmp
1538 -rw-r--r-- 1 root root 1569446 2006-09-19 13:28 /boot/vmlinuz-2.6.16.21-0.25-debug
1209 -rw-r--r-- 1 root root 1235715 2006-09-19 13:38 /boot/vmlinuz-2.6.16.21-0.25-default
1305 -rw-r--r-- 1 root root 1331230 2006-09-19 14:42 /boot/vmlinuz-2.6.16.21-0.25-smp
1369 -rw-r--r-- 1 root root 1399691 2006-09-19 13:40 /boot/vmlinuz-2.6.16.21-0.25-xen
1381 -rw-r--r-- 1 root root 1409608 2006-09-19 13:22 /boot/vmlinuz-2.6.16.21-0.25-xenpae
0 lrwxrwxrwx 1 root root 28 2006-09-27 21:10 /boot/vmlinuz.previous -> vmlinuz-2.6.16.21-0.25-debug
0 lrwxrwxrwx 1 root root 26 2006-09-27 19:27 /boot/vmlinuz-xen -> vmlinuz-2.6.16.21-0.25-xen
0 lrwxrwxrwx 1 root root 29 2006-09-27 21:08 /boot/vmlinuz-xenpae -> vmlinuz-2.6.16.21-0.25-xenpae


2.c)



linux-3anl:/home/peter # ls -ls /boot/initrd*
0 lrwxrwxrwx 1 root root 28 2006-09-27 21:14 /boot/initrd -> initrd-2.6.16.21-0.25-bigsmp
2374 -rw-r--r-- 1 root root 2426927 2006-09-27 21:14 /boot/initrd-2.6.16.21-0.25-bigsmp
2418 -rw-r--r-- 1 root root 2471874 2006-09-27 21:11 /boot/initrd-2.6.16.21-0.25-debug
2358 -rw-r--r-- 1 root root 2409774 2006-09-27 19:23 /boot/initrd-2.6.16.21-0.25-default
2366 -rw-r--r-- 1 root root 2419085 2006-09-27 21:05 /boot/initrd-2.6.16.21-0.25-smp
2374 -rw-r--r-- 1 root root 2425898 2006-09-27 19:27 /boot/initrd-2.6.16.21-0.25-xen
2374 -rw-r--r-- 1 root root 2426924 2006-09-27 21:08 /boot/initrd-2.6.16.21-0.25-xenpae
0 lrwxrwxrwx 1 root root 27 2006-09-27 21:11 /boot/initrd.previous -> initrd-2.6.16.21-0.25-debug
0 lrwxrwxrwx 1 root root 25 2006-09-27 19:27 /boot/initrd-xen -> initrd-2.6.16.21-0.25-xen
0 lrwxrwxrwx 1 root root 28 2006-09-27 21:08 /boot/initrd-xenpae -> initrd-2.6.16.21-0.25-xenpae


3.)


linux-3anl:/home/peter # cat /etc/SuSE-release
SUSE LINUX 10.1 (i586)
VERSION = 10.1



Danke

Rain_maker
02.10.06, 21:46
Also, das Problem ist folgendes.

Dein vorhandenes Kernelmodul ndiswrapper passt nicht zum laufenden Kernel, allerdings nicht vom Release her ("Nummer des Kernels") sondern vom sogenannten "Kernel-Flavor" (default, smp bigsmp usw.).



linux-3anl:/home/peter # find /lib/modules/* -name ndiswrapper.ko
/lib/modules/2.6.16.21-0.21-default/misc/ndiswrapper.ko

Ich denke, das hängt mit dem letzten Kernel-Update zusammen, bei dem unsinnigerweise (vom System!) der bigsmp als Standardkernel gewählt wurde.

Dein Prozessor ist ein "stinknormaler" AMD-Prozessor,



model name : AMD Athlon(TM) XP 3000+

Du hast eine 32-Bit SuSE installiert



SUSE LINUX 10.1 (i586)

aber der laufende Kernel ist ein bigsmp-Kernel,



2.6.16.21-0.25-bigsmp

0 lrwxrwxrwx 1 root root 29 2006-09-27 21:13 /boot/vmlinuz -> vmlinuz-2.6.16.21-0.25-bigsmp

welcher "eigentlich" für Multicore mit mehr als 4GB RAM optimiert ist, also mit Kanonen auf Spatzen geschossen.

Die "schnelle Lösung" wäre der Neubau von Ndiswrapper (make && make install) mit dem neuen, laufenden bigsmp-Kernel.

Die meiner Meinung nach bessere Lösung, wäre es, mal "Ordnung zu schaffen" und die ganzen nicht benötigten Kernel zu deinstallieren, denn ich denke kaum, daß Du die ganzen Kernel hier:


1321 -rw-r--r-- 1 root root 1348596 2006-09-19 13:27 /boot/vmlinuz-2.6.16.21-0.25-bigsmp
1538 -rw-r--r-- 1 root root 1569446 2006-09-19 13:28 /boot/vmlinuz-2.6.16.21-0.25-debug
1209 -rw-r--r-- 1 root root 1235715 2006-09-19 13:38 /boot/vmlinuz-2.6.16.21-0.25-default
1305 -rw-r--r-- 1 root root 1331230 2006-09-19 14:42 /boot/vmlinuz-2.6.16.21-0.25-smp
1369 -rw-r--r-- 1 root root 1399691 2006-09-19 13:40 /boot/vmlinuz-2.6.16.21-0.25-xen
1381 -rw-r--r-- 1 root root 1409608 2006-09-19 13:22 /boot/vmlinuz-2.6.16.21-0.25-xenpae
wirklich brauchst.

Also, nun liegt es an Dir, schneller oder langsamer Weg? Der "langsame" Weg würde jedenfalls verhindern, daß sowas wie "nach dem nächsten Kernel-Update ist wieder ein anderer als Standardeintrag gewählt" nochmal passiert und es wären dann auch nicht mehr einige Kernel installiert, die Du sicherlich nicht brauchst, die aber unnötig Platz wegnehmen.

Greetz,

RM