怎么安装驱动!
发表于 : 2016-04-07 13:28
买了个UGREEN的USB2Ether的网卡,其驱动程序Linux文件夹下有4个文件:*.c/h,makefile,readme。
readme中提到:
------------
Prepare to build the driver, you need the Linux kernel sources installed on the
build machine, and make sure that the version of the running kernel must match
the installed kernel sources. If you don't have the kernel sources, you can get
it from www.kernel.org or contact to your Linux distributor. If you don't know
how to do, please refer to KERNEL-HOWTO.
Note: Please make sure the kernel is built with one of the "Support for
Host-side, EHCI, OHCI, or UHCI" option support.
------------
查了查Ubuntu14.04对应的Linux Kernel版本是3.13.5,可是找不到呀。
在终端执行make后,提示错误:
------------
make -C /lib/modules/3.13.0-83-generic/build SUBDIRS=/media/sf_Ubuntu_share/AX88179 modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-83-generic'
CC [M] /media/sf_Ubuntu_share/AX88179/ax88179_178a.o
/media/sf_Ubuntu_share/AX88179/ax88179_178a.o: Operation not permitted
/media/sf_Ubuntu_share/AX88179/ax88179_178a.o: failed
make[2]: *** [/media/sf_Ubuntu_share/AX88179/ax88179_178a.o] Error 1
make[1]: *** [_module_/media/sf_Ubuntu_share/AX88179] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-83-generic'
make: *** [default] Error 2
------------
各位,有什么好的建议吗?
readme中提到:
------------
Prepare to build the driver, you need the Linux kernel sources installed on the
build machine, and make sure that the version of the running kernel must match
the installed kernel sources. If you don't have the kernel sources, you can get
it from www.kernel.org or contact to your Linux distributor. If you don't know
how to do, please refer to KERNEL-HOWTO.
Note: Please make sure the kernel is built with one of the "Support for
Host-side, EHCI, OHCI, or UHCI" option support.
------------
查了查Ubuntu14.04对应的Linux Kernel版本是3.13.5,可是找不到呀。
在终端执行make后,提示错误:
------------
make -C /lib/modules/3.13.0-83-generic/build SUBDIRS=/media/sf_Ubuntu_share/AX88179 modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-83-generic'
CC [M] /media/sf_Ubuntu_share/AX88179/ax88179_178a.o
/media/sf_Ubuntu_share/AX88179/ax88179_178a.o: Operation not permitted
/media/sf_Ubuntu_share/AX88179/ax88179_178a.o: failed
make[2]: *** [/media/sf_Ubuntu_share/AX88179/ax88179_178a.o] Error 1
make[1]: *** [_module_/media/sf_Ubuntu_share/AX88179] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-83-generic'
make: *** [default] Error 2
------------
各位,有什么好的建议吗?