Xenial 中的 Realtek RTL8188EE 驱动程序?

cat*_*cat 1 networking realtek drivers 16.04

我刚刚将安全启动前、UEFI* 前的 Toshiba 2012 Satellite P755-S5390笔记本电脑从 15.10 更新到 16.04。在15.10中,无线适配器工作正常。现在,Ubuntu 拒绝承认我的笔记本电脑有无线接口。我已重新启动多次,执行以下操作:

apt install flashrom librtlsdr* nictools* r8168-dkms rtl-sdr rtl8812*
Run Code Online (Sandbox Code Playgroud)

这似乎很成功,而我在网上找到的许多其他东西都无济于事。Additional Drivers的屏幕有Software and Updates一个条目,它声称该条目是unknownnot working correctly

在此输入图像描述

Network Settings是一个简短的条目(在左侧,曾经有一个“Wifi”设备左右):

阿斯达斯德

(在你问之前,不,小加号没有帮助。)

我发现这篇文章中的用户遇到了类似的问题,并且他们发布了来自大量命令的大量数据,因此我将在这里执行相同的操作。

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04 LTS
Release:    16.04
Codename:   xenial

$ uname -a
Linux mint-kitty 4.2.0-36-generic #41-Ubuntu SMP 
Mon Apr 18 15:49:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

$ lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 05)
02:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 30)
02:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 30)
02:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev 30)
02:00.4 System peripheral: JMicron Technology Corp. xD Host Controller (rev 30)
03:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)


$ rfkill list all
<no output>

$ sudo lsmod  |grep rtl
rtl8188ee              86016  0
rtl_pci                28672  1 rtl8188ee
rtlwifi                77824  2 rtl_pci,rtl8188ee
mac80211              745472  3 rtl_pci,rtlwifi,rtl8188ee
cfg80211              557056  2 mac80211,rtlwifi


$ ifconfig
enp1s0    Link encap:Ethernet  HWaddr b8:88:e3:12:0f:00  
          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)

enx7a2df60b7f7a Link encap:Ethernet  HWaddr 7a:2d:f6:0b:7f:7a  
          inet addr:192.168.42.149  Bcast:192.168.42.255  Mask:255.255.255.0
          inet6 addr: fe80::6b2f:6a3c:64e2:5193/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:22512 errors:3 dropped:0 overruns:0 frame:3
          TX packets:27524 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:12577406 (12.5 MB)  TX bytes:5778094 (5.7 MB)

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:3687 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3687 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:533078 (533.0 KB)  TX bytes:533078 (533.0 KB)

$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.42.129  0.0.0.0         UG    100    0        0 enx7a2df60b7f7a
link-local      *               255.255.0.0     U     1000   0        0 enx7a2df60b7f7a
192.168.42.0    *               255.255.255.0   U     100    0        0 enx7a2df60b7f7a

$ iw reg get
country 00: DFS-UNSET
    (2402 - 2472 @ 40), (6, 20), (N/A)
    (2457 - 2482 @ 40), (6, 20), (N/A), PASSIVE-SCAN
    (2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
    (5170 - 5250 @ 160), (6, 20), (N/A), PASSIVE-SCAN
    (5250 - 5330 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
    (5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
    (5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
    (57240 - 63720 @ 2160), (N/A, 0), (N/A)

$ iwlist channel
lo        no frequency information.

enx7a2df60b7f7a  no frequency information.

enp1s0    no frequency information.

$ iwlist scan
lo        Interface doesn't support scanning.

enx7a2df60b7f7a  Interface doesn't support scanning.

enp1s0    Interface doesn't support scanning.

$ cat /etc/modules
coretemp

# the following commands all return the error code 1
$ dmesg | grep rtl
1 | $ dmesg | grep wifi
1 | $ dmesg | grep wl
1 | $ dmesg | grep rtlwifi
1 | $
Run Code Online (Sandbox Code Playgroud)

enx7a2df60b7f7a设备是我的笔记本电脑与智能手机的连接线,这就是我写这篇文章的方式。

如何找回我的wlp2s0/wlan0无线接口?

$ lspci -knn | grep Net -A2
<no output>
$ lspci -knn | grep net -A2
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 05)
    Subsystem: Toshiba America Info Systems RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [1179:fc30]
    Kernel driver in use: r8169
    Kernel modules: r8169
Run Code Online (Sandbox Code Playgroud)

那是eth0物理以太网设备。我的无线卡在以下位置引用/var/syslog

$ cat /var/log/syslog | grep -e wlan0
Apr 25 08:43:32 mint-kitty kernel: [    7.498388] rtl8188ee 0000:02:00.0 wlp2s0: renamed from wlan0
Run Code Online (Sandbox Code Playgroud)

好吧,那是更新之前的事,但确实如此。

如此处建议:如何让 Realtek Semiconductor Co., Ltd. RTL8188EE 无线网络适配器 (rev 01) 无线卡在 Debian Wheezy 上工作

$ locate rtl8188ee | grep -v "debug" | grep .ko
/lib/modules/4.2.0-22-generic/kernel/drivers/net/wireless/rtlwifi/rtl8188ee/rtl8188ee.ko
/lib/modules/4.2.0-23-generic/kernel/drivers/net/wireless/rtlwifi/rtl8188ee/rtl8188ee.ko
/lib/modules/4.2.0-36-generic/kernel/drivers/net/wireless/rtlwifi/rtl8188ee/rtl8188ee.ko
/lib/modules/4.4.0-21-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rtl8188ee.ko
/lib/modules/4.4.0-22-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rtl8188ee.ko
$ sudo modprobe -v rtl8188ee
insmod /lib/modules/4.2.0-36-generic/kernel/net/wireless/cfg80211.ko 
insmod /lib/modules/4.2.0-36-generic/kernel/net/mac80211/mac80211.ko 
insmod /lib/modules/4.2.0-36-generic/kernel/drivers/net/wireless/rtlwifi/rtlwifi.ko 
insmod /lib/modules/4.2.0-36-generic/kernel/drivers/net/wireless/rtlwifi/rtl_pci.ko 
insmod /lib/modules/4.2.0-36-generic/kernel/drivers/net/wireless/rtlwifi/rtl8188ee/rtl8188ee.ko 
Run Code Online (Sandbox Code Playgroud)

但重启后wifi适配器仍然无法工作。


*我的笔记本电脑从来没有 UEFI,仍然只有 BIOS;因此,我的问题与Realtek 驱动程序 RTL8723BE 无法在 Ubuntu 16.04 (内核 4.4) 中工作不同。

Sur*_*rra 6

我不知道你是否已经看过这篇文章,但这里是。关联

根据该问题的答案,似乎有一个更好的驱动程序可以由在 GitHub 中维护的第三方开发人员提供。

因此,打开终端 (Ctrl+Alt+T) 并按照以下步骤操作:

sudo apt-get install build-essential linux-headers-generic git dkms
git clone http://github.com/lwfinger/rtlwifi_new.git
cd /path/to/rtlwifi_new
make
sudo modprobe -rv rtl8188ee
sudo make install
sudo modprobe -v rtl8188ee
Run Code Online (Sandbox Code Playgroud)

希望这可以帮助 :)