• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst]AVM WLAN Stick N und openSuSE 12.1 (ich verzweifel)

Erstmal ein nettes "Hallo" an alle im Forum.

Ich habe mich nach langer Zeit mal wieder dazu entschieden Linux
bzw openSuse 12.1 (64 bit) auf meinem Rechner zu installieren. Alles gefällt mir sehr gut, nur verzweifel ich daran
meinen AVM WLAN Stick N per ndiswrapper zum Laufen zu bekommen. Ich habe mir die verschiedensten Anleitungen nach
googlesuche ausprobiert. Keine führt zum Erfolg. :???:

Ich habe ndiswrapper von der 12.1 er DVD installiert, danach den 64 bit Windowstreiber
mit # ndiswrapper -i /pfad zur .inf eingebunden
dann # ndiswrapper -l (angeblich ist der Treiber installiert)

Wenn ich jetzt per #ndiswrapper -d versuche die Produkt-ID und die Vertreiber ID einzubinden bekomme ich als
Meldung, dass der Pfad nicht existiert oder ich keine Rechte habe (angemeldet als root) und der Treiber nicht richtig installiert ist.

mache ich ein dmsg wird mir der stick angezeigt allerdings kommt auch der Hinweis das die Firmware fehlt.

Was mache ich falsch????? ich habe mittleerweile einen ganzen Schwung an Anleitungen im I-Net gefunden aber keine funktioniert. :nosmile:

Ich hoffe hier findet sich jemand der auch den Stick und auch die 12.1 er hat.

Danke schonmal recht herzlich.

Gruß

Frank
 

Sauerland

Ultimate Guru
Was auch noch hilfreich wäre:
Code:
uname -a

Wenn die USB-ID dabei ist, sollten wir den eigentlich zum laufen bekommen:
Code:
modprobe -c | grep -i "057c"
alias pcmcia:m0057c0021f*fn*pfn00pa*pb*pc*pd* pcnet_cs
alias pcmcia:m0057c0021f*fn*pfn01pa*pb*pc*pd* serial_cs
alias pcmcia:m0057c1004f*fn*pfn*pa*pb*pc*pd* pcnet_cs
alias usb:v057Cp2200d*dc*dsc*dp*ic*isc*ip* bfusb
alias usb:v057Cp3800d*dc*dsc*dp*ic*isc*ip* btusb
alias usb:v057Cp8401d*dc*dsc*dp*ic*isc*ip* carl9170
alias usb:v057Cp8402d*dc*dsc*dp*ic*isc*ip* carl9170
alias usb:v057Cp8403d*dc*dsc*dp*ic*isc*ip* ath9k_htc
 
OP
J

JamesBrown

Newbie
Erstmal ein Danke für die ersten schnellen Antworten.

Anbei die Ausgabe von lsusb:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 005: ID 057c:8401 AVM GmbH AVM Fritz!WLAN N [Atheros AR9001U]
Bus 006 Device 002: ID 045e:00f9 Microsoft Corp. Wireless Desktop Receiver 3.1
Bus 007 Device 002: ID 060c:04eb EEH Datalink GmbH

uname -a

Linux linux-tjup 3.1.0-1.2-desktop #1 SMP PREEMPT Thu Nov 3 14:45:45 UTC 2011 (187dde0) x86_64 x86_64 x86_64 GNU/Linux

modprobe -c | grep -i "057c"

alias pcmcia:m0057c0021f*fn*pfn00pa*pb*pc*pd* pcnet_cs
alias pcmcia:m0057c0021f*fn*pfn01pa*pb*pc*pd* serial_cs
alias pcmcia:m0057c1004f*fn*pfn*pa*pb*pc*pd* pcnet_cs
alias usb:v057Cp2200d*dc*dsc*dp*ic*isc*ip* bfusb
alias usb:v057Cp3800d*dc*dsc*dp*ic*isc*ip* btusb
alias usb:v057Cp8401d*dc*dsc*dp*ic*isc*ip* carl9170
alias usb:v057Cp8402d*dc*dsc*dp*ic*isc*ip* carl9170


Das sind meine jeweiligen Ausgaben. Hoffe sie helfen etwas weiter.

Danke nochmal an alle :)
 

Sauerland

Ultimate Guru
Bus 002 Device 005: ID 057c:8401 AVM GmbH AVM Fritz!WLAN N [Atheros AR9001U]
alias usb:v057Cp8401d*dc*dsc*dp*ic*isc*ip* carl9170
Modul ist vorhanden, evtl fehlt Firmware.

kernel-firmware installieren, alles was ndiswrapper im Namen hat deinstallieren.
Schauen, ob ndiswrapper noch aktiv, ndiswrapper sollte in der Liste vorkommen:
Code:
modinfo
evtl Modul entladen:
Code:
modprobe -r ndiswrapper

Dann
Code:
modprobe -r carl9170
Code:
modprobe carl9170
rcnetwork restart

Netzwerk einrichten.
 
OP
J

JamesBrown

Newbie
Erstmal ein Danke an alle die geantwortet haben. Wirklich schnelle Hilfe, super Forum.

Ein erster Teilerfolg ist da, ich bin nach der Hilfe von Sauerland vorgegangen und siehe da, der Stick wird erkannt.
Er wird unter yast auch als AVM WLAN Stick N angezeigt und ich kann das Funknetz nach Routern scannen und
mein Router wird angezeigt. Der Stick blinkt auch, nur bekomme ich keine Internetverbindung aufgebaut. Ich benutze
DHCP und WPA2. Ich trage zwar den richtigen Schlüssel ein und auch die autom IP Zuweisung via DHCP ist eingestellt nur
bekomme ich wohl keine IP zugewiesen, somit auch keine Verbindung ins Internet.

Vielleicht mach ich ja auch etwas falsch. Aber zumindest ist der Stick schonmal da :)
 
OP
J

JamesBrown

Newbie
So, bin nun erst dazu gekommen das Script einmal laufen zu lassen.
Hier das Ergebnis:

Code:
[code]
collectNWData.sh V0.6.5.4.7-1 (Rev: 1.303, Build: 2011-12-16 22:51:41 UTC)
--- Which type of your network connection should be tested?
--- (2) Wireless connection (WLAN)
--- What's the type of networktopology?
--- (2) WLAN HW router <---> LinuxClient
--- On which host is the script executed?
--- (1) LinuxClient
--- WLAN SSID to connect to: §§§§§§§§1

--- NWEliza is analyzing the system for common network configuration errors ...

!!! CND0540W: Messages dropped on network interface wlan0
!!! CND0180I: The system can't ping external IP address 195.135.220.3
!!! CND0140E: No default gateway set on your system
!!! CND0200W: Maximum possible MTU is 1738, but actual MTU on nic 1500164361500 is
!!! CND0500W: Channel 6 used by your accesspoint is also used by 1 other access points
!!! CND0450W: WLAN key masquerading is not fully tested on this distribution. Please check output file collectNWData.txt for visible WLAN keys and masquerade them manually

--- Go to http://www.linux-tips-and-tricks.de/CND#English to get more detailed instructions 
--- about the error/warning messages and how to fix the problems on your own.

