在Linux系统中启用WiFi加密狗时出错

时间:2016-01-24 10:59:30

标签: linux kernel wifi

我在内核3.16.1系统中启用WiFi加密狗驱动程序已经有一段时间了。我已经设法在编译内核后安装驱动程序(使用modprobe命令没有问题)但是我仍然遇到以下错误:

执行'ifconfig wlan1 up'或'ifup wlan1'时:

r8188eu 2-3:1.0: Direct firmware load failed with error -2
r8188eu 2-3:1.0: Falling back to user helper
SIOCSIFFLAGS: Operation not permitted
RTNETLINK answers: Operation not permitted

iwconfig的:

wlan1 unassociated Nickname:"<WIFI@REALTEK>" Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0

iwlist扫描:

wlan1     No scan results

我非常感谢这方面的任何帮助。显然/ etc / network / interfaces设置正确,因为这不是我第一次在linux系统上使用WiFi USB加密狗。谢谢!

1 个答案:

答案 0 :(得分:0)

原来我错过了驱动程序的固件二进制文件。

<强>解决方案:

sudo mkdir /lib/firmware/rtlwifi; sudo wget -O /lib/firmware/rtlwifi/rtl8188efw.bin https://github.com/OpenELEC/wlan-firmware/blob/master/firmware/rtlwifi/rtl8188efw.bin?raw=true

并重启。