我已经在计算机上安装了 Ubuntu 16.04。除了 wifi 频繁断开连接(每天 5-10 次)外,其他一切都运行正常:每次我都必须禁用 wifi 并启用它才能使其再次工作。
同一 wifi 网络的其他用户使用不同的计算机和操作系统(Mac、Windows),但他们没有遇到任何问题。
有办法解决这个问题吗?
我已经运行了无线信息脚本,结果如下:http://paste.ubuntu.com/17635377/
以下是 lspci -knn | grep Net -A2 的输出:
05:00.0 Network controller [0280]: Ralink corp. RT5392 PCIe Wireless Network Adapter [1814:5392]
Subsystem: Ralink corp. RT5392 PCIe Wireless Network Adapter [1814:f053]
Kernel driver in use: rt2800pci
Kernel modules: rt2800pci
sudo lshw -C network 的输出如下:
*-network
description: Wireless interface
product: RT5392 PCIe Wireless Network Adapter
vendor: Ralink corp.
physical id: 0
bus info: pci@0000:05:00.0
logical name: wlp5s0
version: 00
serial: 74:de:2b:39:5f:52
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rt2800pci driverversion=4.4.0-24-generic firmware=0.34 ip=192.168.0.108 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:19 memory:fb100000-fb10ffff
*-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:06:00.0
logical name: enp6s0
version: 06
serial: 38:60:77:9f:a6:fa
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=rtl_nic/rtl8168e-2.fw latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:25 ioport:d000(size=256) memory:da104000-da104fff memory:da100000-da103fff
答案1
我最近将 Ralink corp. RT2561/RT61 更新至 16.04 版后也遇到了类似的问题。
对我来说,解决方案是编辑 default-wifi-powersave-on.conf
sudo gedit /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
并将 wifi.powersave = 3 更改为 wifi.powersave = 0
从那以后我就没再遇到过任何问题。也许这对你来说也会像对我一样有效。