怎么用买网卡自带的Linux网卡驱动文件在Linux上安装网卡驱动

1.我买的网卡名称: EDUP EP-MS1558 300M
2.送我的那个装驱动的光盘的名字:RTL8192EU
3.我想要安装到的Linux发行版名称:Kali Linux
4.光盘里的所有内容已经上传了:
链接: https://pan.baidu.com/s/1qYbV4Qw 密码: k6id

Authentication requested [root] for make driver:
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.12.0-kali1-amd64/build M=/root/Desktop/RTL8192EU_linux_v4.2.2_7585.20130524/driver/rtl8192EU_linux_v4.2.2_7585.20130524  modules
make[1]: Entering directory '/usr/src/linux-headers-4.12.0-kali1-amd64'
  CC [M]  /root/Desktop/RTL8192EU_linux_v4.2.2_7585.20130524/driver/rtl8192EU_linux_v4.2.2_7585.20130524/core/rtw_cmd.o
In file included from /root/Desktop/RTL8192EU_linux_v4.2.2_7585.20130524/driver/rtl8192EU_linux_v4.2.2_7585.20130524/include/drv_types.h:32:0,
                 from /root/Desktop/RTL8192EU_linux_v4.2.2_7585.20130524/driver/rtl8192EU_linux_v4.2.2_7585.20130524/core/rtw_cmd.c:22:
/root/Desktop/RTL8192EU_linux_v4.2.2_7585.20130524/driver/rtl8192EU_linux_v4.2.2_7585.20130524/include/osdep_service.h: In function ‘thread_enter’:
/root/Desktop/RTL8192EU_linux_v4.2.2_7585.20130524/driver/rtl8192EU_linux_v4.2.2_7585.20130524/include/osdep_service.h:251:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration]
  allow_signal(SIGTERM);
  ^~~~~~~~~~~~
/root/Desktop/RTL8192EU_linux_v4.2.2_7585.20130524/driver/rtl8192EU_linux_v4.2.2_7585.20130524/include/osdep_service.h: In function ‘flush_signals_thread’:
/root/Desktop/RTL8192EU_linux_v4.2.2_7585.20130524/driver/rtl8192EU_linux_v4.2.2_7585.20130524/include/osdep_service.h:261:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]
  if (signal_pending (current))
      ^~~~~~~~~~~~~~
/root/Desktop/RTL8192EU_linux_v4.2.2_7585.20130524/driver/rtl8192EU_linux_v4.2.2_7585.20130524/include/osdep_service.h:263:3: error: implicit declaration of function ‘flush_signals’ [-Werror=implicit-function-declaration]
   flush_signals(current);
   ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/root/Desktop/RTL8192EU_linux_v4.2.2_7585.20130524/driver/rtl8192EU_linux_v4.2.2_7585.20130524/core/rtw_cmd.o' failed
make[4]: *** [/root/Desktop/RTL8192EU_linux_v4.2.2_7585.20130524/driver/rtl8192EU_linux_v4.2.2_7585.20130524/core/rtw_cmd.o] Error 1
/usr/src/linux-headers-4.12.0-kali1-common/Makefile:1532: recipe for target '_module_/root/Desktop/RTL8192EU_linux_v4.2.2_7585.20130524/driver/rtl8192EU_linux_v4.2.2_7585.20130524' failed
make[3]: *** [_module_/root/Desktop/RTL8192EU_linux_v4.2.2_7585.20130524/driver/rtl8192EU_linux_v4.2.2_7585.20130524] Error 2
Makefile:152: 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.12.0-kali1-amd64'
Makefile:1043: recipe for target 'modules' failed
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
阅读 2.5k
评论
    2 个回答
    • 7.1k

    把iso镜像打个包发上来。可以上传到百度网盘之类的地方。

        撰写回答

        登录后参与交流、获取后续更新提醒

        相似问题
        推荐文章