[code] collectNWData.sh V0.6.2.0 (Rev: 1.193, Build: 2010/01/20 21:22:30 UTC) --- Welcher Netzwerkverbindungtyp soll getestet werden? --- (2) Kabellose Verbindung (WLAN) --- Welche Netzwerktopologie liegt vor? --- (2) WLAN HW router <---> LinuxClient --- Auf welchem Rechner wird das Script ausgefuehrt? --- (1) LinuxClient !!! CND0300E: Keinen dhcp Server am Interface wlan0 gefunden !!! CND0310W: Klassische Netzwerkkonfiguration mit ifup wurde entdeckt. Die Konfiguration mit knetworkmanager ist wesentlich einfacher --- 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-6ykz 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 x86_64 x86_64 x86_64 GNU/Linux ================================================================================================================== *** cat /etc/*[-_]release || cat /etc/*[-_]version /etc/SuSE-release openSUSE 11.2 (x86_64) VERSION = 11.2 ================================================================================================================== *** cat /etc/resolv | grep -i "nameserver" ================================================================================================================== *** cat /etc/hosts 127.0.0.1 localhost 127.0.0.2 linux-6ykz.site linux-6ykz ================================================================================================================== *** route Kernel IP Routentabelle Ziel Router 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 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:28 Basisadresse:0xc000 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:116 errors:0 dropped:0 overruns:0 frame:0 TX packets:116 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:0 RX bytes:7864 (7.6 Kb) TX bytes:7864 (7.6 Kb) wlan0 Link encap:Ethernet Hardware Adresse ##:##:##:##:##:#2 inet6 Adresse: fe80::222:75ff:fe3b:f951/64 Gültigkeitsbereich:Verbindung UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:44 errors:0 dropped:0 overruns:0 frame:0 TX packets:49 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:1000 RX bytes:7824 (7.6 Kb) TX bytes:16056 (15.6 Kb) wmaster0 Link encap:UNSPEC Hardware Adresse 00-22-75-3B-F9-51-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 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 ================================================================================================================== *** lspci 02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 02) ================================================================================================================== *** lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 050d:815c Belkin Components Bus 001 Device 005: ID 0781:5151 SanDisk Corp. Cruzer Micro Flash Drive 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 003 Device 002: ID 046d:c045 Logitech, Inc. Optical Mouse Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 002: ID 045e:028e Microsoft Corp. Xbox360 Controller 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) 33: PCI 200.0: 0200 Ethernet controller Model: "Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller" Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd." Device: pci 0x8168 "RTL8111/8168B PCI Express Gigabit Ethernet controller" SubVendor: pci 0x1458 "Giga-byte Technology" SubDevice: pci 0xe000 "GA-EP45-DS5 Motherboard" Driver: "r8169" Driver Modules: "r8169" Device File: eth0 Link detected: no Driver Status: r8169 is active Driver Activation Cmd: "modprobe r8169" 43: USB 00.0: 0282 WLAN controller Model: "Belkin F5D8053 N Wireless USB Adapter" Vendor: usb 0x050d "Belkin Components" Device: usb 0x815c "F5D8053 N Wireless USB Adapter" 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" ================================================================================================================== *** lsmod # (filtered) | aead | af_packet | amd64_edac_mod | arc4 | atiixp | | cfg80211 | cpufreq_conservative| cpufreq_powersave| cpufreq_userspace| crc16 | | crc_ccitt | drm | ecb | edac_core | edd | | fat | floppy | fuse | i2c_piix4 | ieee1394 | | input_polldev | jbd2 | mac80211 | nls_cp437 | nls_iso8859_1 | | ohci1394 | pata_atiixp | pcompress | powernow_k8 | ppdev | | r8169 | radeon | rfkill | rt2800usb | rt2870sta | | rt2x00lib | rt2x00usb | sg | snd_hda_codec | snd_hda_codec_atihdmi | | snd_hda_codec_realtek| snd_hda_intel | snd_hwdep | snd_seq_device | sr_mod | | thermal | thermal_sys | vfat | wmi | xpad | ================================================================================================================== *** cat /etc/sysconfig/network/ifcfg-wlan0 | egrep -v ".*=''" BOOTPROTO='dhcp' NAME='F5D8053 N Wireless USB Adapter' STARTMODE='hotplug' USERCONTROL='no' WIRELESS_AUTH_MODE='sharedkey' WIRELESS_BITRATE='auto' WIRELESS_DEFAULT_KEY='0' WIRELESS_ESSID='T#o#s#n#4#6#9' WIRELESS_KEY_0='DEC9B73801' WIRELESS_KEY_LENGTH='@@@@@@' WIRELESS_MODE='Managed' WIRELESS_POWER='yes' ================================================================================================================== *** iwconfig lo no wireless extensions. eth0 no wireless extensions. wmaster0 no wireless extensions. wlan0 IEEE 802.11bgn ESSID:"T#o#s#n#4#6#9" Mode:Managed Frequency:2.412 GHz Access Point: ##:##:##:##:##:#3 Bit Rate=1 Mb/s Tx-Power=15 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:@@ @@@-@@@@-@@@@-@@@@-@@@@-@@@@@@@ Power Management:on Link Quality=70/70 Signal level=39 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 20:13:10 2010-02-12 ================================================================================================================== *** grep -i radio /var/log/messages* | tail -n 5 Feb 12 19:46:45 linux-6ykz kernel: [11971.918111] Registered led device: rt2800usb-phy1::radio ================================================================================================================== *** dmesg | grep -i radio | tail -n 5 [ 6.140805] Registered led device: rt2800usb-phy0::radio ================================================================================================================== *** tail -n 300 /var/log/messages* | /usr/bin/grep -i firmware | tail -n 5 Feb 12 20:06:45 linux-6ykz kernel: [ 20.012178] rt2800usb 1-3:1.0: firmware: requesting rt2870.bin ================================================================================================================== *** ls /lib/firmware/* | 2.6.31.5-0.1-desktop | 3com | 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 | cpia2 | | cxgb3 | dabusb | dsp56k | dvb-fe-xc5000-1.6.114.fw | | e100 | 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 | libertas | LICENCE.agere | | LICENCE.atheros_firmware| LICENCE.i2400m | LICENCE.iwlwifi_firmware| LICENCE.libertas | | LICENCE.mwl8k | LICENCE.qla2xxx | LICENCE.ralink-firmware.txt| LICENCE.xc5000 | | mts_cdma.fw | mts_edge.fw | mts_gsm.fw | mwl8k | | myricom | ositech | 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 | 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:NO nm-applet:NO ================================================================================================================== *** egrep -i "persistent|networkmanager" /etc/sysconfig/network/config | grep -v "^#|^$" NETWORKMANAGER="no" ================================================================================================================== *** 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=70/70 Signal level=40 dBm Encryption key:on ESSID:"T#o#s#n#4#6#9" Channel:6 Quality=70/70 Signal level=-184 dBm Encryption key:off ESSID:"H#a#e# #5#3#" ================================================================================================================== *** NWElizaStates IF:eth0 IM:1 IF:wlan0 IM:2 DI:2 AP:1 dI:0 NIC:1 cNiC:2:1 NI:2 cNI:2 NIW:wlan0-0 DHCP:2 CM:0 IP6:0 KM:0 WLW:0 RTDT:SuSE [/code]