从 14.04 升级到 16.04 后没有 Wi-Fi

从 14.04 升级到 16.04 后没有 Wi-Fi

我是 Ubuntu 新手。几个月前我安装了 LXLE(Ubuntu 14.04)。它变得越来越慢。所以我升级到了 16.04。但在启动 16.04 时,它没有完成启动,而是在尝试连接 WiFi 时卡住了。通过不断按下电源按钮,LXLE 桌面终于启动了 16.04,但网络中断/离线,显示错误消息:VBoxClient:虚拟 Box 内核服务器未运行。


我运行iwconfig后得到以下结果:

wlan0:   
IEEE 802.11bg   ; ESSID:off/any ; Mode:Managed ; Access Point: Not-Associated ; Tx-Power=20 dbm ; Retry short limit:7   ; RTS thr:off   ; Fragment thr:off ; Power Management:off

l0:      no wireless extensions.

eth0:    no wireless extensions.
(Note: "eth0" is the ethernet logical name. I did not have ethernet cable connected.)

当我运行时sudo lshw -class network,我得到了以下返回:

- Network

description: wireless interface

product: AR242x / AR542x Wireless Network Adapter (PCI-Express)

vendor: Qualcomm Atheros

physical id: 0

bus info: pci@0000:01:00.0

logical name: wlan0

version: 01

serial: 00:24:2c:3f:5f:3c

width: 64 bits

clock: 33MHz

capabilities: pm msi pciexpress msix bus master cap_list ethernet physical wireless

configuration: boradcast=yes ;  driver=ath5k ;  driverversion=4.4.0-58-generic  ; firmware=N/A  ; latency=0  ; link=no ;  multicast=yes  ; wireless=IEEE 802.11bg

resources: irq:16   memory:55100000-5510ffff

我尝试运行了几次sudo service network-manager restart。它似乎连接到了我的 WiFi,但只持续了 3 或 4 秒,然后就断线了。

该计算机是一台旧上网本:Acer 型号 KAV60。微处理器:Atom N270 @1.6GHz,总线:533MHz RAM:1014MB

lspci -knn | grep Net -A2返回:

01:00.0   Ethernet Controller [0200]: Qualcom Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) [168c:001c] (rev 01)

Subsystem: Foxconn International, Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) [165b:e00d]

Kernel driver in use: ath5k

kernel module: ath5k

rfkill list all返回:

0: phy 0: Wireless LAN

Soft blocked: no ; Hard blocked: no

1: acer-wireless: Wireless LAN

Soft blocked: no ; Hard blocked: no

`dmesg | tail -n3" 返回:

[307.436528] IPv6: ADDRCONF (NETDEV_UP): wlan0: link is not ready.
[307.464360] IPv6: ADDRCONF (NETDEV_UP): wlan0: link is not ready.
[307.612171] IPv6: ADDRCONF (NETDEV_UP): wlan0: link is not ready.

dkms status返回:

Virtualbox-guest, 5.0.24, 4.4.0-58-generic, i686: installed

希望以上附加信息有助于识别问题。非常感谢。

我很抱歉,我必须输入上述信息而不是从终端复制,因为桌面屏幕一直变黑。

答案1

将模块列入黑名单acer-wmi

echo blacklist acer-wmi | sudo tee -a /etc/modprobe.d/blacklist-acer-wmi.conf

重新加载驱动程序:

sudo modprobe -rfv ath5k
sudo modprobe -v ath5k

答案2

当我为 wifi 适配器提供一个具有良好 DNS 的手动地址时,我的网络管理器问题得到了解决。在此之前,所有可用的无线路由器均未显示,并且在重新启动时,没有 DNS 服务器写入 /etc/resolv.conf

相关内容