Advertisement
Guest User

collectNWData.sh

a guest
Jan 22nd, 2012
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.06 KB | None | 0 0
  1. code]
  2. collectNWData.sh V0.6.5.4.9 (Rev: 1.305C, Build: 2012-01-09 17:49:01 UTC)
  3. --- Which type of your network connection should be tested?
  4. --- (2) Wireless connection (WLAN)
  5. --- What's the type of networktopology?
  6. --- (2) WLAN HW router <---> LinuxClient
  7. --- On which host is the script executed?
  8. --- (1) LinuxClient
  9. --- WLAN SSID to connect to: §§§§§§§§1
  10.  
  11. --- NWEliza is analyzing the system for common network configuration errors ...
  12.  
  13. !!! CND0120E: Network card wlan0 has no IP address
  14. !!! CND0490E: No access point with your SSID detected on interface wlan0
  15. !!! CND0240E: networkmanager for network configuration enabled but a YAST network card configuration for wlan0 exist
  16.  
  17. --- Go to http://www.linux-tips-and-tricks.de/CND to get more detailed instructions
  18. --- about the error/warning messages and how to fix the problems on your own.
  19.  
  20. --- If you are unsuccessful then place the contents of file collectNWData.txt in the net
  21. --- (see http://www.linux-tips-and-tricks.de/CND_UPL for links)
  22. --- and then paste the nopaste link on your favorite Linux forum.
  23.  
  24. ==================================================================================================================
  25. ===== cat /etc/*[-_]release || cat /etc/*[-_]version =============================================================
  26. /etc/os-release
  27. /etc/SuSE-release
  28. NAME=openSUSE
  29. VERSION = 12.1 (Asparagus)
  30. VERSION_ID="12.1"
  31. PRETTY_NAME="openSUSE 12.1 (Asparagus) (i586)"
  32. ID=opensuse
  33. openSUSE 12.1 (i586)
  34. VERSION = 12.1
  35. CODENAME = Asparagus
  36. ===== uname -a ===================================================================================================
  37. Linux linux-9s28.site 3.1.0-1.2-desktop #1 SMP PREEMPT Thu Nov 3 14:45:45 UTC 2011 (187dde0) i686 i686 i386 GNU/Linux
  38. ===== lspci ======================================================================================================
  39. 02:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
  40. Subsystem: Lenovo Device [17aa:30a1]
  41. Kernel driver in use: ath9k
  42. 03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
  43. Subsystem: Lenovo Device [17aa:3975]
  44. Kernel driver in use: r8169
  45. ===== lsusb | grep -v "root hub" =================================================================================
  46. Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
  47. Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
  48. Bus 001 Device 003: ID 046d:c068 Logitech, Inc. G500 Laser Mouse
  49. Bus 001 Device 004: ID 04f2:b272 Chicony Electronics Co., Ltd
  50. Bus 002 Device 003: ID 1c7a:0603 LighTuning Technology Inc.
  51. Bus 002 Device 004: ID 0bda:0139 Realtek Semiconductor Corp.
  52. ===== hwinfo (filtered) ==========================================================================================
  53. 20: PCI 200.0: 0282 WLAN controller
  54. Model: "Atheros AR9285 Wireless Network Adapter (PCI-Express)"
  55. Vendor: pci 0x168c "Atheros Communications Inc."
  56. Device: pci 0x002b "AR9285 Wireless Network Adapter (PCI-Express)"
  57. SubVendor: pci 0x17aa "Lenovo"
  58. SubDevice: pci 0x30a1
  59. Driver: "ath9k"
  60. Driver Modules: "ath9k"
  61. Device File: wlan0
  62. Link detected: no
  63. Driver Status: ath9k is active
  64. Driver Activation Cmd: "modprobe ath9k"
  65. 21: PCI 300.0: 0200 Ethernet controller
  66. Model: "Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller"
  67. Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  68. Device: pci 0x8168 "RTL8111/8168B PCI Express Gigabit Ethernet controller"
  69. SubVendor: pci 0x17aa "Lenovo"
  70. SubDevice: pci 0x3975
  71. Driver: "r8169"
  72. Driver Modules: "r8169"
  73. Device File: eth0
  74. Link detected: no
  75. Driver Status: r8169 is active
  76. Driver Activation Cmd: "modprobe r8169"
  77. ===== lsmod (filtered) ===========================================================================================
  78. | ac | acer_wmi | af_packet | arc4 | ath |
  79. | ath9k | ath9k_common | ath9k_hw | cfg80211 | drm |
  80. | drm_kms_helper | i2c_algo_bit | i2c_i801 | i915 | ip_tables |
  81. | mac80211 | mei | microcode | mperf | r8169 |
  82. | rfkill | sg | sparse_keymap | sr_mod | wmi |
  83. ===== ls /lib/firmware/* =========================================================================================
  84. | 3.1.0-1.2-desktop | 3com | acenic | adaptec |
  85. | advansys | agere_ap_fw.bin | agere_sta_fw.bin | amd-ucode |
  86. | ar3k | ar7010_1_1.fw | ar7010.fw | ar9170-1.fw |
  87. | ar9170-2.fw | ar9271.fw | ath3k-1.fw | ath6k |
  88. | av7110 | bnx2 | bnx2x | bnx2x-e1-4.8.53.0.fw |
  89. | 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 |
  90. | bnx2x-e1h-5.2.7.0.fw | brcm | cis | cpia2 |
  91. | cxgb3 | cxgb4 | dabusb | dsp56k |
  92. | dvb-fe-xc5000-1.6.114.fw| dvb-usb-dib0700-1.20.fw | dvb-usb-terratec-h5-drxk.fw| e100 |
  93. | E-CARD.cis | edgeport | emi26 | emi62 |
  94. | ene-ub6250 | ess | f2255usb.bin | GPL-3 |
  95. | htc_7010.fw | htc_9271.fw | i2400m-fw-usb-1.4.sbcf | i2400m-fw-usb-1.5.sbcf |
  96. | i6050-fw-usb-1.5.sbcf | intelliport2.bin | iwlwifi-1000-3.ucode | iwlwifi-1000-5.ucode |
  97. | iwlwifi-100-5.ucode | iwlwifi-3945-2.ucode | iwlwifi-4965-1.ucode | iwlwifi-4965-2.ucode |
  98. | iwlwifi-5000-1.ucode | iwlwifi-5000-2.ucode | iwlwifi-5000-5.ucode | iwlwifi-5150-2.ucode |
  99. | iwlwifi-6000-4.ucode | iwlwifi-6000g2a-5.ucode | iwlwifi-6000g2b-5.ucode | iwlwifi-6050-4.ucode |
  100. | iwlwifi-6050-5.ucode | kaweth | keyspan | keyspan_pda |
  101. | korg | lgs8g75.fw | libertas | LICENCE.agere |
  102. | LICENCE.atheros_firmware| LICENCE.broadcom_bcm43xx| LICENCE.chelsio_firmware| LICENCE.ene_firmware |
  103. | LICENCE.i2400m | LICENCE.iwlwifi_firmware| LICENCE.Marvell | LICENCE.mwl8335 |
  104. | LICENCE.myri10ge_firmware| LICENCE.OLPC | LICENCE.phanfw | LICENCE.qla2xxx |
  105. | LICENCE.ralink-firmware.txt| LICENCE.rtlwifi_firmware.txt| LICENCE.tda7706-firmware.txt| LICENCE.ti-connectivity |
  106. | LICENCE.ueagle-atm4-firmware| LICENCE.via_vt6656 | LICENCE.xc5000 | LICENSE.dib0700 |
  107. | LICENSE.radeon_rlc | matrox | microcode.dat | mrvl |
  108. | mts_mt9234mu.fw | mts_mt9234zba.fw | mwl8335_duplex.fw | mwl8k |
  109. | myri10ge_ethp_z8e.dat | myri10ge_eth_z8e.dat | myri10ge_rss_ethp_z8e.dat| myri10ge_rss_eth_z8e.dat |
  110. | myricom | ositech | phanfw.bin | ql2100_fw.bin |
  111. | ql2200_fw.bin | ql2300_fw.bin | ql2322_fw.bin | ql2400_fw.bin |
  112. | ql2500_fw.bin | qlogic | r128 | radeon |
  113. | rt2561.bin | rt2561s.bin | rt2661.bin | rt2860.bin |
  114. | rt2870.bin | rt3070.bin | rt3071.bin | rt3090.bin |
  115. | rt73.bin | RTL8192E | rtl_nic | rtlwifi |
  116. | s2250.fw | s2250_loader.fw | sb16 | slicoss |
  117. | sun | sxg | TDA7706_OM_v2.5.1_boot.txt| TDA7706_OM_v3.0.2_boot.txt |
  118. | tehuti | ti-connectivity | tigon | tlg2300_firmware.bin |
  119. | ttusb-budget | ueagle-atm | usbdux | usbduxfast_firmware.bin |
  120. | usbdux_firmware.bin | v4l-cx231xx-avcore-01.fw| v4l-cx23418-apu.fw | v4l-cx23418-cpu.fw |
  121. | v4l-cx23418-dig.fw | v4l-cx23885-avcore-01.fw| v4l-cx23885-enc.fw | v4l-cx25840.fw |
  122. | vicam | vntwusb.fw | vxge | yam |
  123. | yamaha |
  124. ===== ifconfig (filtered for eth|wlan|ra|ath|dsl) ================================================================
  125. eth0 Link encap:Ethernet Hardware Adresse ##:##:##:##:##:#1
  126. UP BROADCAST MULTICAST MTU:1500 Metric:1
  127. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  128. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  129. collisions:0 Sendewarteschlangenlänge:1000
  130. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  131. Interrupt:42 Basisadresse:0xa000
  132. wlan0 Link encap:Ethernet Hardware Adresse ##:##:##:##:##:#2
  133. UP BROADCAST MULTICAST MTU:1500 Metric:1
  134. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  135. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  136. collisions:0 Sendewarteschlangenlänge:1000
  137. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  138. ===== iwconfig ===================================================================================================
  139. lo no wireless extensions.
  140. eth0 no wireless extensions.
  141. wlan0 IEEE 802.11bgn ESSID:off/any
  142. Mode:Managed Access Point: Not-Associated Tx-Power=14 dBm
  143. Retry long limit:7 RTS thr:off Fragment thr:off
  144. Encryption key:off
  145. Power Management:off
  146. ===== cat /etc/sysconfig/network/ifcfg-[earwd]* | grep -v "=''" ==================================================
  147. --- /etc/sysconfig/network/ifcfg-wlan0
  148. BOOTPROTO='dhcp'
  149. NAME='AR9285 Wireless Network Adapter (PCI-Express)'
  150. STARTMODE='auto'
  151. USERCONTROL='yes'
  152. WIRELESS_AP_SCANMODE='1'
  153. WIRELESS_AUTH_MODE='open'
  154. WIRELESS_BITRATE='auto'
  155. WIRELESS_DEFAULT_KEY='0'
  156. WIRELESS_KEY_LENGTH='@@@@@@'
  157. WIRELESS_MODE='Managed'
  158. WIRELESS_POWER='no'
  159. ===== iwlist scanning ============================================================================================
  160. Channel:1
  161. Quality=42/70 Signal level=-68 dBm
  162. Encryption key:on
  163. ESSID:"§§§§§§§§2"
  164. Channel:1
  165. Quality=46/70 Signal level=-64 dBm
  166. Encryption key:on
  167. ESSID:"§§§§§§§§2"
  168. Channel:1
  169. Quality=21/70 Signal level=-89 dBm
  170. Encryption key:on
  171. ESSID:"§§§§§§§§3"
  172. IE: IEEE 802.11i/WPA2 Version 1
  173. IE: WPA Version 1
  174. Channel:6
  175. Quality=28/70 Signal level=-82 dBm
  176. Encryption key:on
  177. ESSID:"§§§§§§§§4"
  178. IE: IEEE 802.11i/WPA2 Version 1
  179. IE: WPA Version 1
  180. ===== ndiswrapper -l =============================================================================================
  181. No ndiswrapper module loaded
  182. ===== Active processes ===========================================================================================
  183. wpa_supplicant:NO networkmanager:YES nm-applet:NO
  184. ===== ===== egrep -i "persistent|networkmanager" /etc/sysconfig/network/config | grep -v "^#|^$" =================
  185. NETWORKMANAGER="yes"
  186. ===== dhcpcd-test ================================================================================================
  187. wlan0: No DHCP server detected info, wlan0: hardware address = ##:##:##:##:##:#2
  188. info, wlan0: broadcasting for a lease
  189. debug, wlan0: sending DHCP_DISCOVER with xid 0x2a618c40
  190. debug, wlan0: waiting for 3 seconds
  191. info, wlan0: exiting
  192. ===== ping tests =================================================================================================
  193. connect: Network is unreachable
  194. Ping of 195.135.220.3 failed
  195. ping: unknown host www.suse.de
  196. Ping of www.suse.de failed
  197. ===== cat /etc/resolv | grep -i "nameserver" =====================================================================
  198. ===== cat /etc/hosts =============================================================================================
  199. 127.0.0.1 localhost
  200. ===== route -n | egrep "(eth|ath|ra|wlan|dsl)" ===================================================================
  201. ===== Actual date for bias of following greps ====================================================================
  202. 12:10:03 2012-01-22
  203. ===== grep -i radio /var/log/messages* | tail -n 5 ===============================================================
  204. ===== dmesg | grep -i radio | tail -n 5 ==========================================================================
  205. ===== tail -n 300 /var/log/messages* | /usr/bin/grep -i firmware | tail -n 10 ====================================
  206. ===== egrep 'eth|ath|wlan|ra' /etc/udev/rules.d/*net_persistent* /etc/udev/rules.d/*persistent-net* ==============
  207. /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"
  208. /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"
  209. ===== egrep -r 'eth[0-10]|ath[0-10]|wlan[0-10]|ra[0-10]' /etc/modprobe.*|egrep -v -i '#|blacklist' ===============
  210. ==================================================================================================================
  211. *** NWElizaStates V0.6.5.4.9
  212. IF:eth0 IM:1 IF:wlan0 IM:2 DI:2 AP:1 FALON:1 NIC:1 cNiC:2:1 NI:2 cNI:2 NIW:wlan0-0 DHCP:0 CM:0 IP6:0 KM:1 WLW:0 RTDT:SuSE
  213. [/code]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement