为什么 UbuntuMATE 中的驱动程序未认领我的 WiFi 卡?

为什么 UbuntuMATE 中的驱动程序未认领我的 WiFi 卡?

我的 Realtek 802.11n WiFi 卡未被驱动程序认领这里。我使用install.sh解压的tar.gz. UbuntuMATE 在 Raspberry Pi 2 上运行。

*-usb:4 UNCLAIMED
             description: Generic USB device
             product: 802.11n NIC
             vendor: Realtek
             physical id: 5
             bus info: usb@1:1.5
             version: 2.00
             serial: 00e04c000001
             capabilities: usb-2.10
             configuration: maxpower=500mA speed=480Mbit/s

上图是终端的结果sudo lshw,显示了无人认领的USB设备,即WiFi卡。

harrycburn@RPi:~$ sudo iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

harrycburn@RPi:~$ sudo ifconfig
eth0      Link encap:Ethernet  HWaddr b8:27:eb:3a:b4:5a  
          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)

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

跑步lsusb

harrycburn@RPi:~$ lsusb
Bus 001 Device 012: ID 0bda:818b Realtek Semiconductor Corp. 
Bus 001 Device 013: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 001 Device 007: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
Bus 001 Device 004: ID 1bcf:0005 Sunplus Innovation Technology Inc. 
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

运行lspci(我什至不确定这是否相关)给出:

pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method

运行install.sh出现错误:

tar: rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/wpa1.conf: time stamp 2012-04-05 03:42:09 is 1333588869.902553677 s in the future
tar: rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/wpa1.conf: Cannot change ownership to uid 400, gid 401: Operation not permitted
rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/xmit/
rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/xmit/rtl8712_xmit.c
tar: rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/xmit/rtl8712_xmit.c: time stamp 2012-04-05 03:42:13 is 1333588873.89712326 s in the future
tar: rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/xmit/rtl8712_xmit.c: Cannot change ownership to uid 400, gid 401: Operation not permitted
rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/xmit/rtl871x_xmit.c
tar: rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/xmit/rtl871x_xmit.c: time stamp 2012-04-05 03:42:13 is 1333588873.891775552 s in the future
tar: rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/xmit/rtl871x_xmit.c: Cannot change ownership to uid 400, gid 401: Operation not permitted
tar: rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/xmit: time stamp 2012-04-05 03:42:13 is 1333588873.890704718 s in the future
tar: rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/xmit: Cannot change ownership to uid 400, gid 401: Operation not permitted
tar: rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405: time stamp 2012-04-05 03:42:18 is 1333588878.889988364 s in the future
tar: rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405: Cannot change ownership to uid 400, gid 401: Operation not permitted
tar: Exiting with failure status due to previous errors
rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405
Authentication requested [root] for make clean:
bash: make: command not found
Authentication requested [root] for make driver:
bash: make: command not found
##################################################
Compile make driver error: 127
Please check error Mesg
##################################################

由于我总体上是 Linux 新手,所以我不知道从这里到哪里去,所以我将不胜感激任何帮助。如果您需要更多信息,请询问,我会发布。

答案1

我刚刚发现你的芯片实际上是rtl8192eu.据我所知,Ubuntu 的仓库中没有它的驱动程序。然而,正如 v0yAgEr 在 OSMC 论坛上提到的,该芯片有适用于内核版本 3.18 的驱动程序在 GitHub 上。我将 v0yAgEr 的教程修改为希望对您有用的方式:

  1. 安装build-essential

    • 从可以访问 Internet 的计算机,转到Ubuntu 软件包,下载build-essential,其依赖项及其依赖项的依赖项到名为的文件夹bldessen
    • 将该文件夹复制到您的 Pi,然后安装所有 debssudo cd bldessen && dkpg --install *.deb
  2. 从 GitHub 下载驱动程序(单击下载邮编按钮),复制到你的 Pi,然后解压:unzip rtl8192eu-master.zip

  3. 编译你的驱动程序:

    cd rtl8192eu-master
    make ARCH=arm
    sudo make ARCH=arm  install
    sudo bash -c 'echo "options 8192eu rtw_power_mgnt=0 rtw_enusbss=0">/etc/modprobe.d/8192eu.conf'
    
  4. 测试驱动是否加载:

    modprobe 8192eu
    modinfo 8192eu
    

相关内容