• 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]WLAN Cardbus Adapter Vivanco 54 Mbps kein INet

Hallo Experten,

ich hab mal wieder ein Problem. Vielleicht nur ein kleines, weil ich schon recht weit gekommen bin.

Ich will für meinen Laptop mit openSuse 11.4 den obigen Cardbus Adapter verwenden.

Für das erwähnte Gerät gibt es keine Linux-Treiber. Ich habe daher den Windows-Treiber von der Installations-CD für den Adapter genommen und mit ndiswrapper installiert. Das ist auch problemlos über die Bühne gegangen.

Überprüft (SSID unkenntlich gemacht):

Code:
wlan0     IEEE 802.11bg  ESSID:"WLAN-000000000000"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:00:00:00:00:00   
          Bit Rate=1 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=55/100  Signal level=55/100  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:37   Missed beacon:0

Anschliessend habe ich in YaST die Einstellungen für die WLAN-Karte konfiguriert. Auch hier verlief die Operation problemlos.

Leider aber bekomme ich keine Internetverbindung (weder Firefox noch Konquerer) hin. Die Verbindungen kommen nicht zustande.

Über die Kabelverbindung komme ich ins problemlos ins Internet.

Mein Router (Speedport W920V) erkennt sogar den Adapter samt seiner MAC-Adresse und hat ihm auch eine IP-Adresse zugewiesen. Diese IP-Adresse kann ich auch auf dem Laptop überprüfen. Sie stimmt. Der Laptop hat jetzt somit auch 2 mögliche IP-Adressen.

Was kann ich übersehen haben als Linux-Neuling?

Anbei auch noch die Ausgabe des collectNWData-Skriptes, wobei mich der Hinweis auf das gesteckte Netzwerk-Kabel irritiert. Die Meldung kommt: ob das Kabel gesteckt ist oder nicht. Ich muss doch wohl nicht die Netzwerkkarte für das Kabel deaktivieren?

Ich denke, dass meine Auswahl zur Art der Verbindung (WLAN access point <-> LinuxClient) richtig ist?

Code:
[code]
collectNWData.sh V0.6.5.4.3_i (Rev: 1.284, Build: 2011/04/28 22:09:38 UTC)
--- Which type of your network connection should be tested?
--- (2) Wireless connection (WLAN)
--- What's the type of networktopology?
--- (1) WLAN access point <---> 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 ...

!!! CND0180I: The system can't ping external IP address 195.135.220.3
!!! CND0150E: There might be a problem with the default gateway definition 192.168.100.1 on interface eth0
!!! CND0130E: There is more than one network card defined in the same subnet: wlan0:eth0
!!! CND0310W: Classic network configuration with ifup was detected. Configuration with knetworkmanager is much easier
!!! CND0360E: Wireless connection tested with an existing wired connection on interface eth0. Unplug the cable and execute the script again

--- Go to http://www.linux-tips-and-tricks.de/CND 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 for links) 
--- and then paste the nopaste link on your favorite Linux forum.

