更新到 16.04 后,我的 Wifi 卡不再工作了。我不知道该怎么办。
串行通信
04:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
sudo lshw -C 网络
*-network DISABLED
description: Wireless interface
product: RT3290 Wireless 802.11n 1T/1R PCIe
vendor: Ralink corp.
physical id: 0
bus info: pci@0000:04:00.0
logical name: wlo1
version: 00
serial: 70:18:8b:81:85:09
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-21-generic firmware=0.37 latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
resources: irq:19 memory:d0610000-d061ffff
*-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:05:00.0
logical name: enp5s0
version: 0c
serial: a4:5d:36:c9:2b:c8
size: 1Gbit/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=full firmware=rtl8168g-2_0.0.1 02/06/13 ip=192.168.100.6 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
resources: irq:32 ioport:2000(size=256) memory:d0500000-d0500fff memory:d0400000-d0403fff
修改
Module Size Used by
hp_wmi 16384 0
sparse_keymap 16384 1 hp_wmi
snd_hda_codec_hdmi 53248 1
intel_rapl 20480 0
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
coretemp 16384 0
kvm_intel 172032 0
arc4 16384 2
kvm 536576 1 kvm_intel
snd_hda_codec_idt 57344 1
snd_hda_codec_generic 77824 1 snd_hda_codec_idt
rt2800pci 16384 0
rt2800mmio 20480 1 rt2800pci
irqbypass 16384 1 kvm
rt2800lib 94208 2 rt2800pci,rt2800mmio
crct10dif_pclmul 16384 0
rt2x00pci 16384 1 rt2800pci
crc32_pclmul 16384 0
snd_hda_intel 36864 3
rt2x00mmio 16384 2 rt2800pci,rt2800mmio
snd_hda_codec 135168 4 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_intel
rt2x00lib 57344 5 rt2x00pci,rt2800lib,rt2800pci,rt2800mmio,rt2x00mmio
aesni_intel 167936 0
mac80211 737280 3 rt2x00lib,rt2x00pci,rt2800lib
aes_x86_64 20480 1 aesni_intel
uvcvideo 90112 0
lrw 16384 1 aesni_intel
gf128mul 16384 1 lrw
snd_hda_core 73728 5 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
glue_helper 16384 1 aesni_intel
snd_hwdep 16384 1 snd_hda_codec
ablk_helper 16384 1 aesni_intel
cryptd 20480 2 aesni_intel,ablk_helper
snd_pcm 106496 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
input_leds 16384 0
videobuf2_v4l2 28672 1 uvcvideo
videobuf2_core 36864 2 uvcvideo,videobuf2_v4l2
serio_raw 16384 0
snd_seq_midi 16384 0
v4l2_common 16384 1 videobuf2_v4l2
snd_seq_midi_event 16384 1 snd_seq_midi
videodev 176128 4 uvcvideo,v4l2_common,videobuf2_core,videobuf2_v4l2
snd_rawmidi 32768 1 snd_seq_midi
cfg80211 565248 2 mac80211,rt2x00lib
media 24576 2 uvcvideo,videodev
snd_seq 69632 2 snd_seq_midi_event,snd_seq_midi
joydev 20480 0
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 32768 2 snd_pcm,snd_seq
lpc_ich 24576 0
rtsx_pci_ms 20480 0
eeprom_93cx6 16384 1 rt2800pci
memstick 20480 1 rtsx_pci_ms
crc_ccitt 16384 1 rt2800lib
snd 81920 17 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
soundcore 16384 1 snd
mei_me 36864 0
mei 98304 1 mei_me
shpchp 36864 0
8250_fintek 16384 0
hp_accel 28672 0
lis3lv02d 20480 1 hp_accel
input_polldev 16384 1 lis3lv02d
hp_wireless 16384 0
mac_hid 16384 0
parport_pc 32768 0
ppdev 20480 0
lp 20480 0
parport 49152 3 lp,ppdev,parport_pc
autofs4 40960 2
hid_generic 16384 0
usbhid 49152 0
hid 118784 3 hid_generic,usbhid
psmouse 126976 0
amdkfd 122880 1
amd_iommu_v2 20480 1 amdkfd
rtsx_pci_sdmmc 24576 0
radeon 1511424 1
i915 1208320 4
ttm 98304 1 radeon
i2c_algo_bit 16384 2 i915,radeon
drm_kms_helper 139264 2 i915,radeon
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
ahci 36864 2
drm 360448 9 ttm,i915,drm_kms_helper,radeon
r8169 81920 0
libahci 32768 1 ahci
rtsx_pci 53248 2 rtsx_pci_ms,rtsx_pci_sdmmc
mii 16384 1 r8169
wmi 20480 1 hp_wmi
video 40960 1 i915
fjes 28672 0
消息
[ 21.061887] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt3290.bin'
[ 21.063536] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.37
[ 22.678723] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[ 24.278717] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[ 24.278728] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[ 51.499485] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[ 53.099518] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[ 53.099529] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
答案1
我在从 15.10 升级到 16.04 时遇到了同样的问题。我按照其他人的建议解决了这个问题,具体如下:
- 如何安装 wifi 驱动程序 Ralink RT3290和以下第二个答案,第 1 至第 8 步,位于文章的中间位置
我必须通过打开终端窗口并发出以下两个命令来启用我的无线网卡:
sudo ifconfig eno1 up
和
sudo service network-manager restart
eno1 是我的无线网卡的逻辑名称(在sudo lshw -C network
命令输出中找到)。
您可以通过将步骤 2 中的两个命令添加到 /etc/rc.local 来自动执行它们(请参阅我怎样才能让“rc.local”在启动时运行?我可以让“rc.local”在启动时运行吗?
答案2
将我的笔记本电脑从 14.04 升级到 16.04 后,我的 RT3090 无线网卡也遇到了同样的问题。
经过一番折腾之后,我发现 Wifi 只有在从挂起状态恢复后才能工作。
我最终似乎通过在文件中添加以下内容解决了该问题/etc/rc.local
:
sudo ifconfig wlan0 up
sudo service network-manager restart
如果您的设备不是“wlan0”,您可以根据需要替换。
答案3
我通过安装这个驱动程序修复了这个问题:
http://onthim.blogspot.be/2015/06/install-ralink-rt3290-wi-fi-driver-on.html
下载信息:
RT3290 Linux 驱动程序 http://www.mediafire.com/download/l3zoch2y1hbcali/RT3290.tar.gz
对于 Fedora 用户,请尝试以下操作: http://www.mediafire.com/download/uk5u91dpts687la/RT3290_fedora.tar.gz
针对基于 Ubuntu 16.04 的发行版更新了软件包。也适用于基于 Ubuntu 15.04 的发行版: http://www.mediafire.com/download/pu4rejmmft8z9yr/RT3290_u16_v1.tar.gz
安装说明位于下载中。
答案4
对于我来说,此卡适用于 Ubuntu 16.04 存储库中的 Linux 内核 4.4.0-33。没有问题,也不需要特殊配置。