[code] collectNWData.sh V0.6.3.4 (Rev: 1.220, Build: 2010/04/05 13:36:33 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 ... !!! CND0230W: IPV6 ist eingeschaltet !!! CND0240E: Knetworkmanager wird fuer die Netzwerkkonfiguration benutzt aber eine YAST Netzwerkkartenkonfiguration f�r wlan0,eth0 existiert !!! CND0360E: Eine drahtlose Verbindung wurde getestet obwohl eine kabelgebundene Verbindung am Interface eth0 existiert . Das Netzwerkkabel ausstecken und das Script noch einmal starten --- 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 linux-9lci 2.6.31.12-0.2-default #1 SMP 2010-03-16 21:25:39 +0100 i686 i686 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 192.168.2.1 ================================================================================================================== *** cat /etc/hosts 127.0.0.1 localhost 127.0.0.2 linux-9lci.site linux-9lci ================================================================================================================== *** route -n Kernel IP Routentabelle Ziel Router Genmask Flags Metric Ref Use Iface 192.168.2.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.2.1 0.0.0.0 UG 0 0 0 eth0 ================================================================================================================== *** ifconfig eth0 Link encap:Ethernet Hardware Adresse ##:##:##:##:##:#1 inet Adresse:192.168.2.100 Bcast:192.168.2.255 Maske:255.255.255.0 inet6 Adresse: fe80::211:25ff:feb0:4ffb/64 Gültigkeitsbereich:Verbindung UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:15953 errors:0 dropped:0 overruns:0 frame:0 TX packets:14470 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:1000 RX bytes:12756651 (12.1 Mb) TX bytes:2352715 (2.2 Mb) 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:217 errors:0 dropped:0 overruns:0 frame:0 TX packets:217 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:0 RX bytes:12449 (12.1 Kb) TX bytes:12449 (12.1 Kb) wlan0 Link encap:Ethernet Hardware Adresse ##:##:##:##:##:#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 Sendewarteschlangenlänge:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) wmaster0 Link encap:UNSPEC Hardware Adresse 00-0E-9B-C1-94-4B-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 of www.suse.de OK ================================================================================================================== *** dhcpcd-test ================================================================================================================== *** lspci 02:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5751M Gigabit Ethernet PCI Express [14e4:167d] (rev 11) 04:02.0 Ethernet controller [0200]: Atheros Communications Inc. AR5212 802.11abg NIC [168c:1014] (rev 01) ================================================================================================================== *** lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 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 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub ================================================================================================================== *** hwinfo (filtered) 26: PCI 200.0: 0200 Ethernet controller Model: "IBM ThinkPad Z60t" Vendor: pci 0x14e4 "Broadcom" Device: pci 0x167d "NetXtreme BCM5751M Gigabit Ethernet PCI Express" SubVendor: pci 0x1014 "IBM" SubDevice: pci 0x0577 "ThinkPad Z60t" Driver: "tg3" Driver Modules: "tg3" Device File: eth0 Link detected: yes Driver Status: tg3 is active Driver Activation Cmd: "modprobe tg3" 28: PCI 402.0: 0282 WLAN controller Model: "Atheros AR5212 802.11abg NIC" Vendor: pci 0x168c "Atheros Communications Inc." Device: pci 0x1014 "AR5212 802.11abg NIC" SubVendor: pci 0x1014 "IBM" SubDevice: pci 0x057e Driver: "ath5k" Driver Modules: "ath5k" Device File: wlan0 Link detected: yes Driver Status: ath5k is active Driver Activation Cmd: "modprobe ath5k" ================================================================================================================== *** lsmod # (filtered) | ac | ac97_bus | acpi_cpufreq | aead | af_packet | | ahci | arc4 | ata_piix | ath5k | ath | | battery | cfg80211 | cpufreq_conservative| cpufreq_powersave| cpufreq_userspace | | crc16 | crc_ccitt | drm | ecb | edd | | ehci_hcd | floppy | fscache | fuse | hwmon | | i2c_core | i2c_i801 | intel_agp | ip6t_LOG | ip6t_REJECT | | iptable_raw | irda | iTCO_vendor_support| iTCO_wdt | jbd2 | | led_class | libata | mac80211 | nf_conntrack_ipv4| nf_conntrack_netbios_ns | | nsc_ircc | output | pcmcia_core | pcompress | ppdev | | radeon | rfkill | rsrc_nonstatic | sg | snd_ac97_codec | | snd_intel8x0 | snd_intel8x0m | snd_seq_device | speedstep_lib | sr_mod | | tg3 | thermal | thermal_sys | thinkpad_acpi | uhci_hcd | | video | xt_limit | xt_NOTRACK | xt_pkttype | xt_state | | xt_tcpudp | yenta_socket | ================================================================================================================== *** cat /etc/sysconfig/network/ifcfg-[earwd]* --- /etc/sysconfig/network/ifcfg-eth0 BOOTPROTO='dhcp' MTU='' REMOTE_IPADDR='' STARTMODE='auto' --- /etc/sysconfig/network/ifcfg-wlan0 BOOTPROTO='dhcp' BROADCAST='' ETHTOOL_OPTIONS='' IPADDR='' MTU='' NAME='AR5212 802.11abg NIC' 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. irda0 no wireless extensions. wmaster0 no wireless extensions. wlan0 IEEE 802.11abg ESSID:"" Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated Tx-Power=20 dBm 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 11:44:24 2010-04-14 ================================================================================================================== *** grep -i radio /var/log/messages* | tail -n 5 ================================================================================================================== *** dmesg | grep -i radio | tail -n 5 [ 13.653590] ath5k phy0: RF5112B multiband radio found (0x36) ================================================================================================================== *** tail -n 300 /var/log/messages* | /bin/grep -i firmware | tail -n 5 ================================================================================================================== *** ls /lib/firmware/* | 2.6.31.12-0.2-debug | 2.6.31.12-0.2-default | 2.6.31.12-0.2-desktop | 2.6.31.12-0.2-pae | | 2.6.31.12-0.2-xen | 3CCFEM556.cis | 3com | 3CXEM556.cis | | acenic | adaptec | advansys | agere_ap_fw.bin | | agere_sta_fw.bin | aic94xx-seq.fw | aica_firmware.bin | ar9170-1.fw | | ar9170-2.fw | asihpi | atmel_at76c502_3com.bin | atmel_at76c502_3com-wpa.bin | | atmel_at76c502.bin | atmel_at76c502d.bin | atmel_at76c502d-wpa.bin | atmel_at76c502e.bin | | atmel_at76c502e-wpa.bin | atmel_at76c502-wpa.bin | atmel_at76c503-i3861.bin| atmel_at76c503-i3863.bin | | atmel_at76c503-rfmd-0.90.2-140.bin| atmel_at76c503-rfmd-acc.bin| atmel_at76c503-rfmd.bin | atmel_at76c504_2958-wpa.bin | | atmel_at76c504a_2958-wpa.bin| atmel_at76c504.bin | atmel_at76c504c-wpa.bin | atmel_at76c505a-rfmd2958.bin | | atmel_at76c505-rfmd2958.bin| atmel_at76c505-rfmd.bin | atmel_at76c506.bin | atmel_at76c506-wpa.bin | | atmsar11.fw | av7110 | b43 | b43legacy | | BCM2033-FW.bin | BCM2033-MD.hex | bfubase.frm | bnx2 | | bnx2x-e1-4.8.53.0.fw | bnx2x-e1h-4.8.53.0.fw | cis | COMpad2.cis | | COMpad4.cis | cpia2 | cxgb3 | dabusb | | digiface_firmware.bin | digiface_firmware_rev11.bin| DP83903.cis | dsp56k | | dvb-fe-xc5000-1.6.114.fw| dvb-ttpci-01.fw | dvb-ttpci-01.fw-2622 | e100 | | ea | E-CARD.cis | edgeport | emagic | | emi26 | emi62 | emu | ess | | i2400m-fw-usb-1.3.sbcf | i2400m-fw-usb-1.4.sbcf | intelliport2.bin | ipw2100-1.3.fw | | ipw2100-1.3-i.fw | ipw2100-1.3-p.fw | ipw2200-bss.fw | ipw2200-ibss.fw | | ipw2200-sniffer.fw | ipw-2.2-boot.fw | ipw-2.2-bss.fw | ipw-2.2-bss_ucode.fw | | ipw-2.2-ibss.fw | ipw-2.2-ibss_ucode.fw | ipw-2.3-boot.fw | ipw-2.3-bss.fw | | ipw-2.3-bss_ucode.fw | ipw-2.3-ibss.fw | ipw-2.3-ibss_ucode.fw | ipw-2.3-sniffer.fw | | ipw-2.3-sniffer_ucode.fw| ipw-2.4-boot.fw | ipw-2.4-bss.fw | ipw-2.4-bss_ucode.fw | | ipw-2.4-ibss.fw | ipw-2.4-ibss_ucode.fw | ipw-2.4-sniffer.fw | ipw-2.4-sniffer_ucode.fw | | isdn | 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 | LICENSE.ipw2200-fw | LICENSE.ipw2x00 | | mixart | MT5634ZLX.cis | mts_cdma.fw | mts_edge.fw | | mts_gsm.fw | multiface_firmware.bin | multiface_firmware_rev11.bin| mwl8k | | myricom | NE2K.cis | ositech | PCMLM28.cis | | pcxhr | 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 | STLC2500_R4_00_03.ptc | | STLC2500_R4_00_06.ssf | STLC2500_R4_02_02_WLAN.ssf| STLC2500_R4_02_04.ptc | 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 | vx | | whiteheat.fw | whiteheat_loader.fw | yam | yamaha | | zd1211 | ================================================================================================================== *** 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 DI:1 AP:0 NI:1 cNI:1 NDIS:0 NIWL:0 IP6:1 KM:1 WLW:eth0 1 RTDT:SuSE [/code]