根据我所连接的网络,我的(无线)互联网每 30 秒到几小时就会掉线一次。掉线频率(似乎)取决于网络以及通过它的流量。这让我相信数据包冲突是导致问题的原因。
当退出时,Unity 图标显示我仍然处于连接状态,但我无法 ping Google、Facebook 或任何其他网站 - 但仍然可以通过同一网络上的其他设备访问它们。
偶尔(但并非总是如此)可以通过断开连接并重新连接、通过网络管理器删除网络或重新启动计算机来简单地纠正此问题。但这并不是最好的选择。
lspci -v
我使用的是 Ubuntu 14.04,以下是和的输出lshw -C network
。我没有专业知识或时间自己做进一步的诊断。其他问题的答案对我没有用。任何帮助我都会很感激。
lspci -v
ashton@laptop:~$ lspci -v
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
Subsystem: Sony Corporation Device 90ab
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=06, sec-latency=0
I/O behind bridge: 00003000-00003fff
Memory behind bridge: c0000000-c0ffffff
Prefetchable memory behind bridge: 00000000b0000000-00000000bfffffff
Capabilities: <access denied>
Kernel driver in use: pcieport
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) (prog-if 30 [XHCI])
Subsystem: Sony Corporation Device 90ab
Flags: bus master, medium devsel, latency 0, IRQ 41
Memory at c1300000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: Sony Corporation Device 90ab
Flags: bus master, fast devsel, latency 0, IRQ 45
Memory at c1314000 (64-bit, non-prefetchable) [size=16]
Capabilities: <access denied>
Kernel driver in use: mei_me
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
Subsystem: Sony Corporation Device 90ab
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at c1319000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
Subsystem: Sony Corporation Device 90ab
Flags: bus master, fast devsel, latency 0, IRQ 46
Memory at c1310000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
Memory behind bridge: c1200000-c12fffff
Prefetchable memory behind bridge: 00000000c1500000-00000000c15fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=08, subordinate=08, sec-latency=0
Memory behind bridge: c1100000-c11fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=09, subordinate=09, sec-latency=0
I/O behind bridge: 00002000-00002fff
Prefetchable memory behind bridge: 00000000c1000000-00000000c10fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04) (prog-if 20 [EHCI])
Subsystem: Sony Corporation Device 90ab
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at c1318000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
Subsystem: Sony Corporation Device 90ab
Flags: bus master, medium devsel, latency 0
Capabilities: <access denied>
Kernel driver in use: lpc_ich
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0])
Subsystem: Sony Corporation Device 90ab
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 44
I/O ports at 4048 [size=8]
I/O ports at 4054 [size=4]
I/O ports at 4040 [size=8]
I/O ports at 4050 [size=4]
I/O ports at 4020 [size=32]
Memory at c1317000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
Subsystem: Sony Corporation Device 90ab
Flags: medium devsel, IRQ 10
Memory at c1315000 (64-bit, non-prefetchable) [size=256]
I/O ports at 4000 [size=32]
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7550M/7570M/7650M] (prog-if 00 [VGA controller])
Subsystem: Sony Corporation Device 90ab
Flags: bus master, fast devsel, latency 0, IRQ 47
Memory at b0000000 (64-bit, prefetchable) [size=256M]
Memory at c0000000 (64-bit, non-prefetchable) [size=128K]
I/O ports at 3000 [size=256]
Expansion ROM at c0040000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: radeon
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Turks/Whistler HDMI Audio [Radeon HD 6000 Series]
Subsystem: Sony Corporation Device 90ab
Flags: bus master, fast devsel, latency 0, IRQ 48
Memory at c0020000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
07:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
Subsystem: Foxconn International, Inc. Device e044
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at c1200000 (64-bit, non-prefetchable) [size=512K]
Expansion ROM at c1500000 [disabled] [size=64K]
Capabilities: <access denied>
Kernel driver in use: ath9k
08:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
Subsystem: Sony Corporation Device 90ab
Flags: bus master, fast devsel, latency 0, IRQ 42
Memory at c1100000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: rtsx_pci
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)
Subsystem: Sony Corporation Device 90ab
Flags: bus master, fast devsel, latency 0, IRQ 43
I/O ports at 2000 [size=256]
Memory at c1004000 (64-bit, prefetchable) [size=4K]
Memory at c1000000 (64-bit, prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169
lshw -C network
ashton@laptop:~$ sudo lshw -C network
*-network
description: Wireless interface
product: AR9485 Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:07:00.0
logical name: wlan0
version: 01
serial: 08:3e:8e:d2:5d:81
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=3.13.0-29-generic firmware=N/A ip=192.168.0.6 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:16 memory:c1200000-c127ffff memory:c1500000-c150ffff
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:09:00.0
logical name: eth0
version: 07
serial: 30:f9:ed:c3:f2:e3
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168e-3_0.0.4 03/27/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:43 ioport:2000(size=256) memory:c1004000-c1004fff memory:c1000000-c1003fff
我注意到,在通过网络管理器访问的“连接信息”窗口中,无论我当前是否可以访问互联网,速度通常都显示为 16Mb/s 以上。
编辑:
尝试这个时:
sudo ifconfig wlan0 down && sudo modprobe -rv ath9k && sudo modprobe -v ath9k nohwcrypt=1 && sudo ifconfig wlan0 up
这种情况会发生(无论当时互联网是否正常运行)
- 互联网断开。
- 控制台中记录了某些内容[1]。
- 网络从 networkManager 下拉菜单中消失。
遇到两种不同的情况,无法隔离分支行为。
场景 A
什么都没发生
场景 B
下拉选项重新出现,networkManager 尝试重新连接但总是失败。
我知道的唯一从这里重新获得连接的方式是重新启动计算机。
[1](来自控制台):
ashton@laptop:~$ sudo ifconfig wlan0 down && sudo modprobe -rv ath9k && sudo modprobe -v ath9k nohwcrypt=1 && sudo ifconfig wlan0 up
[sudo] password for ashton:
rmmod ath9k
rmmod mac80211
rmmod ath9k_common
rmmod ath9k_hw
rmmod ath
rmmod cfg80211
insmod /lib/modules/3.13.0-29-generic/kernel/net/wireless/cfg80211.ko
insmod /lib/modules/3.13.0-29-generic/kernel/net/mac80211/mac80211.ko
insmod /lib/modules/3.13.0-29-generic/kernel/drivers/net/wireless/ath/ath.ko
insmod /lib/modules/3.13.0-29-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
insmod /lib/modules/3.13.0-29-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko
insmod /lib/modules/3.13.0-29-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko nohwcrypt=1