zoukankan      html  css  js  c++  java
  • tenda u1 usb wireless device install driver for kali linux kernal Debian 4.3.3-7kali2 (2016-01-27) x86_64 GNU/Linux

    因为内核比较新的关系,tenda官方网站上面提供给u1无线网卡的驱动并不能正常编译使用,编译的时候报一个类似错误

    /usr/src/linux-headers-4.3.0-kali1-common/Makefile:1395: recipe for target '_module_/root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux' failed
    make[3]: *** [_module_/root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux] Error 2
    Makefile:146: recipe for target 'sub-make' failed
    make[2]: *** [sub-make] Error 2
    Makefile:8: recipe for target 'all' failed
    make[1]: *** [all] Error 2
    make[1]: Leaving directory '/usr/src/linux-headers-4.3.0-kali1-amd64'
    Makefile:394: recipe for target 'LINUX' failed
    make: *** [LINUX] Error 2

    对于一个除了安装以外极少使用gcc而且不常使用c的人来说,这种错误基本上是不可排除类型的错误。

    在google上搜索了很久没有找到特别好的办法,唯一可以确定的就是驱动跟系统内核版本对不上。所以会出错。

    最终还是万能的github派上用场,通过tenda官方提供的驱动确认了芯片(chipset)型号为Realtek 8192eu 于是上github上搜索相关比较新的还在维护的驱动找到

    https://github.com/Mange/rtl8192eu-linux-driver

    Realtek瑞昱rtl8192eu 这个chipset的驱动。看了一下最后更新的时间是2016.1月 而且面向的版本是4.30 我一看就知道有戏

    于是git clone  make  and make install

    这个时候出现

    install -p -m 644 8192eu.ko /lib/modules/4.3.0-kali1-amd64/kernel/drivers/net/wireless/sbin/depmod -a 4.3.0-kali1-amd64

    install it ,其实我并不知道-a是什么作用。看了一下install的help 也没有找到-a参数 不明白这里。

    我直接操作的前面但是提示没有简历sbin/depmod目录

    带上参数 或者 手动建立一下 再执行命令。然后点击回车,没有报错。 linux哲学没有报错就是成功。

    再次插上tenda u1网卡 发现kali 发现了wlan0 。大功告成。于是纪录一下。

    另外提一下 该芯片没有monitor mode模式。

    reference:

    https://sites.google.com/site/easylinuxtipsproject/reserve-7

    http://www.tendacn.com/en/product/specification/U1.html

    https://github.com/Mange/rtl8192eu-linux-driver(thanks a lot)

  • 相关阅读:
    Tomcat造成404
    ajax缺少@ResponseBody注解前台404,业务可以运行
    几种常见的Runtime Exception
    SQL注入通俗讲解
    MYSQL数据库导入大数据量sql文件失败的解决方案
    css选择器
    http端口
    基础算法之最大子列求和问题
    基础算法之链表逆序
    Prolog&Epilog
  • 原文地址:https://www.cnblogs.com/piperck/p/5537156.html
Copyright © 2011-2022 走看看