[code] collectNWData.sh V0.7.5.8 2016/05/22/15:43:21 - e8982e6 This program comes with ABSOLUTELY NO WARRANTY; This is free software, and you are welcome to redistribute it under certain conditions --- Welcher Netzwerkverbindungtyp soll getestet werden? --- (1) Kabellose Verbindung (WLAN) --- Welche Netzwerktopologie liegt vor? --- (1) WLAN access point <---> LinuxClient --- Auf welchem Rechner wird das Script ausgeführt? --- (1) LinuxClient --- WLAN SSID zu der verbunden werden soll: §§§§§§§§1 --- NWCollect sammelt Netzwerkkonfigurationsinformationen in Datei collectNWData.txt ... --- NWEliza untersucht das System nach häufigen Netzwerkkonfigurationsfehlern ... !!! CND0120E: Die Netzwerkkarte wlan0 hat keine IP Adresse !!! CND0290E: Keine Netzwerkkonfiguration für Interface wlan0 gefunden !!! CND0490E: Kein Accesspoint mit der benutzen SSID auf dem Interface wlan0 gefunden !!! CND0380E: Es wurden keine WLANs am Interface wlan0 gefunden. Die Hardware und/oder Treiber ist nicht richtig konfiguriert !!! CND0310W: Klassische Netzwerkkonfiguration mit ifup wurde entdeckt. Die Konfiguration mit networkmanager ist einfacher !!! CND0360E: Eine drahtlose Verbindung wurde getestet obwohl eine kabelgebundene Verbindung am Interface eth0 existiert . Das Netzwerkkabel ausstecken und das Script noch einmal starten !!! CND0450W: WLAN Schlüsselmaskierung ist nicht vollständig auf dieser Distribution getestet. Bitte das Ausgabefile collectNWData.txt nach sichtbaren WLAN Schlüsseln absuchen und manuell maskieren --- 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/os-release /etc/SuSE-release NAME="openSUSE Leap" VERSION="42.2" ID=opensuse ID_LIKE="suse" VERSION_ID="42.2" PRETTY_NAME="openSUSE Leap 42.2" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:leap:42.2" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" openSUSE 42.2 (x86_64) VERSION = 42.2 CODENAME = Malachite # /etc/SuSE-release is deprecated and will be removed in the future, use /etc/os-release instead ===== uname -a =================================================================================================== Linux hostname 4.4.57-18.3-default #1 SMP Thu Mar 30 06:39:47 UTC 2017 (39c8557) x86_64 x86_64 x86_64 GNU/Linux ===== cat /etc/sysconfig/network/ifcfg-[earwd]* | grep -v "^#|^$" | grep -v "=''" ================================ --- /etc/sysconfig/network/ifcfg-eth0 BOOTPROTO='none' STARTMODE='auto' DHCLIENT_SET_DEFAULT_ROUTE='yes' ===== ping tests ================================================================================================= Ping of 8.8.8.8 OK Ping of www.google.com OK ===== cat /etc/resolv | grep -i "nameserver" ===================================================================== nameserver 192.168.0.19 ===== cat /etc/hosts ============================================================================================= 127.0.0.1 localhost [ .. entfernt .. ] ===== (route -n && route -A inet6 -n) | egrep "(en|wl|eth|ath|ra|wlan|dsl|ppp)" ================================== Kernel IP Routentabelle Ziel Router Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.0.XX 0.0.0.0 UG 100 0 0 eth0 192.168.0.0 0.0.0.0 255.255.255.0 U 100 0 0 eth0 Kernel IPv6 Routentabelle Ziel Nächster Hop Flags Metric Ref Benutzer Iface fe80::/64 :: U 256 0 0 eth0 ff00::/8 :: U 256 116 7 eth0 ===== ifconfig (filtered for en|wl|eth|wlan|ra|ath|dsl|ppp) ====================================================== eth0 Link encap:Ethernet Hardware Adresse ##:##:##:##:##:#1 inet Adresse:192.168.0.213 Bcast:192.168.0.255 Maske:255.255.255.0 inet6 Adresse: fe80::468a:5bff:fe58:79e8/64 Gültigkeitsbereich:Verbindung UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:242917 errors:0 dropped:0 overruns:0 frame:0 TX packets:173294 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:1000 RX bytes:296319117 (282.5 Mb) TX bytes:17338518 (16.5 Mb) ===== lspci ====================================================================================================== 02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06) Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7816] Kernel driver in use: r8169 ===== lsusb | grep -v "root hub" ================================================================================= Bus 002 Device 002: ID 8087:8000 Intel Corp. Bus 001 Device 002: ID 8087:8008 Intel Corp. Bus 003 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) Bus 003 Device 003: ID 0738:1705 Mad Catz, Inc. Bus 003 Device 014: ID 06f8:e031 Guillemot Corp. Hercules HWNUm-300 Wireless N mini [Realtek RTL8191SU] Bus 003 Device 011: ID 0a5c:2157 Broadcom Corp. Bus 003 Device 010: ID 0a5c:4503 Broadcom Corp. Mouse (Boot Interface Subclass) Bus 003 Device 009: ID 0a5c:4502 Broadcom Corp. Keyboard (Boot Interface Subclass) Bus 003 Device 007: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth) Bus 003 Device 006: ID 10d6:1101 Actions Semiconductor Co., Ltd D-Wave 2GB MP4 Player / AK1025 MP3/MP4 Player Bus 003 Device 002: ID 04cc:1520 ST-Ericsson USB 2.0 Hub (Avocent KVM) ===== hwinfo (filtered) ========================================================================================== 22: PCI 200.0: 0200 Ethernet controller Model: "Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller" Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd." Device: pci 0x8168 "RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller" SubVendor: pci 0x1462 "Micro-Star International Co., Ltd. [MSI]" SubDevice: pci 0x7816 Driver: "r8169" Driver Modules: "r8169" Device File: eth0 Link detected: yes Driver Status: r8169 is active Driver Activation Cmd: "modprobe r8169" 41: USB 00.0: 0282 WLAN controller Model: "Guillemot Hercules HWNUm-300 Wireless N mini [Realtek RTL8191SU]" Vendor: usb 0x06f8 "Guillemot Corp." Device: usb 0xe031 "Hercules HWNUm-300 Wireless N mini [Realtek RTL8191SU]" Driver: "r8712u" Driver Modules: "r8712u" Device File: wlan0 Driver Status: r8712u is active Driver Activation Cmd: "modprobe r8712u" Driver Status: hdj_mod is active Driver Activation Cmd: "modprobe hdj_mod" ===== lsmod (filtered) =========================================================================================== | ablk_helper | aesni_intel | aes_x86_64 | af_packet | ahci | | ansi_cprng | bnep | cfg80211 | coretemp | drbg | | drm | drm_kms_helper | ebtable_filter | ebtables | efivarfs | | ehci_hcd | ehci_pci | fb_sys_fops | fjes | gf128mul | | ghash_clmulni_intel| glue_helper | hdj_mod | hid_generic | hid_saitek | | i2c_algo_bit | i2c_i801 | i915 | intel_powerclamp| intel_rapl | | intel_smartconnect| ip_tables | irqbypass | jbd2 | kvm | | kvm_intel | libahci | libata | lp | lpc_ich | | lrw | mbcache | mei | mei_me | mfd_core | | mii | mxm_wmi | ppdev | r8169 | r8712u | | rfcomm | rfkill | sata_via | scsi_mod | sd_mod | | serio_raw | sg | shpchp | sr_mod | st | | syscopyarea | sysfillrect | sysimgblt | tpm_infineon | uas | | uinput | usb_common | usb_storage | wmi | xfs | | xhci_hcd | xhci_pci | ===== iwconfig =================================================================================================== eth0 no wireless extensions. wlan0 unassociated Nickname:"rtl_wifi" Mode:Auto Access Point: Not-Associated Sensitivity:0/0 Retry:off 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 ===== ls /lib/firmware/*.{fw,ucode,bin} ========================================================================== | agere_ap_fw.bin | agere_sta_fw.bin | ar5523.bin | ar7010.fw | | ar7010_1_1.fw | ar9170-1.fw | ar9170-2.fw | ar9271.fw | | ast_dp501_fw.bin | ath3k-1.fw | bnx2x-e1-4.8.53.0.fw | bnx2x-e1-5.2.13.0.fw | | bnx2x-e1-5.2.7.0.fw | bnx2x-e1h-4.8.53.0.fw | bnx2x-e1h-5.2.13.0.fw | bnx2x-e1h-5.2.7.0.fw | | carl9170-1.fw | cbfw-3.2.1.1.bin | cbfw-3.2.3.0.bin | cbfw-3.2.5.1.bin | | ct2fw-3.2.1.1.bin | ct2fw-3.2.3.0.bin | ct2fw-3.2.5.1.bin | ctfw-3.2.1.1.bin | | ctfw-3.2.3.0.bin | ctfw-3.2.5.1.bin | dvb-fe-xc4000-1.4.1.fw | dvb-fe-xc5000-1.6.114.fw | | dvb-fe-xc5000c-4.1.30.7.fw| dvb-usb-dib0700-1.20.fw | dvb-usb-it9135-01.fw | dvb-usb-it9135-02.fw | | dvb-usb-terratec-h5-drxk.fw| f2255usb.bin | hfi1_dc8051.fw | hfi1_fabric.fw | | hfi1_pcie.fw | hfi1_sbus.fw | htc_7010.fw | htc_9271.fw | | intelliport2.bin | iwlwifi-100-5.ucode | iwlwifi-1000-3.ucode | iwlwifi-1000-5.ucode | | iwlwifi-105-6.ucode | iwlwifi-135-6.ucode | iwlwifi-2000-6.ucode | iwlwifi-2030-6.ucode | | iwlwifi-3160-10.ucode | iwlwifi-3160-12.ucode | iwlwifi-3160-13.ucode | iwlwifi-3160-16.ucode | | iwlwifi-3160-7.ucode | iwlwifi-3160-8.ucode | iwlwifi-3160-9.ucode | iwlwifi-3168-21.ucode | | iwlwifi-3945-2.ucode | iwlwifi-4965-2.ucode | iwlwifi-5000-1.ucode | iwlwifi-5000-2.ucode | | iwlwifi-5000-5.ucode | iwlwifi-5150-2.ucode | iwlwifi-6000-4.ucode | iwlwifi-6000g2a-5.ucode | | iwlwifi-6000g2a-6.ucode | iwlwifi-6000g2b-5.ucode | iwlwifi-6000g2b-6.ucode | iwlwifi-6050-4.ucode | | iwlwifi-6050-5.ucode | iwlwifi-7260-10.ucode | iwlwifi-7260-12.ucode | iwlwifi-7260-13.ucode | | iwlwifi-7260-16.ucode | iwlwifi-7260-7.ucode | iwlwifi-7260-8.ucode | iwlwifi-7260-9.ucode | | iwlwifi-7265-10.ucode | iwlwifi-7265-12.ucode | iwlwifi-7265-13.ucode | iwlwifi-7265-16.ucode | | iwlwifi-7265-8.ucode | iwlwifi-7265-9.ucode | iwlwifi-7265D-10.ucode | iwlwifi-7265D-12.ucode | | iwlwifi-7265D-13.ucode | iwlwifi-7265D-16.ucode | iwlwifi-7265D-21.ucode | iwlwifi-8000C-13.ucode | | iwlwifi-8000C-16.ucode | iwlwifi-8000C-21.ucode | iwlwifi-8265-21.ucode | lbtf_usb.bin | | lgs8g75.fw | mt7601u.bin | mt7650.bin | mts_mt9234mu.fw | | mts_mt9234zba.fw | phanfw.bin | qat_895xcc.bin | qat_895xcc_mmp.bin | | qat_c3xxx.bin | qat_c3xxx_mmp.bin | qat_c62x.bin | qat_c62x_mmp.bin | | qat_mmp.bin | ql2100_fw.bin | ql2200_fw.bin | ql2300_fw.bin | | ql2322_fw.bin | ql2400_fw.bin | ql2500_fw.bin | ql2600_fw.bin | | ql2700_fw.bin | ql8300_fw.bin | rp2.fw | rsi_91x.fw | | rt2561.bin | rt2561s.bin | rt2661.bin | rt2860.bin | | rt2870.bin | rt3070.bin | rt3071.bin | rt3090.bin | | rt3290.bin | rt73.bin | s2250.fw | s2250_loader.fw | | s5p-mfc-v6-v2.fw | s5p-mfc-v6.fw | s5p-mfc-v7.fw | s5p-mfc-v8.fw | | s5p-mfc.fw | sdd_sagrad_1091_1098.bin| sms1xxx-hcw-55xxx-dvbt-02.fw| sms1xxx-hcw-55xxx-isdbt-02.fw | | sms1xxx-nova-a-dvbt-01.fw| sms1xxx-nova-b-dvbt-01.fw| sms1xxx-stellar-dvbt-01.fw| tlg2300_firmware.bin | | tr_smctr.bin | usbdux_firmware.bin | usbduxfast_firmware.bin | usbduxsigma_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-cx25840.fw | vntwusb.fw | wsm_22.bin | ===== iwlist scanning (filtered) ================================================================================= No WLANs found ===== ndiswrapper -l ============================================================================================= No ndiswrapper module loaded ===== Active processes =========================================================================================== wpa_supplicant:NO networkmanager:YES nm-applet:NO ===== ===== egrep -i "^[^#].*(persistent|networkmanager)" /etc/sysconfig/network/config ========================== ===== Actual date for bias of following greps ==================================================================== 17:47:35 2017-04-14 ===== grep -i radio /var/log/syslog | tail -n 5 ================================================================== /usr/bin/grep: /var/log/syslog: Datei oder Verzeichnis nicht gefunden ===== dmesg | grep -i radio | tail -n 5 ========================================================================== ===== tail -n 300 /var/log/syslog | /usr/bin/grep -i firmware | tail -n 10 ======================================= tail: '/var/log/syslog' kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden ===== egrep 'en|wl|eth|ath|wlan|ra|ppp' /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{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0" /etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="##:##:##:##:##:#1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" /etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="##:##:##:##:##:#3", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1" ===== egrep -r '(en.*|wl.*|eth|ath|wlan|ra)[0-9]+' /etc/modprobe.*|egrep -v -i '#|blacklist' ===================== /etc/modprobe.d/50-iwl3945.conf:options iwl3945 disable_hw_scan=1 /etc/modprobe.d/r8712u.conf:options r8712u low_power=1 power_mgnt=0 ht_enable=0 ================================================================================================================== *** NWElizaStates PNIN:1 CFR:1 IF:eth0 IM:2 IF:wlan0 IM:1 DI:2 AP:0 FALON:1 NIC:1 cNiC:2:1 NI:2 cNI:2 NIW:wlan0-1 NDIS:0 CM:0 IP6:0 KM:0 1 WLW:eth0 1 RTDT:SuSE GUI:0 UID:0 [/code]