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

WLAN-Stick geht nicht

rbest

Hacker
hi Leute, ich hab heute einen wlan-stick bekommen, der angeblich mit Linux laufen soll ...
Beim einstecken kommt auch die Meldung "wlan interface angeschlossen", aber das war's. Netzwerkverbindung erstellen geht nicht, weil kein Netzwerk erkannt wird. Steh ich irgendwie auf der leitung?

Das ist die Ausgabe von ifconfig:
Code:
wlan0     Link encap:Ethernet  HWaddr 00:1F:1F:6A:82:51
          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)

wmaster0  Link encap:UNSPEC  HWaddr 00-1F-1F-6A-82-51-00-00-00-00-00-00-00-00-00-00
          UP RUNNING  MTU:0  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)

ach ja, der Stecker ist ein LogiLink, WL0049A steht noch drauf.
 
OP
rbest

rbest

Hacker
hab die mal gesammelt:
  • Code:
    collectNWData.sh V0.6.3.0 (Rev: 1.198, Build: 2010/02/15 19:46:53 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
    !!! CND0120E: Network card wlan0 has no IP address
    !!! CND0380E: No WLANs detected on interface wlan0. Hardware and/or driver not configured properly
    !!! CND0400W: Alternate modules rt3070sta detected for interface wlan0
    !!! 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#English to get more detailed instructions 
    --- about the error/warning messages and how to fix the problems on your own
    --- 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.
    ==================================================================================================================
    ==================================================================================================================
    *** uname -a
    Linux musikpc 2.6.31.12-0.1-desktop #1 SMP PREEMPT 2010-01-27 08:20:11 +0100 x86_64 x86_64 x86_64 GNU/Linux
    ==================================================================================================================
    *** cat /etc/*[-_]release || cat /etc/*[-_]version
    /etc/SuSE-release
    openSUSE 11.2 (x86_64)
    VERSION = 11.2
    ==================================================================================================================
    *** cat /etc/resolv | grep -i "nameserver"
    nameserver 192.168.178.1
    ==================================================================================================================
    *** cat /etc/hosts
    127.0.0.1       localhost
    127.0.0.2       musikpc.site musikpc
    192.168.178.202 musikpc musikpc
    192.168.178.11  musikpc musikpc
    ==================================================================================================================
    *** route
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    192.168.178.0   0.0.0.0         255.255.255.0   U     1      0        0 eth0
    127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
    0.0.0.0         192.168.178.1   0.0.0.0         UG    0      0        0 eth0
    ==================================================================================================================
    *** ifconfig
    eth0      Link encap:Ethernet  HWaddr ##:##:##:##:##:#1  
              inet addr:192.168.178.34  Bcast:192.168.178.255  Mask:255.255.255.0
              inet6 addr: fe80::a6ba:dbff:fee4:af07/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:13061 errors:0 dropped:0 overruns:0 frame:0
              TX packets:9376 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:16948732 (16.1 Mb)  TX bytes:1050935 (1.0 Mb)
              Interrupt:17 
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:706 errors:0 dropped:0 overruns:0 frame:0
              TX packets:706 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:56260 (54.9 Kb)  TX bytes:56260 (54.9 Kb)
    wlan0     Link encap:Ethernet  HWaddr ##:##:##:##:##:#2  
              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)
    wmaster0  Link encap:UNSPEC  HWaddr 00-1F-1F-6A-82-51-00-00-00-00-00-00-00-00-00-00  
              UP RUNNING  MTU:0  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)
    ==================================================================================================================
    *** ping tests
    Ping of 195.135.220.3 OK
    Ping of www.suse.de OK
    ==================================================================================================================
    *** dhcpcd-test
    wlan0: DHCP server available
    ==================================================================================================================
    *** lspci
    04:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe [14e4:1692] (rev 01)
    ==================================================================================================================
    *** lsusb
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 002: ID 8087:0020  
    Bus 001 Device 003: ID 0461:4d22 Primax Electronics, Ltd 
    Bus 001 Device 004: ID 413c:1003 Dell Computer Corp. 
    Bus 001 Device 005: ID 413c:2010 Dell Computer Corp. 
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 002: ID 8087:0020  
    Bus 002 Device 003: ID 18e3:9106 Fitipower Integrated Technology Inc 
    Bus 002 Device 007: ID 148f:3070 Ralink Technology, Corp. 
    ==================================================================================================================
    *** hwinfo (filtered)
    24: PCI 400.0: 0200 Ethernet controller
      Model: "Broadcom NetLink BCM57780 Gigabit Ethernet PCIe"
      Vendor: pci 0x14e4 "Broadcom"
      Device: pci 0x1692 "NetLink BCM57780 Gigabit Ethernet PCIe"
      SubVendor: pci 0x1028 "Dell"
      SubDevice: pci 0x040d 
      Driver: "tg3"
      Driver Modules: "tg3"
      Device File: eth0
      Link detected: yes
        Driver Status: tg3 is active
        Driver Activation Cmd: "modprobe tg3"
    32: USB 00.0: 0282 WLAN controller
      Model: "Ralink 802.11 n WLAN"
      Vendor: usb 0x148f "Ralink Technology, Corp."
      Device: usb 0x3070 "802.11 n WLAN"
      Driver: "rt2800usb"
      Driver Modules: "rt2800usb"
      Device File: wlan0
      Link detected: yes
        Driver Status: rt2800usb is active
        Driver Activation Cmd: "modprobe rt2800usb"
        Driver Status: rt2870sta is active
        Driver Activation Cmd: "modprobe rt2870sta"
        Driver Status: rt3070sta is not active
        Driver Activation Cmd: "modprobe rt3070sta"
    ==================================================================================================================
    *** lsmod # (filtered)
    | acpi_cpufreq    | aead            | af_packet       | arc4            | cfg80211         |
    | cpufreq_conservative| cpufreq_powersave| cpufreq_userspace| crc16           | crc_ccitt        |
    | dcdbas          | dm_snapshot     | ecb             | edd             | fat              |
    | fscache         | fuse            | i2c_i801        | ieee1394        | input_polldev    |
    | intel_agp       | jbd2            | mac80211        | nls_cp437       | nls_iso8859_1    |
    | ohci1394        | pcompress       | rfkill          | rt2800usb       | rt2870sta        |
    | rt2x00lib       | rt2x00usb       | serio_raw       | sg              | snd_hda_codec    |
    | snd_hda_codec_atihdmi| snd_hda_codec_intelhdmi| snd_hda_codec_realtek| snd_hda_intel   | snd_hwdep        |
    | snd_seq_device  | snd_seq_dummy   | sr_mod          | tg3             | thermal          |
    | thermal_sys     | vfat            |
    ==================================================================================================================
    *** cat /etc/sysconfig/network/ifcfg-[earwd]* | egrep -v ".*=''"
    cat: /etc/sysconfig/network/ifcfg-[earwd]*: No such file or directory
    ==================================================================================================================
    *** iwconfig
    lo        no wireless extensions.
    eth0      no wireless extensions.
    wmaster0  no wireless extensions.
    wlan0     IEEE 802.11bgn  ESSID:""  
              Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
              Tx-Power=13 dBm   
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:on
              Link Quality:0  Signal level:0  Noise level:0
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0
    ==================================================================================================================
    *** Actual date for bias of following greps
    18:05:47 2010-02-20
    ==================================================================================================================
    *** grep -i radio /var/log/messages* | tail -n 5
    Feb 20 17:19:59 musikpc kernel: [ 1485.304311] Registered led device: rt2800usb-phy1::radio
    Feb 20 17:27:33 musikpc kernel: [    8.438771] Registered led device: rt2800usb-phy0::radio
    Feb 20 17:32:23 musikpc kernel: [  305.629487] Registered led device: rt2800usb-phy1::radio
    Feb 20 17:33:39 musikpc kernel: [  381.471099] Registered led device: rt2800usb-phy2::radio
    Feb 20 17:53:26 musikpc kernel: [ 1565.057933] Registered led device: rt2800usb-phy3::radio
    ==================================================================================================================
    *** dmesg | grep -i radio | tail -n 5
    [    8.438771] Registered led device: rt2800usb-phy0::radio
    [  305.629487] Registered led device: rt2800usb-phy1::radio
    [  381.471099] Registered led device: rt2800usb-phy2::radio
    [ 1565.057933] Registered led device: rt2800usb-phy3::radio
    ==================================================================================================================
    *** tail -n 300 /var/log/messages* | /usr/bin/grep -i firmware | tail -n 5
    Feb 20 17:27:39 musikpc kernel: [   21.926207] rt2800usb 2-1.4:1.0: firmware: requesting rt2870.bin
    Feb 20 17:32:28 musikpc kernel: [  310.060484] rt2800usb 2-1.4:1.0: firmware: requesting rt2870.bin
    Feb 20 17:33:44 musikpc kernel: [  385.867138] rt2800usb 2-1.4:1.0: firmware: requesting rt2870.bin
    Feb 20 17:53:31 musikpc kernel: [ 1569.803233] rt2800usb 2-1.4:1.0: firmware: requesting rt2870.bin
    ==================================================================================================================
    *** ls /lib/firmware/*
    | 2.6.31.12-0.1-default   | 2.6.31.12-0.1-desktop   | 3com                    | LICENCE.agere            |
    | LICENCE.atheros_firmware| LICENCE.i2400m          | LICENCE.iwlwifi_firmware| LICENCE.libertas         |
    | LICENCE.mwl8k           | LICENCE.qla2xxx         | LICENCE.ralink-firmware.txt| LICENCE.xc5000           |
    | acenic                  | adaptec                 | advansys                | agere_ap_fw.bin          |
    | agere_sta_fw.bin        | ar9170-1.fw             | ar9170-2.fw             | atmsar11.fw              |
    | av7110                  | bnx2                    | bnx2x-e1-4.8.53.0.fw    | bnx2x-e1h-4.8.53.0.fw    |
    | cis                     | cpia2                   | cxgb3                   | dabusb                   |
    | dsp56k                  | dvb-fe-xc5000-1.6.114.fw| e100                    | edgeport                 |
    | emi26                   | emi62                   | ess                     | i2400m-fw-usb-1.3.sbcf   |
    | i2400m-fw-usb-1.4.sbcf  | intelliport2.bin        | iwlwifi-1000-3.ucode    | iwlwifi-3945-2.ucode     |
    | iwlwifi-4965-2.ucode    | iwlwifi-5000-1.ucode    | iwlwifi-5000-2.ucode    | iwlwifi-5150-2.ucode     |
    | kaweth                  | keyspan                 | keyspan_pda             | korg                     |
    | libertas                | mts_cdma.fw             | mts_edge.fw             | mts_gsm.fw               |
    | mwl8k                   | myricom                 | ositech                 | ql2100_fw.bin            |
    | ql2200_fw.bin           | ql2300_fw.bin           | ql2322_fw.bin           | ql2400_fw.bin            |
    | ql2500_fw.bin           | qlogic                  | rt2561.bin              | rt2561s.bin              |
    | rt2661.bin              | rt2860.bin              | rt2870.bin              | rt73.bin                 |
    | sb16                    | slicoss                 | sun                     | sxg                      |
    | tehuti                  | ti_3410.fw              | ti_5052.fw              | tigon                    |
    | tr_smctr.bin            | ttusb-budget            | 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                   | whiteheat.fw            | whiteheat_loader.fw     | yam                      |
    | yamaha                  |
    ==================================================================================================================
    *** ndiswrapper -l
    No ndiswrapper module loaded
    ==================================================================================================================
    *** Active processes
    wpa_supplicant:YES knetworkmanager:YES nm-applet:NO
    ==================================================================================================================
    *** egrep -i "persistent|networkmanager" /etc/sysconfig/network/config | grep -v "^#|^$"
    NETWORKMANAGER="yes"
    ==================================================================================================================
    *** grep '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{type}=="1", KERNEL=="wlan*", NAME="wlan0"
    /etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="##:##:##:##:##:#1", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
    ==================================================================================================================
    *** grep -r 'eth[0-10]|ath[0-10]|wlan[0-10]|ra[0-10]' /etc/modprobe.*
    ==================================================================================================================
    *** iwlist scanning
    No WLANs found
    ==================================================================================================================
    *** NWElizaStates
    IF:eth0 IM:1 IF:wlan0 IM:2 DI:2 AP:0 dI:0 NIC:1 cNiC:2:1 NI:2 cNI:2 NIW:wlan0-1 NDIS:0 NIWL:0 CM:2 IP6:0 KM:0 WLW:eth0 1 RTDT:SuSE
 
OP
rbest

rbest

Hacker
abyss schrieb:
Da fehlt wohl die Firmware.

http://www.ralinktech.com/support.php?s=2

du, auf der Seite war ich schon. Mir war aber nicht ganz klar, welche Version für mich in Frage kommt. Soll ich mal die hier nehmen:
http://www.ralinktech.com/license_u...hWEE5UFQxU1ZESTROekJmUm1seWJYZGhjbVZmVmpnPUM=

Hab jetzt auch mal den Kernel von 2.6.31.12-0.1.desktop auf 5-0.1.default geändert, weil ich dachte, dass durch die Desktop-Optimierung wireless gesperrt ist. Hat aber auch nix gebracht. Und BTW in /usr/firmware liegt eine Datei rt2870.bin. Außerdem ist auch das Paket kernel-firmware installiert, in dem wird ralink-firmware aufgelistet.

Nach meiner Rumspielerei bringt hwinfo jetzt u.a. folgende Auflistung:

Code:
49: USB 00.0: 0282 WLAN controller
  [Created at usb.122]            
  UDI: /org/freedesktop/Hal/devices/usb_device_148f_3070_1_0_if0
  Unique ID: lX5h.i+8+cNT5FUE                                   
  Parent ID: FKGF.0j9+vWlqL56                                   
  SysFS ID: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0
  SysFS BusID: 2-1.4:1.0                                             
  Hardware Class: network                                            
  Model: "Ralink 802.11 n WLAN"                                      
  Hotplug: USB                                                       
  Vendor: usb 0x148f "Ralink Technology, Corp."                      
  Device: usb 0x3070 "802.11 n WLAN"                                 
  Revision: "1.01"                                                   
  Serial ID: "1.0"                                                   
  Driver: "rt2800usb"                                                
  Driver Modules: "rt2800usb"                                        
  Device File: wlan0                                                 
  Features: WLAN                                                     
  Speed: 480 Mbps                                                    
  HW Address: 00:1f:1f:6a:82:51                                      
  Link detected: yes                                                 
  WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 14                    
  WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472 2.484
  WLAN encryption modes: WEP40 WEP104 TKIP CCMP                                                        
  WLAN authentication modes: open sharedkey wpa-psk wpa-eap                                            
  Module Alias: "usb:v148Fp3070d0101dc00dsc00dp00icFFiscFFipFF"                                        
  Driver Info #0:                                                                                      
    Driver Status: rt2800usb is active                                                                 
    Driver Activation Cmd: "modprobe rt2800usb"                                                        
  Driver Info #1:                                                                                      
    Driver Status: rt2870sta is active                                                                 
    Driver Activation Cmd: "modprobe rt2870sta"                                                        
  Driver Info #2:                                                                                      
    Driver Status: rt3070sta is not active                                                             
    Driver Activation Cmd: "modprobe rt3070sta"                                                        
  Config Status: cfg=no, avail=yes, need=no, active=unknown                                            
  Attached to: #45 (Hub)                                                                               

........

59: None 00.0: 10780 Network Interface
  [Created at net.124]
  Unique ID: agy+.GSopYcFr9cF
  Parent ID: lX5h.i+8+cNT5FUE
  SysFS ID: /class/net/wmaster0
  SysFS Device Link: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0
  Hardware Class: network interface
  Model: "Network Interface"
  Driver: "rt2800usb"
  Driver Modules: "rt2800usb"
  Device File: wmaster0
  HW Address: 00:1f:1f:6a:82:51
  Link detected: yes
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #49 (WLAN controller)

60: None 00.0: 1070a WLAN
  [Created at net.124]
  Unique ID: AYEt.QXn1l67RSa1
  Parent ID: lX5h.i+8+cNT5FUE
  SysFS ID: /class/net/wlan0
  SysFS Device Link: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0
  Hardware Class: network interface
  Model: "WLAN network interface"
  Driver: "rt2800usb"
  Driver Modules: "rt2800usb"
  Device File: wlan0
  HW Address: 00:1f:1f:6a:82:51
  Link detected: no
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #49 (WLAN controller)
 
Oben