[关闭]
@maorongrong 2018-05-10T13:19:40.000000Z 字数 9070 阅读 480

x61 黑子wifi差错经过

Linux


  1. amy@heizi:~$ lshw -C net
  2. *-network
  3. description: Ethernet interface
  4. product: 82566MM Gigabit Network Connection
  5. vendor: Intel Corporation
  6. physical id: 19
  7. bus info: pci@0000:00:19.0
  8. logical name: enp0s25
  9. version: 03
  10. serial: 00:1d:72:9c:b9:95
  11. capacity: 1Gbit/s
  12. width: 32 bits
  13. clock: 33MHz
  14. capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
  15. configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.3-0 latency=0 link=no multicast=yes port=twisted pair
  16. resources: irq:28 memory:fe000000-fe01ffff memory:fe025000-fe025fff ioport:1840(size=32)
  17. *-network DISABLED
  18. description: Wireless interface
  19. product: PRO/Wireless 3945ABG [Golan] Network Connection
  20. vendor: Intel Corporation
  21. physical id: 0
  22. bus info: pci@0000:03:00.0
  23. logical name: wls3
  24. version: 02
  25. serial: 00:1f:3c:c2:f6:fe
  26. width: 32 bits
  27. clock: 33MHz
  28. capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
  29. configuration: broadcast=yes driver=iwl3945 driverversion=4.4.0-98-generic firmware=15.32.2.9 latency=0 link=no multicast=yes wireless=IEEE 802.11abg
  30. resources: irq:29 memory:dfcff000-dfcfffff
  31. amy@heizi:~$ lsmod | grep iwl
  32. iwl3945 69632 0
  33. iwlegacy 102400 1 iwl3945
  34. mac80211 737280 2 iwl3945,iwlegacy
  35. cfg80211 565248 3 iwl3945,iwlegacy,mac80211
  36. amy@heizi:~$ iwconfig wls3
  37. wls3 IEEE 802.11abg ESSID:off/any
  38. Mode:Managed Access Point: Not-Associated Tx-Power=12 dBm
  39. Retry short limit:7 RTS thr:off Fragment thr:off
  40. Power Management:on
  41. amy@heizi:~$ iwlist scanning
  42. lo Interface doesn't support scanning.
  43. enp0s25 Interface doesn't support scanning.
  44. wls3 Failed to read scan data : Network is down
  45. docker0 Interface doesn't support scanning.
  46. amy@heizi:~$ iwlist wls3 scanning
  47. wls3 Failed to read scan data : Network is down
  48. amy@heizi:~$ iwlist wls3 retry
  49. wls3 Fixed limit ; min limit:0
  50. max limit:255
  51. Current mode:on
  52. short limit:7
  53. long limit:4
  54. amy@heizi:~$ iwlist wls3 power
  55. wls3 Current mode:on
  56. amy@heizi:~$ iwlist wls3 channel
  57. wls3 17 channels in total; available frequencies :
  58. Channel 01 : 2.412 GHz
  59. Channel 02 : 2.417 GHz
  60. Channel 03 : 2.422 GHz
  61. Channel 04 : 2.427 GHz
  62. Channel 05 : 2.432 GHz
  63. Channel 06 : 2.437 GHz
  64. Channel 07 : 2.442 GHz
  65. Channel 08 : 2.447 GHz
  66. Channel 09 : 2.452 GHz
  67. Channel 10 : 2.457 GHz
  68. Channel 11 : 2.462 GHz
  69. Channel 12 : 2.467 GHz
  70. Channel 13 : 2.472 GHz
  71. Channel 149 : 5.745 GHz
  72. Channel 153 : 5.765 GHz
  73. Channel 157 : 5.785 GHz
  74. Channel 161 : 5.805 GHz
  75. amy@heizi:~$ lspci | grep -i net
  76. 00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network Connection (rev 03)
  77. 03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
  78. amy@heizi:~$ sudo ifconfig wls3 up
  79. SIOCSIFFLAGS: 输入/输出错误
  80. amy@heizi:~$ ifconfig
  81. docker0 Link encap:以太网 硬件地址 02:42:5e:2e:9e:cd
  82. inet 地址:172.17.0.1 广播:0.0.0.0 掩码:255.255.0.0
  83. UP BROADCAST MULTICAST MTU:1500 跃点数:1
  84. 接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
  85. 发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
  86. 碰撞:0 发送队列长度:0
  87. 接收字节:0 (0.0 B) 发送字节:0 (0.0 B)
  88. enp0s25 Link encap:以太网 硬件地址 00:1d:72:9c:b9:95
  89. UP BROADCAST MULTICAST MTU:1500 跃点数:1
  90. 接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
  91. 发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
  92. 碰撞:0 发送队列长度:1000
  93. 接收字节:0 (0.0 B) 发送字节:0 (0.0 B)
  94. 中断:20 Memory:fe000000-fe020000
  95. lo Link encap:本地环回
  96. inet 地址:127.0.0.1 掩码:255.0.0.0
  97. inet6 地址: ::1/128 Scope:Host
  98. UP LOOPBACK RUNNING MTU:65536 跃点数:1
  99. 接收数据包:27742 错误:0 丢弃:0 过载:0 帧数:0
  100. 发送数据包:27742 错误:0 丢弃:0 过载:0 载波:0
  101. 碰撞:0 发送队列长度:1
  102. 接收字节:2268301 (2.2 MB) 发送字节:2268301 (2.2 MB)
  103. amy@heizi:~$ sudo /etc/init.d/networking restart
  104. [ ok ] Restarting networking (via systemctl): networking.service.
  105. amy@heizi:~$ ifconfig
  106. docker0 Link encap:以太网 硬件地址 02:42:5e:2e:9e:cd
  107. inet 地址:172.17.0.1 广播:0.0.0.0 掩码:255.255.0.0
  108. UP BROADCAST MULTICAST MTU:1500 跃点数:1
  109. 接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
  110. 发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
  111. 碰撞:0 发送队列长度:0
  112. 接收字节:0 (0.0 B) 发送字节:0 (0.0 B)
  113. enp0s25 Link encap:以太网 硬件地址 00:1d:72:9c:b9:95
  114. UP BROADCAST MULTICAST MTU:1500 跃点数:1
  115. 接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
  116. 发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
  117. 碰撞:0 发送队列长度:1000
  118. 接收字节:0 (0.0 B) 发送字节:0 (0.0 B)
  119. 中断:20 Memory:fe000000-fe020000
  120. lo Link encap:本地环回
  121. inet 地址:127.0.0.1 掩码:255.0.0.0
  122. inet6 地址: ::1/128 Scope:Host
  123. UP LOOPBACK RUNNING MTU:65536 跃点数:1
  124. 接收数据包:28266 错误:0 丢弃:0 过载:0 帧数:0
  125. 发送数据包:28266 错误:0 丢弃:0 过载:0 载波:0
  126. 碰撞:0 发送队列长度:1
  127. 接收字节:2300467 (2.3 MB) 发送字节:2300467 (2.3 MB)
  128. amy@heizi:~$ sudo lshw -C net
  129. *-network
  130. description: Ethernet interface
  131. product: 82566MM Gigabit Network Connection
  132. vendor: Intel Corporation
  133. physical id: 19
  134. bus info: pci@0000:00:19.0
  135. logical name: enp0s25
  136. version: 03
  137. serial: 00:1d:72:9c:b9:95
  138. capacity: 1Gbit/s
  139. width: 32 bits
  140. clock: 33MHz
  141. capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
  142. configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.3-0 latency=0 link=no multicast=yes port=twisted pair
  143. resources: irq:28 memory:fe000000-fe01ffff memory:fe025000-fe025fff ioport:1840(size=32)
  144. *-network DISABLED
  145. description: Wireless interface
  146. product: PRO/Wireless 3945ABG [Golan] Network Connection
  147. vendor: Intel Corporation
  148. physical id: 0
  149. bus info: pci@0000:03:00.0
  150. logical name: wls3
  151. version: 02
  152. serial: 00:1f:3c:c2:f6:fe
  153. width: 32 bits
  154. clock: 33MHz
  155. capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
  156. configuration: broadcast=yes driver=iwl3945 driverversion=4.4.0-98-generic firmware=15.32.2.9 latency=0 link=no multicast=yes wireless=IEEE 802.11abg
  157. resources: irq:29 memory:dfcff000-dfcfffff
  158. 以上为连接一段时间后wifi自动掉线情况出现后执行的各条命令结果,dmesg结果保存在message.txt、message1.txt
  159. ---------------------------------------------------------------------------------------------------
  160. 以下为,重启系统后就会恢复正常,之后执行的各行命令结果,dmesg结果保存在message_20171122.txt
  161. amy@heizi:~$ dmesg -HxeL > message_20171122.txt
  162. amy@heizi:~$ ifconfig
  163. docker0 Link encap:以太网 硬件地址 02:42:f7:9e:00:ed
  164. inet 地址:172.17.0.1 广播:0.0.0.0 掩码:255.255.0.0
  165. UP BROADCAST MULTICAST MTU:1500 跃点数:1
  166. 接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
  167. 发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
  168. 碰撞:0 发送队列长度:0
  169. 接收字节:0 (0.0 B) 发送字节:0 (0.0 B)
  170. enp0s25 Link encap:以太网 硬件地址 00:1d:72:9c:b9:95
  171. UP BROADCAST MULTICAST MTU:1500 跃点数:1
  172. 接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
  173. 发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
  174. 碰撞:0 发送队列长度:1000
  175. 接收字节:0 (0.0 B) 发送字节:0 (0.0 B)
  176. 中断:20 Memory:fe000000-fe020000
  177. lo Link encap:本地环回
  178. inet 地址:127.0.0.1 掩码:255.0.0.0
  179. inet6 地址: ::1/128 Scope:Host
  180. UP LOOPBACK RUNNING MTU:65536 跃点数:1
  181. 接收数据包:451 错误:0 丢弃:0 过载:0 帧数:0
  182. 发送数据包:451 错误:0 丢弃:0 过载:0 载波:0
  183. 碰撞:0 发送队列长度:1
  184. 接收字节:33727 (33.7 KB) 发送字节:33727 (33.7 KB)
  185. wls3 Link encap:以太网 硬件地址 00:1f:3c:c2:f6:fe
  186. inet 地址:192.168.1.113 广播:192.168.1.255 掩码:255.255.255.0
  187. inet6 地址: fe80::34dc:1e63:389b:2528/64 Scope:Link
  188. UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
  189. 接收数据包:48 错误:0 丢弃:0 过载:0 帧数:0
  190. 发送数据包:93 错误:0 丢弃:0 过载:0 载波:0
  191. 碰撞:0 发送队列长度:1000
  192. 接收字节:10585 (10.5 KB) 发送字节:11796 (11.7 KB)
  193. amy@heizi:~$ iwconfig
  194. lo no wireless extensions.
  195. enp0s25 no wireless extensions.
  196. wls3 IEEE 802.11abg ESSID:"FAST_D9A1E4"
  197. Mode:Managed Frequency:2.412 GHz Access Point: 28:2C:B2:D9:A1:E4
  198. Bit Rate=54 Mb/s Tx-Power=12 dBm
  199. Retry short limit:7 RTS thr:off Fragment thr:off
  200. Power Management:on
  201. Link Quality=65/70 Signal level=-45 dBm
  202. Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
  203. Tx excessive retries:0 Invalid misc:57 Missed beacon:0
  204. docker0 no wireless extensions.
  205. amy@heizi:~$ iwlist wls3 scanning
  206. wls3 Scan completed :
  207. Cell 01 - Address: 28:2C:B2:D9:A1:E4
  208. Channel:1
  209. Frequency:2.412 GHz (Channel 1)
  210. Quality=66/70 Signal level=-44 dBm
  211. Encryption key:on
  212. ESSID:"FAST_D9A1E4"
  213. Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
  214. 9 Mb/s; 12 Mb/s; 18 Mb/s
  215. Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
  216. Mode:Master
  217. Extra:tsf=0000018ac72b8ab6
  218. Extra: Last beacon: 12164ms ago
  219. IE: Unknown: 000B464153545F443941314534
  220. IE: Unknown: 010882848B960C121824
  221. IE: Unknown: 030101
  222. IE: Unknown: 2A0100
  223. IE: Unknown: 32043048606C
  224. IE: Unknown: 2D1A6E1003FF00000000000000000000000000000000000000000000
  225. IE: Unknown: 3D1601051300000000000000000000000000000000000000
  226. IE: IEEE 802.11i/WPA2 Version 1
  227. Group Cipher : CCMP
  228. Pairwise Ciphers (1) : CCMP
  229. Authentication Suites (1) : PSK
  230. IE: WPA Version 1
  231. Group Cipher : CCMP
  232. Pairwise Ciphers (1) : CCMP
  233. Authentication Suites (1) : PSK
  234. IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
  235. IE: Unknown: DD05000AEB0100
  236. IE: Unknown: DD8C0050F204104A0001101044000102103B0001031047001000000000000010000000282CB2D9A1E410210004464153541023000646575231303010240007312E302F322E3010420007312E312E302E331054000800060050F204000110110018576972656C657373204E20526F7574657220465752313030100800022288103C0001011049000600372A000120
  237. amy@heizi:~$ lshw -C net
  238. WARNING: you should run this program as super-user.
  239. *-network
  240. description: Ethernet interface
  241. product: 82566MM Gigabit Network Connection
  242. vendor: Intel Corporation
  243. physical id: 19
  244. bus info: pci@0000:00:19.0
  245. logical name: enp0s25
  246. version: 03
  247. serial: 00:1d:72:9c:b9:95
  248. capacity: 1Gbit/s
  249. width: 32 bits
  250. clock: 33MHz
  251. capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
  252. configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.3-0 latency=0 link=no multicast=yes port=twisted pair
  253. resources: irq:26 memory:fe000000-fe01ffff memory:fe025000-fe025fff ioport:1840(size=32)
  254. *-network
  255. description: Wireless interface
  256. product: PRO/Wireless 3945ABG [Golan] Network Connection
  257. vendor: Intel Corporation
  258. physical id: 0
  259. bus info: pci@0000:03:00.0
  260. logical name: wls3
  261. version: 02
  262. serial: 00:1f:3c:c2:f6:fe
  263. width: 32 bits
  264. clock: 33MHz
  265. capabilities: bus_master cap_list ethernet physical wireless
  266. configuration: broadcast=yes driver=iwl3945 driverversion=4.4.0-98-generic firmware=15.32.2.9 ip=192.168.1.113 latency=0 link=yes multicast=yes wireless=IEEE 802.11abg
  267. resources: irq:29 memory:dfcff000-dfcfffff
  268. WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
  269. amy@heizi:~$ lspci | grep net
  270. 00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network Connection (rev 03)
  271. amy@heizi:~$ lspci | grep -i net
  272. 00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network Connection (rev 03)
  273. 03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
  274. amy@heizi:~$ lsmod | grep iwl
  275. iwl3945 69632 0
  276. iwlegacy 102400 1 iwl3945
  277. mac80211 737280 2 iwl3945,iwlegacy
  278. cfg80211 565248 3 iwl3945,iwlegacy,mac80211
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注