--- If you are unsuccessful then place the contents of file collectNWData.txt in the net
--- (see http://www.linux-tips-and-tricks.de/CND_UPL#English for links) 
--- and then paste the nopaste link on your favorite Linux forum.

==================================================================================================================
===== cat /etc/*[-_]release || cat /etc/*[-_]version =============================================================
/etc/SuSE-release
/etc/os-release
openSUSE 12.1 (x86_64)
VERSION = 12.1
CODENAME = Asparagus
NAME=openSUSE
VERSION = 12.1 (Asparagus)
VERSION_ID="12.1"
PRETTY_NAME="openSUSE 12.1 (Asparagus) (x86_64)"
ID=opensuse
===== uname -a ===================================================================================================
Linux linux-tjup 3.1.0-1.2-desktop #1 SMP PREEMPT Thu Nov 3 14:45:45 UTC 2011 (187dde0) x86_64 x86_64 x86_64 GNU/Linux
===== lspci ======================================================================================================
03:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller [11ab:4364] (rev 12)
	Subsystem: ASUSTeK Computer Inc. Device [1043:81f8]
	Kernel driver in use: sky2
===== lsusb | grep -v "root hub" =================================================================================
Bus 002 Device 004: ID 057c:8401 AVM GmbH AVM Fritz!WLAN N [Atheros AR9001U]
Bus 006 Device 002: ID 045e:00f9 Microsoft Corp. Wireless Desktop Receiver 3.1
Bus 007 Device 002: ID 060c:04eb EEH Datalink GmbH 
===== lsmod (filtered) ===========================================================================================
| af_packet       | arc4            | asus_atk0110    | ath             | carl9170         |
| cfg80211        | drm             | drm_kms_helper  | i2c_algo_bit    | i2c_i801         |
| ip_tables       | mac80211        | microcode       | mperf           | radeon           |
| rfkill          | serio_raw       | sg              | sky2            | sr_mod           |
| ttm             |
===== ls /lib/firmware/* =========================================================================================
| 3.1.0-1.2-default       | 3.1.0-1.2-desktop       | 3com                    | GPL-3                    |
| LICENCE.Marvell         | LICENCE.OLPC            | LICENCE.agere           | LICENCE.atheros_firmware |
| LICENCE.broadcom_bcm43xx| LICENCE.chelsio_firmware| LICENCE.ene_firmware    | LICENCE.i2400m           |
| LICENCE.iwlwifi_firmware| LICENCE.mwl8335         | LICENCE.myri10ge_firmware| LICENCE.phanfw           |
| LICENCE.qla2xxx         | LICENCE.ralink-firmware.txt| LICENCE.rtlwifi_firmware.txt| LICENCE.tda7706-firmware.txt |
| LICENCE.ti-connectivity | LICENCE.ueagle-atm4-firmware| LICENCE.via_vt6656      | LICENCE.xc5000           |
| LICENSE.dib0700         | LICENSE.radeon_rlc      | RTL8192E                | TDA7706_OM_v2.5.1_boot.txt |
| TDA7706_OM_v3.0.2_boot.txt| acenic                  | adaptec                 | advansys                 |
| agere_ap_fw.bin         | agere_sta_fw.bin        | amd-ucode               | ar3k                     |
| ar7010.fw               | ar7010_1_1.fw           | ar9170-1.fw             | ar9170-2.fw              |
| ar9271.fw               | ath3k-1.fw              | ath6k                   | av7110                   |
| bnx2                    | bnx2x                   | bnx2x-e1-4.8.53.0.fw    | bnx2x-e1-5.2.13.0.fw     |
| bnx2x-e1-5.2.7.0.fw     | bnx2x-e1h-4.8.53.0.fw   | bnx2x-e1h-5.2.13.0.fw   | bnx2x-e1h-5.2.7.0.fw     |
| brcm                    | carl9170-1.fw           | cis                     | cpia2                    |
| cxgb3                   | cxgb4                   | dabusb                  | dsp56k                   |
| dvb-fe-xc5000-1.6.114.fw| dvb-usb-dib0700-1.20.fw | dvb-usb-terratec-h5-drxk.fw| e100                     |
| edgeport                | emi26                   | emi62                   | ene-ub6250               |
| ess                     | f2255usb.bin            | htc_7010.fw             | htc_9271.fw              |
| i2400m-fw-usb-1.4.sbcf  | i2400m-fw-usb-1.5.sbcf  | i6050-fw-usb-1.5.sbcf   | intelliport2.bin         |
| iwlwifi-100-5.ucode     | iwlwifi-1000-3.ucode    | iwlwifi-1000-5.ucode    | iwlwifi-3945-2.ucode     |
| iwlwifi-4965-1.ucode    | iwlwifi-4965-2.ucode    | iwlwifi-5000-1.ucode    | iwlwifi-5000-2.ucode     |
| iwlwifi-5000-5.ucode    | iwlwifi-5150-2.ucode    | iwlwifi-6000-4.ucode    | iwlwifi-6000g2a-5.ucode  |
| iwlwifi-6000g2b-5.ucode | iwlwifi-6050-4.ucode    | iwlwifi-6050-5.ucode    | kaweth                   |
| keyspan                 | keyspan_pda             | korg                    | lgs8g75.fw               |
| libertas                | matrox                  | microcode.dat           | mrvl                     |
| mts_mt9234mu.fw         | mts_mt9234zba.fw        | mwl8335_duplex.fw       | mwl8k                    |
| myri10ge_eth_z8e.dat    | myri10ge_ethp_z8e.dat   | myri10ge_rss_eth_z8e.dat| myri10ge_rss_ethp_z8e.dat |
| myricom                 | ositech                 | phanfw.bin              | ql2100_fw.bin            |
| ql2200_fw.bin           | ql2300_fw.bin           | ql2322_fw.bin           | ql2400_fw.bin            |
| ql2500_fw.bin           | qlogic                  | r128                    | radeon                   |
| rt2561.bin              | rt2561s.bin             | rt2661.bin              | rt2860.bin               |
| rt2870.bin              | rt3070.bin              | rt3071.bin              | rt3090.bin               |
| rt73.bin                | rtl_nic                 | rtlwifi                 | s2250.fw                 |
| s2250_loader.fw         | sb16                    | slicoss                 | sun                      |
| sxg                     | tehuti                  | ti-connectivity         | tigon                    |
| tlg2300_firmware.bin    | tr_smctr.bin            | ttusb-budget            | ueagle-atm               |
| usbdux                  | usbdux_firmware.bin     | usbduxfast_firmware.bin | v4l-cx231xx-avcore-01.fw |
| v4l-cx23418-apu.fw      | v4l-cx23418-cpu.fw      | v4l-cx23418-dig.fw      | v4l-cx23885-avcore-01.fw |
| v4l-cx23885-enc.fw      | v4l-cx25840.fw          | vicam                   | vntwusb.fw               |
| vxge                    | yam                     | yamaha                  |
===== ifconfig (filtered for eth|wlan|ra|ath|dsl) ================================================================
eth0      Link encap:Ethernet  HWaddr ##:##:##:##:##:#1  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:18 
wlan0     Link encap:Ethernet  HWaddr ##:##:##:##:##:#2  
          inet addr:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::be05:43ff:fe01:c42c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1257 errors:0 dropped:6 overruns:0 frame:0
          TX packets:360 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:157407 (153.7 Kb)  TX bytes:42266 (41.2 Kb)
===== iwconfig ===================================================================================================
lo        no wireless extensions.
eth0      no wireless extensions.
wlan0     IEEE 802.11abgn  ESSID:"§§§§§§§§1"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: ##:##:##:##:##:#3   
          Bit Rate=52 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=52/70  Signal level=-58 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:9  Invalid misc:192   Missed beacon:0
===== cat /etc/sysconfig/network/ifcfg-[earwd]* | grep -v "=''" ==================================================
./collectNWData.sh: line 3814: [: too many arguments
No config files found
===== iwlist scanning ============================================================================================
                    Channel:6
                    Quality=54/70  Signal level=-56 dBm  
                    Encryption key:on
                    ESSID:"§§§§§§§§1"
                    IE: IEEE 802.11i/WPA2 Version 1
                    IE: WPA Version 1
                    Channel:6
                    Quality=33/70  Signal level=-77 dBm  
                    Encryption key:on
                    ESSID:"§§§§§§§§2"
                    IE: IEEE 802.11i/WPA2 Version 1
                    IE: WPA Version 1
                    Channel:1
                    Quality=24/70  Signal level=-86 dBm  
                    Encryption key:on
                    ESSID:"§§§§§§§§3"
                    IE: IEEE 802.11i/WPA2 Version 1
                    IE: WPA Version 1
                    Channel:1
                    Quality=50/70  Signal level=-60 dBm  
                    Encryption key:on
                    ESSID:""
                    IE: IEEE 802.11i/WPA2 Version 1
===== ndiswrapper -l =============================================================================================
No ndiswrapper module loaded
===== Active processes ===========================================================================================
wpa_supplicant:YES knetworkmanager:NO nm-applet:NO
===== Active WPA processes =======================================================================================
/usr/sbin/wpa_supplicant -u -Dwext -i -c/opt/vorkon/avm/config-wpa -dd
wpa_supplicant -iwlan0 -c/var/run/wpa_supplicant-wlan0.conf -Dnl80211,wext -P/var/run/wpa_supplicant/wlan0.pid -B
===== ping tests =================================================================================================
connect: Network is unreachable
Ping of 195.135.220.3 failed
connect: Network is unreachable
Ping of www.suse.de failed
===== cat /etc/resolv | grep -i "nameserver" =====================================================================
nameserver 192.168.0.1
===== cat /etc/hosts =============================================================================================
127.0.0.1	localhost
===== route -n | egrep "(eth|ath|ra|wlan|dsl)" ===================================================================
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 wlan0
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 wlan0
===== Actual date for bias of following greps ====================================================================
17:07:46 2011-12-31
===== grep -i radio /var/log/messages* | tail -n 5 ===============================================================
===== dmesg | grep -i radio | tail -n 5 ==========================================================================
===== tail -n 300 /var/log/messages* | /usr/bin/grep -i firmware | tail -n 10 ====================================
===== egrep 'eth|ath|wlan|ra' /etc/udev/rules.d/*net_persistent* /etc/udev/rules.d/*persistent-net* ==============
/etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="##:##:##:##:##:#2", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
/etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="##:##:##:##:##:#1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
===== egrep -r 'eth[0-10]|ath[0-10]|wlan[0-10]|ra[0-10]' /etc/modprobe.*|egrep -v -i '#|backlist' ================
==================================================================================================================
*** NWElizaStates V0.6.5.4.7-1
IF:eth0 IM:1 IF:wlan0 IM:2 DI:2 AP:1 FALON:1 NIC:0 cNiC:2:0 NI:0 cNI:0 PNG:1 DR:0 MTU:1 NISS:0 IP6:0 WLW:0 RTDT:os
[/code]

Hoffe das dort die Lösung liegt. :)

Schonmal an Alle einen Guten Rutsch ins Jahr 2012. :thumbs:
 

spoensche

Moderator
Teammitglied
Die Routen stimmen nicht. Deswegen kommst du nicht ins Netz. Beziehst du IP per DHCP von deinem Router oder weist du sie dem WLAN-Stick statisch zu?
 

Grothesk

Ultimate Guru
Indem du je nach Desktopenvironment das passende Zeug installierst oder startest:
Code:
knetworkmanager:NO nm-applet:NO
KDE=knetworkmanager
Gnome/xfce/sonstiges=nm-applet

Zuvor aber etwaige in yast reingefummelte Dinge bezüglich WLAN löschen.
 
OP
J

JamesBrown

Newbie
Danke an Alle. Es hat mit dem KDE Networkmanager geklappt. 1a Hilfe hier im Forum. Nochmal Danke.

Ein frohes Neues Jahr an Alle.
 

framp

Moderator
Teammitglied
@JamesBrown: Sieht so aus als hast Du beim Script zwei Probleme entdeckt. Das eine Problem habe ich schon identifiziert und weiss wie ich es fixen kann. Zum zweiten Problem brauche ich Deine Hilfe: Könntest Du mal die vollständige Ausgabe von
Code:
ifconfig wlan0
posten?

Danke.
 
OP
J

JamesBrown

Newbie
@framp: na klar mache ich das. Nur komme ich erst heute Abend dazu. Musste heute leider wieder arbeiten :-(

Was für Probleme habe ich denn entdeckt?
 

tomm.fa

Administrator
Teammitglied
JamesBrown schrieb:
Danke an Alle. Es hat mit dem KDE Networkmanager geklappt.
Dazu würde ich gerne nochmals das Script ausgeführt haben und die aktuelle Ausgabe sehen, besonders den Abschnitt:
===== Active processes ===========================================================================================
wpa_supplicant:YES knetworkmanager:NO nm-applet:NO
und dazu noch die Ausgabe von:
Code:
zypper se -si network
 

/dev/null

Moderator
Teammitglied
Hi,

auch wenn der TE den AVM WLAN-Stick erfolgreich mit dem alten wpa_supplicant zum Laufen bringen konnte, folgender Hinweis:
Mit der Firmware "carl9170-1.fw" (von: http://linuxwireless.org/en/users/Drivers/carl9170) kann man die bislang unter Linux als sehr störrisch geltenden AVM-Sticks problemlos nativ zum Laufen bekommen.


MfG Peter
 

Sauerland

Ultimate Guru
Vielleicht kann mir jemand weiterhelfen, habe eine Verständnisfrage:

Der original mit OpenSuse ausgelieferte ndiswrapper hat paßt ja eigentlich nicht zum mitgelieferten kernel (Auszug):
Code:
  | ndiswrapper-kmp-desktop        | Paket  | 1.56_k3.1.0_1.1-19.1.2 | i586   | openSUSE-12.1-Oss
i | kernel-desktop                 | Paket  | 3.1.0-1.2.1            | i586   | openSUSE-12.1-Oss

Funktioniert der denn trotzdem?
 
Oben