Xenial 中的 Realtek RTL8188EE 驅動程式?

Xenial 中的 Realtek RTL8188EE 驅動程式?

我剛剛更新了預安全啟動、預 UEFI* Toshiba2012衛星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 Wireless Network Adapter (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

因此,如果您沒有驅動程序,關於從原始程式碼安裝驅動程式的另一個答案絕對是正確的。

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

  • 拆開我的筆記型電腦以確保無線適配器正常實際上連接的
  • 把它放回原處
  • 重啟幾次
  • 空閒地切換啟用無線區域網BIOS 中設定為離開*
  • ???
  • 我現在有無線網路了。

*是的,這可能是個錯誤。希望這對其他 Satellite P755 用戶有所幫助。

相關內容