如何让 Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter (rev 01) 无线网卡在 Debian Wheezy 上工作

如何让 Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter (rev 01) 无线网卡在 Debian Wheezy 上工作

我尝试了很多东西,甚至将内核更新到3.10以上。我已经安装了无线工具并从以下位置看到以下内容lspci

sudo lspci | grep controller    
01:00.0 Ethernet controller: Qualcomm Atheros AR8162 Fast Ethernet (rev 10)    
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter (rev 01)

这就是那个输出。当我这样做时,iwconfig我得到输出:

lo        no wireless extensions.    
eth0      no wireless extensions.

make -C /lib/modules/3.16-0.bpo.3-amd64/build M=/home/dennis/Documents/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013 modules
make[1]: Entering directory `/usr/src/linux-headers-3.16-0.bpo.3-amd64'
make[1]: Entering directory `/usr/src/linux-headers-3.16-0.bpo.3-amd64'
  CC [M]  /home/dennis/Documents/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.o
In file included from /home/dennis/Documents/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.c:39:0:
/home/dennis/Documents/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/pci.h:247:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl_pci_probe’
/home/dennis/Documents/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.c: In function ‘_rtl_init_mac80211’:
/home/dennis/Documents/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.c:365:4: error: ‘struct ieee80211_hw’ has no member named ‘channel_change_time’
/home/dennis/Documents/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.c: In function ‘rtl_action_proc’:
/home/dennis/Documents/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.c:885:32: error: ‘struct ieee80211_conf’ has no member named ‘channel’
/home/dennis/Documents/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.c:886:32: error: ‘struct ieee80211_conf’ has no member named ‘channel’
/home/dennis/Documents/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.c: In function ‘rtl_beacon_statistic’:
/home/dennis/Documents/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.c:1160:2: error: implicit declaration of function ‘compare_ether_addr’ [-Werror=implicit-function-declaration]
/home/dennis/Documents/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.c: In function ‘rtl_send_smps_action’:
/home/dennis/Documents/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.c:1451:24: error: ‘struct ieee80211_conf’ has no member named ‘channel’
cc1: some warnings being treated as errors
make[4]: *** [/home/dennis/Documents/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.o] Error 1
make[3]: *** [_module_/home/dennis/Documents/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.16-0.bpo.3-amd64'
make: *** [all] Error 2

这就是当我尝试 make install root@debian:/home/dennis/Documents/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013# 时发生的情况

答案1

旧版本的 Linux 内核 (< 3.x)

找到这个线程,其中描述了下载 RTL8188EE 无线网卡驱动程序、编译它们并安装它们。

步骤摘录

  1. 从以下位置下载驱动程序瑞昱网站
  2. 解压、构建和安装

    $ tar jxvf linux_mac80211_0012.0207.2013.tar.bz2
    $ cd ~/Desktop/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013
    $ make
    $ sudo make install
    
  3. 加载内核模块(驱动程序)

    $ sudo modprobe -v rtl8188ee
    

较新版本的 Linux 内核 (> 3.x)

该驱动程序似乎已包含在内。我使用的是带有 3.14.x 的 Fedora 19,可以看到该模块已包含在内。

$ locate rtl8188ee | grep -v "debug" | grep .ko
/usr/lib/modules/3.14.13-100.fc19.x86_64/kernel/drivers/net/wireless/rtlwifi/rtl8188ee/rtl8188ee.ko
/usr/lib/modules/3.14.15-100.fc19.x86_64/kernel/drivers/net/wireless/rtlwifi/rtl8188ee/rtl8188ee.ko
/usr/lib/modules/3.14.23-100.fc19.x86_64/kernel/drivers/net/wireless/rtlwifi/rtl8188ee/rtl8188ee.ko

所以我会尝试手动加载驱动程序:

$ sudo modprobe -v rtl8188ee

Ubuntu 14.04 中的该驱动程序也存在此错误。

相关内容