Ubuntu 18.04 未找到 RT5390 Wifi 适配器

Ubuntu 18.04 未找到 RT5390 Wifi 适配器

我知道这个问题已经发布了,但不幸的是我找不到适合我的答案。从很多发行版开始,我都遇到了我的 wifi 无法工作的问题,但到目前为止,我使用以下代码让它工作了:

cd /home/makkekkazzo/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/
sudo make
sudo make install
sudo modprobe rt5390sta
sudo ifconfig enp2s0 up
sudo service network-manager restart

但是我昨天安装了 Bionic Beaver,解决方案不再起作用。

现在当我这样做的时候,sudo make它会说在某个时候

In function 'memcpy',
inlined from 'rt_ioctl_iwaplist' at /home/makkekkazzo/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../os/linux/sta_ioctl.c:694:2:
./include/linux/string.h:340:4: error: call to '__read_overflow2' declared with attribute error: detected read beyond size of object passed as 2nd parameter
__read_overflow2();
^~~~~~~~~~~~~~~~~~

接下来是sudo lshw -C network

  *-network UNCLAIMED       
       description: Network controller
       product: RT5390 Wireless 802.11n 1T/1R PCIe
       vendor: Ralink corp.
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 00
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: latency=0
       resources: memory:f7d00000-f7d0ffff
  *-network
       description: Ethernet interface
       product: AR8161 Gigabit Ethernet
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: eth0
       version: 10
       serial: 30:85:a9:2e:0f:f0
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=alx latency=0 link=no multicast=yes port=twisted pair
       resources: irq:19 memory:f7c00000-f7c3ffff ioport:e000(size=128)
  *-network
       description: Ethernet interface
       physical id: 1
       logical name: enp0s20u2
       serial: d6:ee:db:46:b1:1d
       capabilities: ethernet physical
       configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.169 link=yes multicast=yes

正如所说,我尝试了不同的解决方案,但没有取得任何进展。

谢谢您的帮助

相关内容