==================================================================================================================
===== cat /etc/*[-_]release || cat /etc/*[-_]version =============================================================
/etc/SuSE-release
openSUSE 11.4 (i586)
VERSION = 11.4
CODENAME = Celadon
===== uname -a ===================================================================================================
Linux linux-ajlj 2.6.37.6-0.5-default #1 SMP 2011-04-25 21:48:33 +0200 i686 i686 i386 GNU/Linux
===== lspci ======================================================================================================
00:0d.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
	Subsystem: Fujitsu Limited. Device [10cf:111c]
	Kernel driver in use: 8139too
--
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8185 IEEE 802.11a/b/g Wireless LAN Controller [10ec:8185] (rev 20)
	Subsystem: Realtek Semiconductor Co., Ltd. RTL-8185 IEEE 802.11a/b/g Wireless LAN Controller [10ec:8185]
	Kernel driver in use: rtl8180
===== find /lib/modules/`uname -r` -name "*.ko" ==================================================================
Available kernelmodules for VendorId:DeviceId - 10ec:8185
Module: rtl8180
===== lsusb | grep -v "root hub" =================================================================================
===== hwinfo (filtered) ==========================================================================================
15: PCI 0d.0: 0200 Ethernet controller
  Model: "Realtek RTL-8139/8139C/8139C+"
  Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  Device: pci 0x8139 "RTL-8139/8139C/8139C+"
  SubVendor: pci 0x10cf "Fujitsu Limited."
  SubDevice: pci 0x111c 
  Driver: "8139too"
  Driver Modules: "8139too"
  Device File: eth0
  Link detected: no
    Driver Status: 8139too is active
    Driver Activation Cmd: "modprobe 8139too"
    Driver Status: 8139cp is active
    Driver Activation Cmd: "modprobe 8139cp"
24: PCI 200.0: 0282 WLAN controller
  Model: "Realtek RTL-8185 IEEE 802.11a/b/g Wireless LAN Controller"
  Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  Device: pci 0x8185 "RTL-8185 IEEE 802.11a/b/g Wireless LAN Controller"
  SubVendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  SubDevice: pci 0x8185 
  Driver: "rtl8180"
  Driver Modules: "rtl8180"
  Device File: wlan0
  Link detected: yes
    Driver Status: rtl8180 is active
    Driver Activation Cmd: "modprobe rtl8180"
===== lsmod (filtered) ===========================================================================================
| 8139cp          | 8139too         | ac              | ac97_bus        | af_packet        |
| arc4            | cfg80211        | container       | drm             | ecb              |
| eeprom_93cx6    | ehci_hcd        | hwmon           | i2c_core        | i2c_viapro       |
| ip_tables       | irda            | jbd2            | libata          | mac80211         |
| microcode       | mperf           | output          | pci_hotplug     | ppdev            |
| rfkill          | rtl8180         | savage          | serio_raw       | sg               |
| shpchp          | sr_mod          | uhci_hcd        | via_ircc        | yenta_socket     |
===== ls /lib/firmware/* =========================================================================================
| 2.6.37.6-0.5-default    | 3CCFEM556.cis           | 3CXEM556.cis            | amd-ucode                |
| COMpad2.cis             | COMpad4.cis             | DP83903.cis             | E-CARD.cis               |
| LA-PCM.cis              | microcode.dat           | MT5634ZLX.cis           | NE2K.cis                 |
| PCMLM28.cis             | PE-200.cis              | PE520.cis               | RS-COM-2P.cis            |
| tamarack.cis            |
===== ifconfig (filtered for eth|wlan|ra|ath|dsl) ================================================================
eth0      Link encap:Ethernet  Hardware Adresse ##:##:##:##:##:#1  
          inet Adresse:192.168.100.135  Bcast:192.168.100.255  Maske:255.255.255.0
          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 Sendewarteschlangenlänge:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:10 Basisadresse:0x2000 
wlan0     Link encap:Ethernet  Hardware Adresse ##:##:##:##:##:#2  
          inet Adresse:192.168.100.143  Bcast:192.168.100.255  Maske:255.255.255.0
          inet6 Adresse: fe80::208:54ff:fe90:8fec/64 Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:151 errors:0 dropped:0 overruns:0 frame:0
          TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 Sendewarteschlangenlänge:1000 
          RX bytes:48983 (47.8 Kb)  TX bytes:5959 (5.8 Kb)
===== iwconfig ===================================================================================================
lo        no wireless extensions.
eth0      no wireless extensions.
wlan0     IEEE 802.11bg  ESSID:"§§§§§§§§1"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: ##:##:##:##:##:#3   
          Bit Rate=1 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=58/100  Signal level=58/100  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:20   Missed beacon:0
===== cat /etc/sysconfig/network/ifcfg-[earwd]* | grep -v "=''" ==================================================
--- /etc/sysconfig/network/ifcfg-eth0
BOOTPROTO='dhcp'
NAME='RTL-8139/8139C/8139C+'
STARTMODE='auto'
USERCONTROL='no'
PREFIXLEN='24'
--- /etc/sysconfig/network/ifcfg-wlan0
BOOTPROTO='dhcp'
IFPLUGD_PRIORITY='0'
NAME='RTL-8185 IEEE 802.11a/b/g Wireless LAN Controller'
STARTMODE='ifplugd'
USERCONTROL='no'
WIRELESS_AP_SCANMODE='1'
WIRELESS_AUTH_MODE='psk'
WIRELESS_BITRATE='auto'
WIRELESS_DEFAULT_KEY='0'
WIRELESS_ESSID='§§§§§§§§1'
WIRELESS_KEY_LENGTH='@@@@@@'
WIRELESS_MODE='Managed'
WIRELESS_POWER='yes'
WIRELESS_WPA_PSK='@@@@@@'
PREFIXLEN='24'
===== iwlist scanning ============================================================================================
                    Channel:1
                    Quality=87/100  Signal level=87/100  
                    Encryption key:on
                    ESSID:"§§§§§§§§1"
                    IE: IEEE 802.11i/WPA2 Version 1
                    IE: WPA Version 1
===== ndiswrapper -l =============================================================================================
No ndiswrapper module loaded
===== Active processes ===========================================================================================
wpa_supplicant:YES knetworkmanager:NO nm-applet:NO
===== Active WPA processes =======================================================================================
wpa_supplicant -iwlan0 -c/var/run/wpa_supplicant-wlan0.conf -Dnl80211 -P/var/run/wpa_supplicant/wlan0.pid -B
===== ===== egrep -i "persistent|networkmanager" /etc/sysconfig/network/config | grep -v "^#|^$" =================
NETWORKMANAGER="no"
===== dhcpcd-test ================================================================================================
wlan0: DHCP server available
===== ping tests =================================================================================================
Ping of 195.135.220.3 failed
ping: unknown host www.suse.de
Ping of www.suse.de failed
===== cat /etc/resolv | grep -i "nameserver" =====================================================================
nameserver 192.168.100.1
===== cat /etc/hosts =============================================================================================
127.0.0.1       localhost.localdomain	localhost
127.0.0.2       linux-ajlj.site linux-ajlj
192.168.100.104 linux-ajlj.site linux-ajlj
192.168.100.143 linux-ajlj.site linux-ajlj
===== route -n | egrep "(eth|ath|ra|wlan|dsl)" ===================================================================
192.168.100.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.100.0   0.0.0.0         255.255.255.0   U     0      0        0 wlan0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
0.0.0.0         192.168.100.1   0.0.0.0         UG    0      0        0 eth0
===== Actual date for bias of following greps ====================================================================
20:57:21 2011-06-09
===== 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' ================
/etc/modprobe.d/ndiswrapper.conf:alias wlan0 ndiswrapper
==================================================================================================================
*** NWElizaStates V0.6.5.4.3_i
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:1 MTU:0 NISS:1 IP6:0 KM:0 WLW:eth0 1 RTDT:SuSE
[/code]

Ich hoffe, Ihr könnt mir weiter helfen.

Gruss H.
 
Für das erwähnte Gerät gibt es keine Linux-Treiber. Ich habe daher den Windows-Treiber von der Installations-CD für den Adapter genommen und mit ndiswrapper installiert. Das ist auch problemlos über die Bühne gegangen.

Und warum wird dann für die Karte hinter dem Interface 'wlan0' der Treiber rtl8180 geladen?
Und warum wird ndiswrapper nicht geladen?

Deine default route stimmt auch nicht. Da sind zwei Interfaces angelegt. Welches soll der Rechner nun nehmen?
Diese Fehleinstellung sorgt auch für die Meldung mit dem gesteckten Kabel.

Karte in yast rauswerfen und den NetworkManager nutzen wäre mein Tipp.
 
Danke Grothesk für Deine Antwort.

... Deine default route stimmt auch nicht. Da sind zwei Interfaces angelegt. Welches soll der Rechner nun nehmen?
Diese Fehleinstellung sorgt auch für die Meldung mit dem gesteckten Kabel ...

Das habe ich bereinigt und schon läuft meine WLAN-Verbindung.

Ich habe auch das o.a. Prüfskript nochmal laufen lassen. Mit dem Ergebnis, dass er meint, ich solle doch den Networkmanager statt der ifub-Methode wählen. Das werde ich auch nochmal prüfen. Ansonsten gabs nichts mehr zu bemängeln.

Gruss H.
 
Oben