• 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 Karte nicht konfigurierbar

mafg

Member
Hallo liebes Forum,

leider habe ich (mal wieder) Probleme mit meinem WLAN. Die Karte scheint erkannt zu werden, lässt sich aber nicht mehr konfigurieren. Das drahtlose Netzwerk lässt ich mit KNetworkmanager nicht mehr aktivieren. Bis vor einigen Tagen ging alles ohne Probleme und ich bin mir keiner (Konfigurations-)Schuld bewusst. :/

Das System:
Kernel 2.6.31.12
OpenSUSE 11.2
KDE 4.3.5
Lenovo 3000 N200
WLAN Karte Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)

Die Ausgabe von framps Skript
Code:
collectNWData.sh V0.6.3.8 (Rev: 1.230, Build: 2010/07/11 08:25:11 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 ...

!!! CND0110E: For the selected connection type there was no active network interface found on your system

--- 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.

==================================================================================================================
==================================================================================================================
*** uname -a
Linux linux-im16 2.6.31.12-0.2-pae #1 SMP 2010-03-16 21:25:39 +0100 i686 i686 i386 GNU/Linux
==================================================================================================================
*** cat /etc/*[-_]release || cat /etc/*[-_]version
/etc/SuSE-release
/etc/lsb-release
openSUSE 11.2 (i586)
VERSION = 11.2
LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-ia32:core-3.2-ia32:core-4.0-ia32"
==================================================================================================================
*** cat /etc/resolv | grep -i "nameserver"
==================================================================================================================
*** cat /etc/hosts
127.0.0.1       localhost
127.0.0.2	linux-im16.site linux-im16
==================================================================================================================
*** route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
==================================================================================================================
*** ifconfig
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:19 
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:96 errors:0 dropped:0 overruns:0 frame:0
          TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:6464 (6.3 Kb)  TX bytes:6464 (6.3 Kb)
==================================================================================================================
*** ping tests
connect: Network is unreachable
Ping of 195.135.220.3 failed
ping: unknown host www.suse.de
Ping of www.suse.de failed
==================================================================================================================
*** dhcpcd-test
wlan0: No DHCP server detected info, wlan0: exiting
==================================================================================================================
*** lspci
04:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection [8086:4227] (rev 02)
06:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express [14e4:1713] (rev 02)
==================================================================================================================
*** 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 004 Device 002: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
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
==================================================================================================================
*** hwinfo (filtered)
28: PCI 400.0: 0282 WLAN controller
  Model: "Intel ThinkPad R60e/X60s"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x4227 "PRO/Wireless 3945ABG [Golan] Network Connection"
  SubVendor: pci 0x8086 "Intel Corporation"
  SubDevice: pci 0x1011 "ThinkPad R60e/X60s"
  Driver: "iwl3945"
  Driver Modules: "iwl3945"
  Device File: wlan0
    Driver Status: iwl3945 is active
    Driver Activation Cmd: "modprobe iwl3945"
29: PCI 600.0: 0200 Ethernet controller
  Model: "Broadcom NetLink BCM5906M Fast Ethernet PCI Express"
  Vendor: pci 0x14e4 "Broadcom"
  Device: pci 0x1713 "NetLink BCM5906M Fast Ethernet PCI Express"
  SubVendor: pci 0x17aa "Lenovo"
  SubDevice: pci 0x3861 
  Driver: "tg3"
  Driver Modules: "tg3"
  Device File: eth0
  Link detected: no
    Driver Status: tg3 is active
    Driver Activation Cmd: "modprobe tg3"
==================================================================================================================
*** lsmod # (filtered)
| ac              | acpi_cpufreq    | aead            | arc4            | battery          |
| binfmt_misc     | cfg80211        | cpufreq_conservative| cpufreq_powersave| cpufreq_userspace |
| drm             | ecb             | edd             | fuse            | i2c_algo_bit     |
| i2c_i801        | i915            | iTCO_vendor_support| iTCO_wdt        | ieee1394         |
| intel_agp       | ip6t_LOG        | ip6t_REJECT     | iptable_raw     | iwl3945          |
| iwlcore         | mac80211        | mmc_core        | nf_conntrack_ipv4| nf_conntrack_netbios_ns |
| ohci1394        | pcompress       | piix            | rfkill          | sdhci            |
| sdhci_pci       | sg              | snd_hda_codec   | snd_hda_codec_realtek| snd_hda_intel    |
| snd_hwdep       | snd_seq_device  | speedstep_lib   | sr_mod          | tg3              |
| thermal         | thermal_sys     | uinput          | video           | wmi              |
| xt_NOTRACK      | xt_limit        | xt_pkttype      | xt_state        | xt_tcpudp        |
==================================================================================================================
*** cat /etc/sysconfig/network/ifcfg-[earwd]*
--- /etc/sysconfig/network/ifcfg-eth0
BOOTPROTO='dhcp'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NAME='NetLink BCM5906M Fast Ethernet PCI Express'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
--- /etc/sysconfig/network/ifcfg-wlan0
BOOTPROTO='dhcp'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NAME='PRO/Wireless 3945ABG [Golan] Network Connection'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='yes'
WIRELESS_AP=''
WIRELESS_AUTH_MODE='open'
WIRELESS_BITRATE='auto'
WIRELESS_CA_CERT=''
WIRELESS_CHANNEL=''
WIRELESS_CLIENT_CERT=''
WIRELESS_CLIENT_KEY=''
WIRELESS_CLIENT_KEY_PASSWORD=''
WIRELESS_DEFAULT_KEY='0'
WIRELESS_EAP_AUTH=''
WIRELESS_EAP_MODE=''
WIRELESS_ESSID=''
WIRELESS_FREQUENCY=''
WIRELESS_KEY=''
WIRELESS_KEY_0=''
WIRELESS_KEY_1=''
WIRELESS_KEY_2=''
WIRELESS_KEY_3=''
WIRELESS_KEY_LENGTH='@@@@@@'
WIRELESS_MODE='Managed'
WIRELESS_NICK=''
WIRELESS_NWID=''
WIRELESS_PEAP_VERSION=''
WIRELESS_POWER='yes'
WIRELESS_WPA_ANONID=''
WIRELESS_WPA_IDENTITY=''
WIRELESS_WPA_PASSWORD=''
WIRELESS_WPA_PSK=''
==================================================================================================================
*** iwconfig
lo        no wireless extensions.
eth0      no wireless extensions.
wmaster0  no wireless extensions.
wlan0     IEEE 802.11abg  ESSID:""  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Tx-Power=off   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          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
21:02:41 2010-08-05
==================================================================================================================
*** grep -i radio /var/log/messages* | tail -n 5
/var/log/messages:Aug  1 12:44:42 linux-im16 kernel: [   31.158566] Registered led device: iwl-phy0::radio
/var/log/messages:Aug  1 21:57:10 linux-im16 kernel: [   31.275390] Registered led device: iwl-phy0::radio
/var/log/messages:Aug  2 21:15:55 linux-im16 kernel: [   32.670580] Registered led device: iwl-phy0::radio
/var/log/messages:Aug  4 20:16:40 linux-im16 kernel: [   30.703539] Registered led device: iwl-phy0::radio
/var/log/messages:Aug  5 09:40:08 linux-im16 kernel: [   31.259906] Registered led device: iwl-phy0::radio
==================================================================================================================
*** dmesg | grep -i radio | tail -n 5
==================================================================================================================
*** tail -n 300 /var/log/messages* | /usr/bin/grep -i firmware | tail -n 5
==================================================================================================================
*** ls /lib/firmware/*
| 2.6.31.12-0.2-default   | 2.6.31.12-0.2-pae       | 3CCFEM556.cis           | 3CXEM556.cis             |
| 3com                    | COMpad2.cis             | COMpad4.cis             | DP83903.cis              |
| E-CARD.cis              | LA-PCM.cis              | LICENCE.agere           | LICENCE.atheros_firmware |
| LICENCE.i2400m          | LICENCE.iwlwifi_firmware| LICENCE.libertas        | LICENCE.mwl8k            |
| LICENCE.qla2xxx         | LICENCE.ralink-firmware.txt| LICENCE.xc5000          | MT5634ZLX.cis            |
| NE2K.cis                | PCMLM28.cis             | PE-200.cis              | PE520.cis                |
| RS-COM-2P.cis           | acenic                  | adaptec                 | advansys                 |
| agere_ap_fw.bin         | agere_sta_fw.bin        | aica_firmware.bin       | ar9170-1.fw              |
| ar9170-2.fw             | asihpi                  | atmsar11.fw             | av7110                   |
| bnx2                    | bnx2x-e1-4.8.53.0.fw    | bnx2x-e1h-4.8.53.0.fw   | cis                      |
| cpia2                   | cxgb3                   | dabusb                  | digiface_firmware.bin    |
| digiface_firmware_rev11.bin| dsp56k                  | dvb-fe-xc5000-1.6.114.fw| dvb-usb-af9015.fw        |
| e100                    | ea                      | edgeport                | emagic                   |
| emi26                   | emi62                   | emu                     | 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                | mixart                  | mts_cdma.fw              |
| mts_edge.fw             | mts_gsm.fw              | multiface_firmware.bin  | multiface_firmware_rev11.bin |
| mwl8k                   | myricom                 | ositech                 | pcxhr                    |
| 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                     | tamarack.cis            | 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                   | vx                       |
| 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
wlan0     Interface doesn't support scanning : Network is down

No WLANs found
==================================================================================================================
*** NWElizaStates
IF:eth0 IM:1 IF:wlan0 IM:2 DI:2 AP:0 FALON:0

Dann habe ich in /var/log/messages noch folgendes gefunden
Code:
Aug  5 21:02:41 linux-im16 dhcpcd[3083]: wlan0: ioctl SIOCSIFFLAGS: Unknown error 132
Aug  5 21:02:41 linux-im16 dhcpcd[3083]: wlan0: exiting

Hat jemand eine Idee? Ich bin mir nicht mal sicher, ob es sich um ein Softwareproblem handelt oder die Karte schlicht und einfach kaputt ist.

Danke,
Matthias
 
Im Script steht:
Code:
wlan0     IEEE 802.11abg  ESSID:""  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Tx-Power=off
es sollte aber
Code:
Tx-Power=on
(eingeschaltet) sein.

Versuche das zu ändern mit Kommando:
Code:
 iwconfig wlan0 txpower on
oder lese
Code:
man iwconfig
Hier ein Auszug aus man iwconfig:
txpower
For cards supporting multiple transmit powers, sets the transmit
power in dBm. If W is the power in Watt, the power in dBm is P =
30 + 10.log(W). If the value is postfixed by mW, it will be
automatically converted to dBm.
In addition, on and off enable and disable the radio, and auto
and fixed enable and disable power control (if those features
are available).
Examples :
iwconfig eth0 txpower 15
iwconfig eth0 txpower 30mW
iwconfig eth0 txpower auto
iwconfig eth0 txpower off
 

Sauerland

Ultimate Guru
Code:
cat /var/lib/NetworkManager/NetworkManager.state

ergibt
Code:
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
 
OP
mafg

mafg

Member
Hallo!

Vielen Dank für eure Tips!

@Heinz-Peter
Nach
Code:
iwconfig wlan0 txpower on
kommt das Prompt ohne Fehlermeldung zurück. Trotzdem ergibt
Code:
iwconfig
Code:
Tx-Power=off
:???:

@Sauerland
Das Verzeichnis
/var/lib/NetworkManager/
ist auf meinem System nicht vorhanden.

Bin leider weiter ratlos...
Gruß,
Matthias
 

Sauerland

Ultimate Guru
Hast Du mal als root versucht die Textdatei zu erzeugen und unter dem Namen im angegebenen Verzeichnis abzuspeichern?
Dann noch ein
Code:
rcnetwork restart
ebenfalls als root.
 
OP
mafg

mafg

Member
Oohh Mann!
Es war ein Hardwareproblem. Der Schalter für die WLAN-Karte an der Frontseite des Notebooks war in der Off-Position. Bislang habe ich diesen Schalter überhaupt nicht wahrgenommen. Ein Blick ins Handbuch des Rechners hat mir weiter geholfen.

Peinliche Vorstellung... klassischer Fall von "Read the manual" :eek:ps:

Entschuldigt bitte, dass ich euch in Anspruch genommen habe!

Gruß und besten Dank!
Matthias
 

framp

Moderator
Teammitglied
mafg schrieb:
Oohh Mann!
Es war ein Hardwareproblem. Der Schalter für die WLAN-Karte an der Frontseite des Notebooks war in der Off-Position. Bislang habe ich diesen Schalter überhaupt nicht wahrgenommen. Ein Blick ins Handbuch des Rechners hat mir weiter geholfen.

Peinliche Vorstellung... klassischer Fall von "Read the manual" :eek:ps:

Entschuldigt bitte, dass ich euch in Anspruch genommen habe!

Gruß und besten Dank!
Matthias
Das ist kein Problem. Genau dieses kommt immer mal wieder vor. Deshalb wird auch im Script collectNWData danach gesucht. Dieses wird gemacht durch
*** grep -i radio /var/log/messages* | tail -n 5
/var/log/messages:Aug 1 12:44:42 linux-im16 kernel: [ 31.158566] Registered led device: iwl-phy0::radio
/var/log/messages:Aug 1 21:57:10 linux-im16 kernel: [ 31.275390] Registered led device: iwl-phy0::radio
/var/log/messages:Aug 2 21:15:55 linux-im16 kernel: [ 32.670580] Registered led device: iwl-phy0::radio
/var/log/messages:Aug 4 20:16:40 linux-im16 kernel: [ 30.703539] Registered led device: iwl-phy0::radio
/var/log/messages:Aug 5 09:40:08 linux-im16 kernel: [ 31.259906] Registered led device: iwl-phy0::radio
==================================================================================================================
*** dmesg | grep -i radio | tail -n 5
Nur leider ist da bei Dir nichts gefunden worden :???:

Könntest Du vielleicht noch einmal die Karte ausschalten und den Rechner restarten und mir dann den Inhalt Deiner /var/log/messages sowie dmesg per eMail zuschicken? Ich könnte dann mal nachsehen ob es doch eine Indikation in den Logs zu diesem Fehler gibt und dann im Script danach suchen und eine Fehlermeldung ausgeben. Dann würde dieser blöde Fehler zukünftig vom Script entdeckt werden und eine lange FehlerSuche erspart ;)
 

framp

Moderator
Teammitglied
mafg hat mir Logs und Ausgaben von collectNWData zwecks Analyse zugeschickt. Sieht so aus als könnte das Script auch bei diesem Schlepptop feststellen, dass das WLAN per Schalter ausgeschaltet ist :roll:

Noch einmal vielen Dank an mafg für seine Unterstützung.
 
Oben