Xenial 中的 Realtek RTL8188EE 驱动程序?

Xenial 中的 Realtek RTL8188EE 驱动程序?

我刚刚更新了我的预安全启动、预 UEFI* 东芝2012 卫星 P755-S5390笔记本电脑从 15.10 升级到 16.04。在 15.10 中,无线适配器工作正常。现在,Ubuntu 拒绝承认我的笔记本电脑有无线接口。我重启了很多次,做了以下操作:

apt install flashrom librtlsdr* nictools* r8168-dkms rtl-sdr rtl8812*

这似乎是成功的,我在网上找到的大量其他东西都无济于事。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 | $

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

这是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

好的,那是在更新之前,但它就在那里。

正如这里建议的:如何让 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 

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


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

答案1

我不知道您是否已经看过这篇文章,但我还是想说一下。关联

根据该问题的答案,似乎有第三方开发人员提供了更好的驱动程序,并在 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

希望这可以帮助 :)

答案2

因此,如果您没有驱动程序,那么从源代码安装驱动程序的另一个答案肯定是正确的。

就我而言,我所要做的就是

  • 拆开我的笔记本电脑,以确保无线适配器实际上连接的
  • 把它放回原处
  • 重启几次
  • 闲着没事地切换启用 WLAN在 BIOS 中设置离开*
  • ???
  • 我现在有 WiFi。

*是的,这可能是一个错误。希望这能帮助其他 Satellite P755 用户。

相关内容