如何在 ubuntu 16.04 上安装 RTL8723AE 驱动程序?

如何在 ubuntu 16.04 上安装 RTL8723AE 驱动程序?

我正在尝试在 MSI s12 笔记本上配置 ubuntu 16.04,但是网络适配器(RTL8723AE PCIe 无线网络适配器)未被 ubuntu 识别。

$ iwconfig意思是:

    lo        no wireless extensions.     
    enp2s0    no wireless extensions.   
    wlp1s0    IEEE 802.11bgn  ESSID:off/any  
              Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
              Retry short limit:7   RTS thr=2347 B   Fragment thr:off
              Power Management:off

结果如下$ ifconfig

enp2s0    Link encap:Ethernet  HWaddr 44:8a:5b:41:3e:1d  
          inet addr:192.168.1.54  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::468a:5bff:fe41:3e1d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4371 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5119 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2875904 (2.8 MB)  TX bytes:586687 (586.6 KB)
          Interrupt:29 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:3814 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3814 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:295586 (295.5 KB)  TX bytes:295586 (295.5 KB)

wlp1s0    Link encap:Ethernet  HWaddr 54:27:1e:19:7f:12  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

关于“rfkill list无任何阻碍”:

0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

调制解调器型号

$ lspci -vvnn | grep -A 9 Network返回:

01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723AE PCIe Wireless Network Adapter [10ec:8723]
    Subsystem: AzureWave RTL8723AE PCIe Wireless Network Adapter [1a3b:2114]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 31
    Region 0: I/O ports at e000 [size=256]
    Region 2: Memory at fea00000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: rtl8723ae
    Kernel modules: rtl8723ae

我已经做了什么?

我已遵循此解决方案: https://askubuntu.com/a/645238/196157 这表明:

sudo add-apt-repository ppa:hanipouspilot/rtlwifi
sudo apt-get update
sudo apt-get install rtlwifi-new-dkms linux-firmware

和这个: 安装较新的驱动程序 说的是:

wget https://github.com/lwfinger/rtlwifi_new/archive/rock.new_btcoex.zip
unzip rock.new_btcoex.zip
cd rtlwifi_new-rock.new_btcoex
make
sudo -i
make install
echo "options rtl8723be ant_sel=2"  >  /etc/modprobe.d/rtl8723be.conf
exit

Reboot.

我也安装了西太平洋岛屿发展中国家按照此处的说明: 安装 WICD但没有无线适配器工作


更新

  1. 我安装了bcmwl-kernel-source包。1.1。已删除。
  2. sudo modprobe wl && dmesg | grep wl返回:

3.sudo lshw -C network

  *-network               
       description: Wireless interface
       product: RTL8723AE PCIe Wireless Network Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: wlp1s0
       version: 00
       serial: 54:27:1e:19:7f:12
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8723ae driverversion=4.4.0-21-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
       resources: irq:31 ioport:e000(size=256) memory:fea00000-fea03fff

答案1

使用终端使参数永久生效:

sudo -i
echo "options rtl8723ae msi=1"  >  /etc/modprobe.d/rtl8723ae.conf
exit

启动后你就应该一切就绪。

答案2

问题解决使用这个帖子

  1. 克隆项目:git clone[电子邮件保护]:lwfinger/rtlwifi_new.git
  2. 构建项目:make;sudo make install
  3. 删除旧模式:sudo rmmod rtl8723ae
  4. 使用 msi 标志设置 mod:sudo modprobe rtl8723ae msi=1

相关内容