[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 --- Which type of your network connection should be tested? --- (2) Wired connection --- What's the type of networktopology? --- (2) DSL HW router <---> LinuxClient --- On which host is the script executed? --- (1) LinuxClient --- NWCollect is collecting networkconfiguration information into file collectNWData.txt ... --- NWEliza is analyzing the system for common network configuration errors ... !!! CND0120E: Network card eth0 has no IP address !!! CND0310W: Classic network configuration with ifup was detected. Configuration with networkmanager is easier --- Go to http://www.linux-tips-and-tricks.de/CND to get more detailed instructions --- about the error/warning messages and how to fix the problems on your own. --- If you are unsuccessful then place the contents of file collectNWData.txt in the net --- (see http://www.linux-tips-and-tricks.de/CND_UPL for links) --- and then paste the nopaste link on your favorite Linux forum. ================================================================================================================== ===== cat /etc/*[-_]release || cat /etc/*[-_]version ============================================================= /etc/os-release /etc/SuSE-release NAME="openSUSE Leap" VERSION="42.1" VERSION_ID="42.1" PRETTY_NAME="openSUSE Leap 42.1 (x86_64)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:42.1" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://opensuse.org/" ID_LIKE="suse" openSUSE 42.1 (x86_64) VERSION = 42.1 CODENAME = Malachite # /etc/SuSE-release is deprecated and will be removed in the future, use /etc/os-release instead ===== uname -a =================================================================================================== Linux Kellermonster 4.1.21-14-default #1 SMP PREEMPT Sun Apr 17 07:27:45 UTC 2016 (fc187c1) 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.2.1 ===== cat /etc/hosts ============================================================================================= 127.0.0.1 localhost ===== (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 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 RUNNING MULTICAST MTU:1500 Metric:1 RX packets:16177 errors:0 dropped:0 overruns:0 frame:0 TX packets:13559 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:1000 RX bytes:10358407 (9.8 Mb) TX bytes:1963309 (1.8 Mb) ===== lspci ====================================================================================================== 03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15) Subsystem: ASUSTeK Computer Inc. Device [1043:8677] Kernel driver in use: r8169 ===== lsusb | grep -v "root hub" ================================================================================= ===== hwinfo (filtered) ========================================================================================== 21: PCI 300.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 0x1043 "ASUSTeK Computer Inc." SubDevice: pci 0x8677 Driver: "r8169" Driver Modules: "r8169" Device File: eth0 Link detected: yes Driver Status: r8169 is active Driver Activation Cmd: "modprobe r8169" ===== lsmod (filtered) =========================================================================================== | 8250_fintek | ablk_helper | aesni_intel | aes_x86_64 | af_packet | | binfmt_misc | bnep | br_netfilter | cfg80211 | coretemp | | drm | drm_kms_helper | ebtable_filter | ebtables | eeepc_wmi | | efivarfs | gf128mul | glue_helper | i2c_algo_bit | i2c_hid | | i2c_i801 | i915 | ip_tables | iscsi_boot_sysfs| iscsi_ibft | | kvm | kvm_intel | llc | lrw | md_mod | | mii | mxm_wmi | nfnetlink | nfnetlink_log | nfnetlink_queue | | ppdev | r8169 | rfkill | serio_raw | sg | | shpchp | sparse_keymap | stp | tpm | tpm_tis | | usb_common | wmi | xfs | xhci_hcd | xhci_pci | ===== 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}=="##:##:##:##:##:#1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" ================================================================================================================== *** NWElizaStates PNIN:1 CFR:1 IF:eth0 IM:2 DI:1 FALON:1 NIC:1 cNiC:1:1 NI:2 cNI:2 DHCP:0 NIWD:0 CM:0 IP6:0 KM:0 1 WLW:0 RTDT:SuSE GUI:0 UID:0 [/code]