[code] collectNWData.sh V0.6.5.4.15c (Rev: 1.320C, Build: 2012-03-20 18:27:26 UTC) --- Welcher Netzwerkverbindungtyp soll getestet werden? --- (2) Kabellose Verbindung (WLAN) --- Welche Netzwerktopologie liegt vor? --- (1) WLAN access point <---> LinuxClient --- Auf welchem Rechner wird das Script ausgeführt? --- (1) LinuxClient --- NWEliza untersucht das System nach häufigen Netzwerkkonfigurationsfehlern ... !!! CND0180I: Das System kann die externe IP x.x.x.x nicht pingen !!! CND0140E: Kein default gateway auf dem System definiert !!! CND0500W: Der Kanal 6, der vom eigenen Accesspoint benutzt wird, wird von 1 weiteren Accesspoints genutzt !!! CND0310W: Klassische Netzwerkkonfiguration mit ifup wurde entdeckt. Die Konfiguration mit networkmanager ist wesentlich einfacher --- Gehe zu http://www.linux-tips-and-tricks.de/CND um detailliertere Hinweise --- zu den Fehlermeldungen/Warnungen zu bekommen und wie die Fehler selbst beseitigt werden können. --- Wenn eigene Lösungsversuche erfolglos waren dann den Inhalt der Datei collectNWData.txt im Netz ablegen --- (Links siehe http://www.linux-tips-and-tricks.de/CND_UPL) --- und dann der nopaste Link im bevorzugten Linux Forum posten. ================================================================================================================== ===== cat /etc/*[-_]release || cat /etc/*[-_]version ============================================================= /etc/SuSE-release openSUSE 11.2 (i586) VERSION = 11.2 ===== uname -a =================================================================================================== Linux linux-g92q 2.6.31.14-0.8-desktop #1 SMP PREEMPT 2011-04-06 18:09:24 +0200 i686 i686 i386 GNU/Linux ===== cat /etc/sysconfig/network/ifcfg-[earwd]* | grep -v "=''" ================================================== --- /etc/sysconfig/network/ifcfg-eth0 BOOTPROTO='dhcp' NAME='88E8040 PCI-E Fast Ethernet Controller' STARTMODE='auto' USERCONTROL='no' --- /etc/sysconfig/network/ifcfg-wlan0 BOOTPROTO='dhcp' NAME='Wireless WiFi Link 5100' STARTMODE='auto' USERCONTROL='yes' 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='@@@@@@' ===== dhcpcd-test ================================================================================================ wlan0: DHCP server available ===== ping tests ================================================================================================= connect: Network is unreachable Ping of x.x.x.x failed connect: Network is unreachable Ping of www.suse.de failed ===== cat /etc/resolv | grep -i "nameserver" ===================================================================== nameserver x.x.x.x ===== cat /etc/hosts ============================================================================================= 127.0.0.1 localhost 127.0.0.2 linux-g92q.site linux-g92q ===== route -n | egrep "(eth|ath|ra|wlan|dsl)" =================================================================== x.x.x.x 0.0.0.0 255.255.255.0 U 0 0 0 wlan0 x.x.x.x 0.0.0.0 255.255.0.0 U 0 0 0 wlan0 ===== ifconfig (filtered for eth|wlan|ra|ath|dsl) ================================================================ eth0 Link encap:Ethernet Hardware Adresse ##:##:##:##:##:#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 Sendewarteschlangenlänge:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:16 lo Link encap:Lokale Schleife inet Adresse:127.0.0.1 Maske:255.0.0.0 inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:68 errors:0 dropped:0 overruns:0 frame:0 TX packets:68 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:0 RX bytes:3912 (3.8 Kb) TX bytes:3912 (3.8 Kb) wlan0 Link encap:Ethernet Hardware Adresse ##:##:##:##:##:#2 inet Adresse:x.x.x.x Bcast:x.x.x.255 Maske:255.255.255.0 inet6 Adresse: fe80::221:5dff:fedf:975a/64 Gültigkeitsbereich:Verbindung UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17 errors:0 dropped:0 overruns:0 frame:0 TX packets:28 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:1000 RX bytes:1960 (1.9 Kb) TX bytes:6067 (5.9 Kb) wmaster0 Link encap:UNSPEC Hardware Adresse 00-21-5D-DF-97-5A-64-66-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 Sendewarteschlangenlänge:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) ===== lspci ====================================================================================================== 02:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller [11ab:4354] (rev 12) Subsystem: Sony Corporation Device [104d:903f] Kernel driver in use: sky2 03:00.0 Network controller [0280]: Intel Corporation Wireless WiFi Link 5100 [8086:4232] Subsystem: Intel Corporation Device [8086:1301] Kernel driver in use: iwlagn ===== lsusb | grep -v "root hub" ================================================================================= Bus 001 Device 002: ID 05ca:183f Ricoh Co., Ltd Bus 002 Device 003: ID 1845:0104 Bus 007 Device 002: ID 044e:3017 Alps Electric Co., Ltd ===== hwinfo (filtered) ========================================================================================== 26: PCI 200.0: 0200 Ethernet controller Model: "Marvell 88E8040 PCI-E Fast Ethernet Controller" Vendor: pci 0x11ab "Marvell Technology Group Ltd." Device: pci 0x4354 "88E8040 PCI-E Fast Ethernet Controller" SubVendor: pci 0x104d "Sony Corporation" SubDevice: pci 0x903f Driver: "sky2" Driver Modules: "sky2" Device File: eth0 Link detected: no Driver Status: sky2 is active Driver Activation Cmd: "modprobe sky2" 27: PCI 300.0: 0282 WLAN controller Model: "Intel Wireless WiFi Link 5100" Vendor: pci 0x8086 "Intel Corporation" Device: pci 0x4232 "Wireless WiFi Link 5100" SubVendor: pci 0x8086 "Intel Corporation" SubDevice: pci 0x1301 Driver: "iwlagn" Driver Modules: "iwlagn" Device File: wlan0 Link detected: yes Driver Status: iwlagn is active Driver Activation Cmd: "modprobe iwlagn" ===== lsmod (filtered) =========================================================================================== | ac | aead | aes_generic | aes_i586 | af_packet | | arc4 | bnep | btusb | cfg80211 | ecb | | i2c_i801 | ieee1394 | ip_tables | iwlagn | iwlcore | | jbd2 | l2cap | llc | mac80211 | mmc_core | | ohci1394 | pcompress | rfcomm | rfkill | sco | | sdhci | sdhci_pci | serio_raw | sg | sky2 | | sony_laptop | speedstep_lib | sr_mod | stp | v4l1_compat | ===== iwconfig =================================================================================================== lo no wireless extensions. eth0 no wireless extensions. wmaster0 no wireless extensions. pan0 no wireless extensions. wlan0 IEEE 802.11abgn ESSID:"§§§§§§§§1" Mode:Managed Frequency:2.437 GHz Access Point: ##:##:##:##:##:#3 Bit Rate=54 Mb/s Tx-Power=15 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:@@ @@@-@@@@-@@@@-@@@@- @@@@-@@@@@@@ [3] Power Management:off Link Quality=66/70 Signal level=-44 dBm Noise level=-83 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 ===== ls /lib/firmware/* ========================================================================================= | 2.6.31.14-0.8-desktop | 3CCFEM556.cis | 3com | 3CXEM556.cis | | 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 | COMpad2.cis | COMpad4.cis | cpia2 | | cxgb3 | dabusb | DP83903.cis | dsp56k | | dvb-fe-xc5000-1.6.114.fw| e100 | E-CARD.cis | 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 | | LA-PCM.cis | libertas | LICENCE.agere | LICENCE.atheros_firmware | | LICENCE.i2400m | LICENCE.iwlwifi_firmware| LICENCE.libertas | LICENCE.mwl8k | | LICENCE.qla2xxx | LICENCE.ralink-firmware.txt| LICENCE.xc5000 | MT5634ZLX.cis | | mts_cdma.fw | mts_edge.fw | mts_gsm.fw | mwl8k | | myricom | NE2K.cis | ositech | PCMLM28.cis | | PE-200.cis | PE520.cis | ql2100_fw.bin | ql2200_fw.bin | | ql2300_fw.bin | ql2322_fw.bin | ql2400_fw.bin | ql2500_fw.bin | | qlogic | RS-COM-2P.cis | 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 | | usbduxfast_firmware.bin | usbdux_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 | ===== iwlist scanning ============================================================================================ Channel:1 Quality=28/70 Signal level=-82 dBm ESSID:"§§§§§§§§2" Channel:11 Quality=35/70 Signal level=-75 dBm ESSID:"§§§§§§§§3" Channel:11 Quality=36/70 Signal level=-74 dBm ESSID:"§§§§§§§§4" Channel:11 Quality=30/70 Signal level=-80 dBm ESSID:"§§§§§§§§5" Channel:6 Quality=66/70 Signal level=-44 dBm ESSID:"§§§§§§§§1" Channel:6 Quality=65/70 Signal level=-45 dBm ESSID:"\x00\x00\x00\x00\x00\x00\x00\x00\x00" Channel:11 Quality=25/70 Signal level=-85 dBm ESSID:"§§§§§§§§7" ===== ndiswrapper -l ============================================================================================= No ndiswrapper module loaded ===== Active processes =========================================================================================== wpa_supplicant:YES networkmanager:NO nm-applet:NO ===== Active WPA processes ======================================================================================= wpa_supplicant -iwlan0 -c/var/run/wpa_supplicant-wlan0.conf -Dwext -P/var/run/wpa_supplicant/wlan0.pid -B ===== ===== egrep -i "persistent|networkmanager" /etc/sysconfig/network/config | grep -v "^#|^$" ================= NETWORKMANAGER="no" ===== Actual date for bias of following greps ==================================================================== 09:11:54 2012-03-24 ===== grep -i radio /var/log/messages* | tail -n 5 =============================================================== Mar 22 22:14:02 linux-g92q kernel: [ 46.507561] Registered led device: iwl-phy0::radio Mar 22 22:20:38 linux-g92q kernel: [ 46.966566] Registered led device: iwl-phy0::radio Mar 23 13:54:16 linux-g92q kernel: [ 59.395077] Registered led device: iwl-phy0::radio Mar 23 14:20:31 linux-g92q kernel: [ 55.596224] Registered led device: iwl-phy0::radio Mar 23 14:51:54 linux-g92q kernel: [ 46.467122] Registered led device: iwl-phy0::radio Mar 23 17:32:18 linux-g92q kernel: [ 57.607933] Registered led device: iwl-phy0::radio Mar 23 18:45:07 linux-g92q kernel: [ 46.687439] Registered led device: iwl-phy0::radio Mar 23 21:53:18 linux-g92q kernel: [ 48.109063] Registered led device: iwl-phy0::radio Mar 23 21:56:32 linux-g92q kernel: [ 242.228590] Registered led device: iwl-phy0::radio Mar 24 09:06:09 linux-g92q kernel: [ 49.002092] Registered led device: iwl-phy0::radio ===== dmesg | grep -i radio | tail -n 5 ========================================================================== [ 49.002092] Registered led device: iwl-phy0::radio ===== tail -n 300 /var/log/messages* | /usr/bin/grep -i firmware | tail -n 10 ==================================== Mar 24 09:06:09 linux-g92q kernel: [ 48.846404] iwlagn 0000:03:00.0: firmware: requesting iwlwifi-5000-2.ucode Mar 24 09:06:09 linux-g92q kernel: [ 48.853228] iwlagn 0000:03:00.0: loaded firmware version 8.24.2.12 ===== 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{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" ===== egrep -r 'eth[0-10]|ath[0-10]|wlan[0-10]|ra[0-10]' /etc/modprobe.*|egrep -v -i '#|blacklist' =============== ================================================================================================================== *** NWElizaStates V0.6.5.4.15c 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 NISS:0 IP6:0 KM:0 WLW:0 RTDT:SuSE [/code]