[code] collectNWData.sh V0.6.3.1 (Rev: 1.204, Build: 2010/02/28 15:29:34 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 ausgefuehrt? --- (1) LinuxClient --- NWEliza untersucht das System nach haeufigen Netzwerkkonfigurationsfehlern untersucht ... !!! CND0180I: Das System kann die externe IP 195.135.220.3 nicht pingen !!! CND0150E: Es kann ein Problem mit der default gateway definition 10.28.48.190 am Interface wlan0 vorliegen !!! CND0240E: Knetworkmanager wird fuer die Netzwerkkonfiguration benutzt aber eine YAST Netzwerkkartenkonfiguration für wlan0,eth0 existiert --- Gehe zu http://www.linux-tips-and-tricks.de/CND um detailiertere Hinweise --- zu den Fehlermeldungen/Warnungen zu bekommen und wie die Fehler selbst beseitigt werden koennen. ================================================================================================================== ================================================================================================================== *** uname -a Linux hiobs-kleiner 2.6.31.12-0.1-default #1 SMP 2010-01-27 08:20:11 +0100 i686 athlon i386 GNU/Linux ================================================================================================================== *** cat /etc/*[-_]release || cat /etc/*[-_]version /etc/SuSE-release openSUSE 11.2 (i586) VERSION = 11.2 ================================================================================================================== *** cat /etc/resolv | grep -i "nameserver" nameserver 10.28.48.190 ================================================================================================================== *** cat /etc/hosts 127.0.0.1 localhost 127.0.0.2 hiobs-kleiner.WORKGROUP hiobs-kleiner 10.28.48.195 Hiobs-Kleiner Hiobs-Kleiner 10.28.48.196 linux linux ================================================================================================================== *** route Kernel IP Routentabelle Ziel Router Genmask Flags Metric Ref Use Iface 10.28.48.0 0.0.0.0 255.255.240.0 U 2 0 0 wlan0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 10.28.48.190 0.0.0.0 UG 0 0 0 wlan0 ================================================================================================================== *** ifconfig eth0 Link encap:Ethernet Hardware Adresse ##:##:##:##:##:#1 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:40 errors:0 dropped:0 overruns:0 frame:0 TX packets:38 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:1000 RX bytes:13173 (12.8 Kb) TX bytes:10461 (10.2 Kb) Interrupt:11 Basisadresse:0xa000 lo Link encap:Lokale Schleife inet Adresse:127.0.0.1 Maske:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:100 errors:0 dropped:0 overruns:0 frame:0 TX packets:100 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:0 RX bytes:16971 (16.5 Kb) TX bytes:16971 (16.5 Kb) wlan0 Link encap:Ethernet Hardware Adresse ##:##:##:##:##:#2 inet Adresse:10.28.48.102 Bcast:10.28.63.255 Maske:255.255.240.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:21 errors:0 dropped:0 overruns:0 frame:0 TX packets:92 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:1000 RX bytes:3651 (3.5 Kb) TX bytes:16180 (15.8 Kb) wmaster0 Link encap:UNSPEC Hardware Adresse 00-1F-1F-22-F0-D1-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 Sendewarteschlangenlänge:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) ================================================================================================================== *** ping tests Ping of 195.135.220.3 OK ping: unknown host www.suse.de Ping of www.suse.de failed ================================================================================================================== *** dhcpcd-test wlan0: No DHCP server detected info, eth0: hardware address = ##:##:##:##:##:#1 info, eth0: broadcasting for a lease debug, eth0: sending DHCP_DISCOVER with xid 0x7aaa7e8a debug, eth0: waiting for 3 seconds info, eth0: exiting ================================================================================================================== *** lspci 00:12.0 Ethernet controller [0200]: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller [100b:0020] ================================================================================================================== *** lsusb Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 002: ID 148f:2770 Ralink Technology, Corp. ================================================================================================================== *** hwinfo (filtered) 21: PCI 12.0: 0200 Ethernet controller Model: "Hewlett-Packard Company Pavilion ze4400 builtin Network" Vendor: pci 0x100b "National Semiconductor Corporation" Device: pci 0x0020 "DP83815 (MacPhyter) Ethernet Controller" SubVendor: pci 0x103c "Hewlett-Packard Company" SubDevice: pci 0x0024 "Pavilion ze4400 builtin Network" Driver: "natsemi" Driver Modules: "natsemi" Device File: eth0 Link detected: no Driver Status: natsemi is active Driver Activation Cmd: "modprobe natsemi" 36: USB 00.0: 0282 WLAN controller Model: "Ralink 802.11 n WLAN" Vendor: usb 0x148f "Ralink Technology, Corp." Device: usb 0x2770 "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) | ac | ac97_bus | aead | aes_generic | aes_i586 | | af_packet | alim1535_wdt | alim15x3 | arc4 | ati_agp | | battery | cfg80211 | container | cpufreq_conservative| cpufreq_powersave | | cpufreq_userspace| crc16 | crc_ccitt | drm | ecb | | edd | ehci_hcd | floppy | fscache | fuse | | hwmon | i2c_ali1535 | i2c_ali15x3 | i2c_core | ieee1394 | | input_polldev | iptable_raw | jbd2 | led_class | libata | | mac80211 | natsemi | nf_conntrack_ipv4| nf_conntrack_netbios_ns| ohci1394 | | ohci_hcd | output | pata_ali | pci_hotplug | pcmcia_core | | pcompress | powernow_k7 | ppdev | radeon | rfkill | | rsrc_nonstatic | rt2800usb | rt2870sta | rt2x00lib | rt2x00usb | | sg | shpchp | snd_ac97_codec | snd_ali5451 | snd_seq_device | | sr_mod | thermal | thermal_sys | video | xt_limit | | xt_NOTRACK | xt_pkttype | xt_state | xt_tcpudp | yenta_socket | ================================================================================================================== *** cat /etc/sysconfig/network/ifcfg-eth0 /etc/sysconfig/network/ifcfg-wlan0 | egrep -v ".*=''" BOOTPROTO='dhcp' NAME='DP83815 (MacPhyter) Ethernet Controller' STARTMODE='auto' USERCONTROL='no' PREFIXLEN='20' BOOTPROTO='dhcp' NAME='802.11 n WLAN' STARTMODE='auto' USERCONTROL='yes' WIRELESS_AUTH_MODE='no-encryption' WIRELESS_BITRATE='auto' WIRELESS_DEFAULT_KEY='0' WIRELESS_KEY_LENGTH='@@@@@@' WIRELESS_MODE='Managed' WIRELESS_POWER='yes' PREFIXLEN='20' ================================================================================================================== *** iwconfig lo no wireless extensions. eth0 no wireless extensions. wmaster0 no wireless extensions. wlan0 IEEE 802.11bgn ESSID:"W#A#" Mode:Managed Frequency:2.437 GHz Access Point: ##:##:##:##:##:#3 Bit Rate=11 Mb/s Tx-Power=20 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:@@ @@@-@@@@-@@@@-@@@@-@@@@-@@@@@@@ [2] Power Management:on Link Quality=70/70 Signal level=25 dBm 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 17:02:46 2010-03-11 ================================================================================================================== *** grep -i radio /var/log/messages* | tail -n 5 ================================================================================================================== *** dmesg | grep -i radio | tail -n 5 [ 12.515773] Registered led device: rt2800usb-phy0::radio ================================================================================================================== *** tail -n 300 /var/log/messages* | /usr/bin/grep -i firmware | tail -n 5 Mar 11 16:55:42 hiobs-kleiner kernel: [ 45.009227] rt2800usb 1-1:1.0: firmware: requesting rt2870.bin ================================================================================================================== *** ls /lib/firmware/* | 2.6.31.12-0.1-default | 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 | ================================================================================================================== *** 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 Channel:11 Quality=70/70 Signal level=55 dBm Encryption key:on ESSID:"l#n#s#s" IE: IEEE 802.11i/WPA2 Version 1 IE: WPA Version 1 Channel:11 Quality=70/70 Signal level=48 dBm Encryption key:on ESSID:"K#i# #n#e#n#t" IE: WPA Version 1 Channel:6 Quality=70/70 Signal level=27 dBm Encryption key:on ESSID:"W#A#" IE: IEEE 802.11i/WPA2 Version 1 ================================================================================================================== *** NWElizaStates IF:eth0 IM:1 IF:wlan0 IM:2 DI:2 AP:1 dI:0 NIC:0 cNiC:2:0 NI:0 cNI:0 PNG:1 DR:1 MTU:0 NISS:0 IP6:0 KM:1 WLW:0 RTDT:SuSE [/code]