@maorongrong
2018-05-10T13:19:40.000000Z
字数 9070
阅读 622
Linux
amy@heizi:~$ lshw -C net*-networkdescription: Ethernet interfaceproduct: 82566MM Gigabit Network Connectionvendor: Intel Corporationphysical id: 19bus info: pci@0000:00:19.0logical name: enp0s25version: 03serial: 00:1d:72:9c:b9:95capacity: 1Gbit/swidth: 32 bitsclock: 33MHzcapabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiationconfiguration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.3-0 latency=0 link=no multicast=yes port=twisted pairresources: irq:28 memory:fe000000-fe01ffff memory:fe025000-fe025fff ioport:1840(size=32)*-network DISABLEDdescription: Wireless interfaceproduct: PRO/Wireless 3945ABG [Golan] Network Connectionvendor: Intel Corporationphysical id: 0bus info: pci@0000:03:00.0logical name: wls3version: 02serial: 00:1f:3c:c2:f6:fewidth: 32 bitsclock: 33MHzcapabilities: pm msi pciexpress bus_master cap_list ethernet physical wirelessconfiguration: broadcast=yes driver=iwl3945 driverversion=4.4.0-98-generic firmware=15.32.2.9 latency=0 link=no multicast=yes wireless=IEEE 802.11abgresources: irq:29 memory:dfcff000-dfcfffffamy@heizi:~$ lsmod | grep iwliwl3945 69632 0iwlegacy 102400 1 iwl3945mac80211 737280 2 iwl3945,iwlegacycfg80211 565248 3 iwl3945,iwlegacy,mac80211amy@heizi:~$ iwconfig wls3wls3 IEEE 802.11abg ESSID:off/anyMode:Managed Access Point: Not-Associated Tx-Power=12 dBmRetry short limit:7 RTS thr:off Fragment thr:offPower Management:onamy@heizi:~$ iwlist scanninglo Interface doesn't support scanning.enp0s25 Interface doesn't support scanning.wls3 Failed to read scan data : Network is downdocker0 Interface doesn't support scanning.amy@heizi:~$ iwlist wls3 scanningwls3 Failed to read scan data : Network is downamy@heizi:~$ iwlist wls3 retrywls3 Fixed limit ; min limit:0max limit:255Current mode:onshort limit:7long limit:4amy@heizi:~$ iwlist wls3 powerwls3 Current mode:onamy@heizi:~$ iwlist wls3 channelwls3 17 channels in total; available frequencies :Channel 01 : 2.412 GHzChannel 02 : 2.417 GHzChannel 03 : 2.422 GHzChannel 04 : 2.427 GHzChannel 05 : 2.432 GHzChannel 06 : 2.437 GHzChannel 07 : 2.442 GHzChannel 08 : 2.447 GHzChannel 09 : 2.452 GHzChannel 10 : 2.457 GHzChannel 11 : 2.462 GHzChannel 12 : 2.467 GHzChannel 13 : 2.472 GHzChannel 149 : 5.745 GHzChannel 153 : 5.765 GHzChannel 157 : 5.785 GHzChannel 161 : 5.805 GHzamy@heizi:~$ lspci | grep -i net00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network Connection (rev 03)03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)amy@heizi:~$ sudo ifconfig wls3 upSIOCSIFFLAGS: 输入/输出错误amy@heizi:~$ ifconfigdocker0 Link encap:以太网 硬件地址 02:42:5e:2e:9e:cdinet 地址:172.17.0.1 广播:0.0.0.0 掩码:255.255.0.0UP BROADCAST MULTICAST MTU:1500 跃点数:1接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0发送数据包:0 错误:0 丢弃:0 过载:0 载波:0碰撞:0 发送队列长度:0接收字节:0 (0.0 B) 发送字节:0 (0.0 B)enp0s25 Link encap:以太网 硬件地址 00:1d:72:9c:b9:95UP BROADCAST MULTICAST MTU:1500 跃点数:1接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0发送数据包:0 错误:0 丢弃:0 过载:0 载波:0碰撞:0 发送队列长度:1000接收字节:0 (0.0 B) 发送字节:0 (0.0 B)中断:20 Memory:fe000000-fe020000lo Link encap:本地环回inet 地址:127.0.0.1 掩码:255.0.0.0inet6 地址: ::1/128 Scope:HostUP LOOPBACK RUNNING MTU:65536 跃点数:1接收数据包:27742 错误:0 丢弃:0 过载:0 帧数:0发送数据包:27742 错误:0 丢弃:0 过载:0 载波:0碰撞:0 发送队列长度:1接收字节:2268301 (2.2 MB) 发送字节:2268301 (2.2 MB)amy@heizi:~$ sudo /etc/init.d/networking restart[ ok ] Restarting networking (via systemctl): networking.service.amy@heizi:~$ ifconfigdocker0 Link encap:以太网 硬件地址 02:42:5e:2e:9e:cdinet 地址:172.17.0.1 广播:0.0.0.0 掩码:255.255.0.0UP BROADCAST MULTICAST MTU:1500 跃点数:1接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0发送数据包:0 错误:0 丢弃:0 过载:0 载波:0碰撞:0 发送队列长度:0接收字节:0 (0.0 B) 发送字节:0 (0.0 B)enp0s25 Link encap:以太网 硬件地址 00:1d:72:9c:b9:95UP BROADCAST MULTICAST MTU:1500 跃点数:1接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0发送数据包:0 错误:0 丢弃:0 过载:0 载波:0碰撞:0 发送队列长度:1000接收字节:0 (0.0 B) 发送字节:0 (0.0 B)中断:20 Memory:fe000000-fe020000lo Link encap:本地环回inet 地址:127.0.0.1 掩码:255.0.0.0inet6 地址: ::1/128 Scope:HostUP LOOPBACK RUNNING MTU:65536 跃点数:1接收数据包:28266 错误:0 丢弃:0 过载:0 帧数:0发送数据包:28266 错误:0 丢弃:0 过载:0 载波:0碰撞:0 发送队列长度:1接收字节:2300467 (2.3 MB) 发送字节:2300467 (2.3 MB)amy@heizi:~$ sudo lshw -C net*-networkdescription: Ethernet interfaceproduct: 82566MM Gigabit Network Connectionvendor: Intel Corporationphysical id: 19bus info: pci@0000:00:19.0logical name: enp0s25version: 03serial: 00:1d:72:9c:b9:95capacity: 1Gbit/swidth: 32 bitsclock: 33MHzcapabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiationconfiguration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.3-0 latency=0 link=no multicast=yes port=twisted pairresources: irq:28 memory:fe000000-fe01ffff memory:fe025000-fe025fff ioport:1840(size=32)*-network DISABLEDdescription: Wireless interfaceproduct: PRO/Wireless 3945ABG [Golan] Network Connectionvendor: Intel Corporationphysical id: 0bus info: pci@0000:03:00.0logical name: wls3version: 02serial: 00:1f:3c:c2:f6:fewidth: 32 bitsclock: 33MHzcapabilities: pm msi pciexpress bus_master cap_list ethernet physical wirelessconfiguration: broadcast=yes driver=iwl3945 driverversion=4.4.0-98-generic firmware=15.32.2.9 latency=0 link=no multicast=yes wireless=IEEE 802.11abgresources: irq:29 memory:dfcff000-dfcfffff以上为连接一段时间后wifi自动掉线情况出现后执行的各条命令结果,dmesg结果保存在message.txt、message1.txt---------------------------------------------------------------------------------------------------以下为,重启系统后就会恢复正常,之后执行的各行命令结果,dmesg结果保存在message_20171122.txtamy@heizi:~$ dmesg -HxeL > message_20171122.txtamy@heizi:~$ ifconfigdocker0 Link encap:以太网 硬件地址 02:42:f7:9e:00:edinet 地址:172.17.0.1 广播:0.0.0.0 掩码:255.255.0.0UP BROADCAST MULTICAST MTU:1500 跃点数:1接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0发送数据包:0 错误:0 丢弃:0 过载:0 载波:0碰撞:0 发送队列长度:0接收字节:0 (0.0 B) 发送字节:0 (0.0 B)enp0s25 Link encap:以太网 硬件地址 00:1d:72:9c:b9:95UP BROADCAST MULTICAST MTU:1500 跃点数:1接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0发送数据包:0 错误:0 丢弃:0 过载:0 载波:0碰撞:0 发送队列长度:1000接收字节:0 (0.0 B) 发送字节:0 (0.0 B)中断:20 Memory:fe000000-fe020000lo Link encap:本地环回inet 地址:127.0.0.1 掩码:255.0.0.0inet6 地址: ::1/128 Scope:HostUP LOOPBACK RUNNING MTU:65536 跃点数:1接收数据包:451 错误:0 丢弃:0 过载:0 帧数:0发送数据包:451 错误:0 丢弃:0 过载:0 载波:0碰撞:0 发送队列长度:1接收字节:33727 (33.7 KB) 发送字节:33727 (33.7 KB)wls3 Link encap:以太网 硬件地址 00:1f:3c:c2:f6:feinet 地址:192.168.1.113 广播:192.168.1.255 掩码:255.255.255.0inet6 地址: fe80::34dc:1e63:389b:2528/64 Scope:LinkUP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1接收数据包:48 错误:0 丢弃:0 过载:0 帧数:0发送数据包:93 错误:0 丢弃:0 过载:0 载波:0碰撞:0 发送队列长度:1000接收字节:10585 (10.5 KB) 发送字节:11796 (11.7 KB)amy@heizi:~$ iwconfiglo no wireless extensions.enp0s25 no wireless extensions.wls3 IEEE 802.11abg ESSID:"FAST_D9A1E4"Mode:Managed Frequency:2.412 GHz Access Point: 28:2C:B2:D9:A1:E4Bit Rate=54 Mb/s Tx-Power=12 dBmRetry short limit:7 RTS thr:off Fragment thr:offPower Management:onLink Quality=65/70 Signal level=-45 dBmRx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0Tx excessive retries:0 Invalid misc:57 Missed beacon:0docker0 no wireless extensions.amy@heizi:~$ iwlist wls3 scanningwls3 Scan completed :Cell 01 - Address: 28:2C:B2:D9:A1:E4Channel:1Frequency:2.412 GHz (Channel 1)Quality=66/70 Signal level=-44 dBmEncryption key:onESSID:"FAST_D9A1E4"Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s9 Mb/s; 12 Mb/s; 18 Mb/sBit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/sMode:MasterExtra:tsf=0000018ac72b8ab6Extra: Last beacon: 12164ms agoIE: Unknown: 000B464153545F443941314534IE: Unknown: 010882848B960C121824IE: Unknown: 030101IE: Unknown: 2A0100IE: Unknown: 32043048606CIE: Unknown: 2D1A6E1003FF00000000000000000000000000000000000000000000IE: Unknown: 3D1601051300000000000000000000000000000000000000IE: IEEE 802.11i/WPA2 Version 1Group Cipher : CCMPPairwise Ciphers (1) : CCMPAuthentication Suites (1) : PSKIE: WPA Version 1Group Cipher : CCMPPairwise Ciphers (1) : CCMPAuthentication Suites (1) : PSKIE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00IE: Unknown: DD05000AEB0100IE: Unknown: DD8C0050F204104A0001101044000102103B0001031047001000000000000010000000282CB2D9A1E410210004464153541023000646575231303010240007312E302F322E3010420007312E312E302E331054000800060050F204000110110018576972656C657373204E20526F7574657220465752313030100800022288103C0001011049000600372A000120amy@heizi:~$ lshw -C netWARNING: you should run this program as super-user.*-networkdescription: Ethernet interfaceproduct: 82566MM Gigabit Network Connectionvendor: Intel Corporationphysical id: 19bus info: pci@0000:00:19.0logical name: enp0s25version: 03serial: 00:1d:72:9c:b9:95capacity: 1Gbit/swidth: 32 bitsclock: 33MHzcapabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiationconfiguration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.3-0 latency=0 link=no multicast=yes port=twisted pairresources: irq:26 memory:fe000000-fe01ffff memory:fe025000-fe025fff ioport:1840(size=32)*-networkdescription: Wireless interfaceproduct: PRO/Wireless 3945ABG [Golan] Network Connectionvendor: Intel Corporationphysical id: 0bus info: pci@0000:03:00.0logical name: wls3version: 02serial: 00:1f:3c:c2:f6:fewidth: 32 bitsclock: 33MHzcapabilities: bus_master cap_list ethernet physical wirelessconfiguration: 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.11abgresources: irq:29 memory:dfcff000-dfcfffffWARNING: output may be incomplete or inaccurate, you should run this program as super-user.amy@heizi:~$ lspci | grep net00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network Connection (rev 03)amy@heizi:~$ lspci | grep -i net00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network Connection (rev 03)03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)amy@heizi:~$ lsmod | grep iwliwl3945 69632 0iwlegacy 102400 1 iwl3945mac80211 737280 2 iwl3945,iwlegacycfg80211 565248 3 iwl3945,iwlegacy,mac80211