[code] collectNWData.sh V0.6.3.3-6 (Rev: 1.216, Build: 2010/03/28 15:20:05 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 192.168.2.1 am Interface wlan0 vorliegen !!! CND0230W: IPV6 ist eingeschaltet !!! 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 linux-bfei 2.6.31.12-0.2-desktop #1 SMP PREEMPT 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-bfei.site linux-bfei ================================================================================================================== *** 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 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 192.168.2.1 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: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:112 errors:0 dropped:0 overruns:0 frame:0 TX packets:112 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:0 RX bytes:7584 (7.4 Kb) TX bytes:7584 (7.4 Kb) wlan0 Link encap:Ethernet Hardware Adresse ##:##:##:##:##:#2 inet Adresse:192.168.2.101 Bcast:192.168.2.255 Maske:255.255.255.0 inet6 Adresse: fe80::226:5eff:fe46:c8ef/64 Gültigkeitsbereich:Verbindung UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:533 errors:0 dropped:0 overruns:0 frame:0 TX packets:136 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:1000 RX bytes:165167 (161.2 Kb) TX bytes:16854 (16.4 Kb) wmaster0 Link encap:UNSPEC Hardware Adresse 00-26-5E-46-C8-EF-34-36-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 failed 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 0x76d4ac2f debug, eth0: waiting for 3 seconds info, eth0: exiting ================================================================================================================== *** lspci 02:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5784M Gigabit Ethernet PCIe [14e4:1698] (rev 10) 04:00.0 Network controller [0280]: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) [168c:002a] (rev 01) ================================================================================================================== *** 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 002 Device 003: ID 1845:0104 Bus 002 Device 004: ID 04f2:b044 Chicony Electronics Co., Ltd 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 Bus 005 Device 002: ID 15d9:0a37 Unknown Mouse 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 Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub ================================================================================================================== *** hwinfo (filtered) 29: PCI 200.0: 0200 Ethernet controller Model: "Broadcom NetLink BCM5784M Gigabit Ethernet PCIe" Vendor: pci 0x14e4 "Broadcom" Device: pci 0x1698 "NetLink BCM5784M Gigabit Ethernet PCIe" SubVendor: pci 0x1025 "Acer Incorporated [ALI]" SubDevice: pci 0x0207 Driver: "tg3" Driver Modules: "tg3" Device File: eth0 Link detected: no Driver Status: tg3 is active Driver Activation Cmd: "modprobe tg3" 30: PCI 400.0: 0282 WLAN controller Model: "Atheros AR928X Wireless Network Adapter (PCI-Express)" Vendor: pci 0x168c "Atheros Communications Inc." Device: pci 0x002a "AR928X Wireless Network Adapter (PCI-Express)" SubVendor: pci 0x105b "Foxconn International, Inc." SubDevice: pci 0xe006 Driver: "ath9k" Driver Modules: "ath9k" Device File: wlan0 Link detected: yes Driver Status: ath9k is active Driver Activation Cmd: "modprobe ath9k" ================================================================================================================== *** lsmod # (filtered) | ac | acer_wmi | acpi_cpufreq | aead | aes_generic | | aes_i586 | af_packet | arc4 | ath | ath9k | | battery | cfg80211 | cpufreq_conservative| cpufreq_powersave| cpufreq_userspace | | crc16 | ecb | edd | fscache | fuse | | i2c_i801 | intel_agp | ip6t_LOG | ip6t_REJECT | iptable_raw | | iTCO_vendor_support| iTCO_wdt | jbd2 | mac80211 | nf_conntrack_ipv4 | | nf_conntrack_netbios_ns| pcompress | rfkill | serio_raw | sg | | snd_hda_codec | snd_hda_codec_atihdmi| snd_hda_codec_realtek| snd_hda_intel | snd_hwdep | | snd_seq_device | speedstep_lib | sr_mod | tg3 | thermal | | thermal_sys | uvcvideo | v4l1_compat | video | wmi | | xt_limit | xt_NOTRACK | 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 BCM5784M Gigabit Ethernet PCIe' NETMASK='' NETWORK='' REMOTE_IPADDR='' STARTMODE='auto' USERCONTROL='no' --- /etc/sysconfig/network/ifcfg-wlan0 BOOTPROTO='dhcp' BROADCAST='' ETHTOOL_OPTIONS='' IPADDR='' MTU='' NAME='AR928X Wireless Network Adapter (PCI-Express)' 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.11bgn ESSID:"E#s#B#x#8#8#3#" Mode:Managed Frequency:2.412 GHz Access Point: ##:##:##:##:##:#3 Bit Rate=1 Mb/s Tx-Power=20 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:@@ @@@-@@@@-@@@@-@@@@-@@@@-@@@@@@@ [2] Power Management:on Link Quality=43/70 Signal level=-67 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 14:06:40 2010-04-05 ================================================================================================================== *** grep -i radio /var/log/messages* | tail -n 5 ================================================================================================================== *** dmesg | grep -i radio | tail -n 5 [ 8.335253] Registered led device: ath9k-phy0::radio ================================================================================================================== *** tail -n 300 /var/log/messages* | /usr/bin/grep -i firmware | tail -n 5 ================================================================================================================== *** ls /lib/firmware/* | 2.6.31.12-0.2-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 | ================================================================================================================== *** 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:1 Quality=8/70 Signal level=-102 dBm Encryption key:on ESSID:"E#s#B#x#8#8#3#" IE: IEEE 802.11i/WPA2 Version 1 ================================================================================================================== *** NWElizaStates IF:eth0 IM:1 IF:wlan0 IM:2 DI:2 AP:1 NIC:0 cNiC:2:0 NI:0 cNI:0 PNG:1 DR:1 MTU:0 NISS:0 IP6:1 KM:1 WLW:0 RTDT:SuSE [/code]