我最近购买的 Leoxsys Nano 适配器在我的 Debian 中无法工作,但在我的 Ubuntu 中工作得很好。我尝试使用install.sh
驱动程序附带的脚本进行安装,但仍然没有成功。
这是(时间戳错误对于各种不同的文件重复的输出install.sh
。我删除了其中一些,因为帖子太长,你可以看到整个输出这里:
rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/hal/rtl8188e/usb/rtl8188eu_xmit.c
tar: rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/hal/rtl8188e/usb/rtl8188eu_xmit.c: time stamp 2012-11-16 13:06:39 is 280134634.419668702 s in the future
rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/hal/rtl8188e/usb/usb_halinit.c
tar: rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/hal/rtl8188e/usb/usb_halinit.c: time stamp 2012-11-16 13:06:39 is 280134634.417253308 s in the future
rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/hal/rtl8188e/usb/usb_ops_linux.c
tar: rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/hal/rtl8188e/usb/usb_ops_linux.c: time stamp 2012-11-16 13:06:39 is 280134634.416732716 s in the future
rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/ifcfg-wlan0
tar: rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/hal/rtl8188e/usb: time stamp 2012-11-16 13:06:39 is 280134634.41663481 s in the future
tar: rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/hal/rtl8188e: time stamp 2012-11-16 13:06:37 is 280134632.416591435 s in the future
tar: rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/hal: time stamp 2012-11-16 13:06:34 is 280134629.416553349 s in the future
tar: rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/ifcfg-wlan0: time stamp 2012-11-16 13:06:37 is 280134632.416436593 s in the future
rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/include/
rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/include/autoconf.h
tar: rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/include/autoconf.h: time stamp 2012-11-16 13:06:39 is 280134634.416238385 s in the future
rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/include/basic_types.h
tar: rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/include/basic_types.h: time stamp 2012-11-16 13:06:38 is 280134633.416090583 s in the future
rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/include/byteorder/
rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/include/byteorder/big_endian.h
tar: rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/include/byteorder/big_endian.h: time stamp 2012-11-16 13:06:38 is 280134633.415909986 s in the future
rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/include/byteorder/generic.h
tar: rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/include/byteorder/generic.h: time stamp 2012-11-16 13:06:38 is 280134633.415770465 s in the future
[...]
rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/include/rtw_xmit.h
tar: rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/include/rtw_xmit.h: time stamp 2012-11-16 13:06:38 is 280134633.360691402 s in the future
Please select card type(1/2):
1) RTL8188eus
2) RTL8189es
#? 1
You have selected RTL8188eus
rtw_version.h has existed!
Authentication requested [root] for make clean:
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/rtl8188e/usb ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/rtl8188e ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/OUTSRC/rtl8188e ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/OUTSRC/ ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
Authentication requested [root] for make driver:
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.2.0-4-686-pae/build M=/home/vivek/Linux/driver/rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116 modules
make: *** /lib/modules/3.2.0-4-686-pae/build: No such file or directory. Stop.
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
root@debian:/home/vivek/Linux#
答案1
很简单,正如消息所示,您没有指定的文件或目录。查看这链接,它是西班牙语的,但重要的部分是apt-get install linux-headers-$(uname -r)
,它将安装标头,以便您可以编译引用这些标头的程序。
答案2
在我看来,这是由测试/不稳定
firmware-realtek
包支持的。
内容中列出了以下内容。
* Realtek RTL8188EE firmware (rtlwifi/rtl8188efw.bin)
* Realtek RTL8188EU firmware (rtlwifi/rtl8188eufw.bin)
为什么不尝试一下呢?