[code] collectNWData.sh V0.7.5.8 2016-05-22/17:35:50 - 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 ... !!! CND0540W: Messages wurden am Netzwerkinterface wlan0 verworfen !!! CND0310W: Klassische Netzwerkkonfiguration mit ifup wurde entdeckt. Die Konfiguration mit networkmanager ist einfacher !!! 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 marvin3 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='dhcp' STARTMODE='ifplugd' DHCLIENT_SET_DEFAULT_ROUTE='yes' IFPLUGD_PRIORITY='0' --- /etc/sysconfig/network/ifcfg-wlan0 BOOTPROTO='static' IPADDR='192.168.123.1/24' NAME=@@@@@@ STARTMODE='hotplug' WIRELESS_AP_SCANMODE='1' WIRELESS_AUTH_MODE='psk' WIRELESS_BITRATE='auto' WIRELESS_DEFAULT_KEY=@@@@@@ WIRELESS_ESSID=@@@@@@ WIRELESS_KEY_LENGTH=@@@@@@ WIRELESS_MODE='Managed' WIRELESS_POWER='no' WIRELESS_WPA_PSK=@@@@@@ ===== ping tests ================================================================================================= Ping of 8.8.8.8 OK Ping of www.google.com OK ===== cat /etc/resolv | grep -i "nameserver" ===================================================================== nameserver 192.168.123.252 ===== cat /etc/hosts ============================================================================================= 127.0.0.1 localhost 192.168.123.1 Marvin3 Marvin3 ===== (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.123.252 0.0.0.0 UG 0 0 0 wlan0 192.168.123.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0 Kernel IPv6 Routentabelle Ziel Nächster Hop Flags Metric Ref Benutzer Iface ===== ifconfig (filtered for en|wl|eth|wlan|ra|ath|dsl|ppp) ====================================================== 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) wlan0 Link encap:Ethernet Hardware Adresse ##:##:##:##:##:#2 inet Adresse:192.168.123.1 Bcast:192.168.123.255 Maske:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:16284 errors:0 dropped:12 overruns:0 frame:0 TX packets:9075 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:1000 RX bytes:19353255 (18.4 Mb) TX bytes:989177 (965.9 Kb) ===== lspci ====================================================================================================== 02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 01) Subsystem: Foxconn International, Inc. Device [105b:8168] Kernel driver in use: r8169 ===== lsusb | grep -v "root hub" ================================================================================= Bus 001 Device 009: ID 18e3:7102 Fitipower Integrated Technology Inc Multi Card Reader (Internal) Bus 001 Device 011: ID 057c:8401 AVM GmbH Fritz!WLAN N [Atheros AR9001U] Bus 001 Device 016: ID 1bcf:0c31 Sunplus Innovation Technology Inc. SPIF30x Serial-ATA bridge Bus 001 Device 015: ID 13fd:2040 Initio Corporation Bus 001 Device 010: ID 04a9:220e Canon, Inc. CanoScan N1240U/LiDE 30 Bus 001 Device 008: ID 046d:c52b Logitech, Inc. Unifying Receiver Bus 001 Device 006: ID 04b4:8081 Cypress Semiconductor Corp. Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB ===== hwinfo (filtered) ========================================================================================== 28: 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 0x105b "Foxconn International, Inc." SubDevice: pci 0x8168 Driver: "r8169" Driver Modules: "r8169" Device File: eth0 Link detected: no Driver Status: r8169 is active Driver Activation Cmd: "modprobe r8169" 45: USB 00.0: 0282 WLAN controller Model: "AVM Fritz!WLAN N [Atheros AR9001U]" Vendor: usb 0x057c "AVM GmbH" Device: usb 0x8401 "Fritz!WLAN N [Atheros AR9001U]" Driver: "carl9170" Driver Modules: "carl9170" Device File: wlan0 Link detected: yes Driver Status: carl9170 is active Driver Activation Cmd: "modprobe carl9170" ===== lsmod (filtered) =========================================================================================== | af_packet | ahci | amd_iommu_v2 | amdkfd | ansi_cprng | | arc4 | ath | carl9170 | ccm | cfg80211 | | ctr | drbg | drm | drm_kms_helper | edac_core | | edac_mce_amd | ehci_hcd | ehci_pci | fb_sys_fops | fjes | | grace | hid_generic | hid_logitech_dj | hid_logitech_hidpp| i2c_algo_bit | | i2c_piix4 | irqbypass | iscsi_boot_sysfs| iscsi_ibft | ite_cir | | jbd2 | k8temp | kvm | libahci | libata | | mac80211 | mbcache | mii | ohci_hcd | ohci_pci | | powernow_k8 | r8169 | rc_core | rfkill | scsi_mod | | sd_mod | serio_raw | sg | shpchp | sp5100_tco | | sr_mod | syscopyarea | sysfillrect | sysimgblt | ttm | | uas | usb_common | usb_storage | ===== iwconfig =================================================================================================== eth0 no wireless extensions. wlan0 IEEE 802.11abgn ESSID:"§§§§§§§§1" Mode:Managed Frequency:5.2 GHz Access Point: ##:##:##:##:##:#3 Bit Rate=120 Mb/s Tx-Power=20 dBm Retry short limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=47/70 Signal level=-63 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:57 Invalid misc:21 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 | atmsar11.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:YES networkmanager:NO nm-applet:NO ===== Active WPA processes ======================================================================================= /usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u -f /var/log/wpa_supplicant.log ===== ===== egrep -i "^[^#].*(persistent|networkmanager)" /etc/sysconfig/network/config ========================== ===== Actual date for bias of following greps ==================================================================== 18:48:35 2017-05-01 ===== 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" ===== 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 ================================================================================================================== *** NWElizaStates PNIN:1 CFR:1 IF:eth0 IM:2 IF:wlan0 IM:1 DI:2 AP:0 FALON:1 NIC:0 cNiC:2:0 NI:0 cNI:0 PNG:0 DNS:0 MTU:0 NISS:0 IP6:0 KM:0 1 WLW:0 RTDT:SuSE GUI:0 UID:0 [/code]