我正在尝试使用覆盆子pi型号b +(或任何覆盆子pi)上的RTL8188CUS芯片组启用USB wifi加密狗的监控模式.
$ lsusb
Bus 001 Device 005: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
$ sudo iwconfig wlan0 mode monitor
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.
Run Code Online (Sandbox Code Playgroud)
根据github / raspberrypi / linux/issues/369,您需要启用内核分发包含但未编译的rtlwifi/rtl8192cu内核模块.这需要对一些文件进行微小修改,如下面"STEP 2"中所述.
该线程中提到的USB问题已从4.1.6+开始解决,因此rtlwifi驱动程序应该可以工作.
在新鲜的覆盆子pi(模型B +)上重新创建的步骤......
第0步:将现有模块和内核更新到最新版本
$ sudo apt-get update
$ sudo rpi-update
$ uname -a
Linux raspberrypi 4.1.7+ #815 PREEMPT Thu Sep 17 17:59:24 BST 2015 armv6l GNU/Linux
Run Code Online (Sandbox Code Playgroud)
第1步:获取raspbian内核源代码并添加缺少的依赖项
$ git clone --depth=1 …Run Code Online (Sandbox Code Playgroud) 我写了一个R包来连接R和messageQueues,特别是activeMQ和rabbitMQ,所以所有的源都可以在这里找到:http://r-forge.r-project.org/projects/r-message-queue/
r-forge无法构建软件包,因此我在本地重新创建/调试,但我的本地构建在此过程中早于r-forge失败.
我正在运行64位windows7,64bit R v2.15.2.
如果我以错误的方式解决这个问题,请告诉我.
建立R包
$ R --verbose CMD build messageQueue
* checking for file 'messageQueue/DESCRIPTION' ... OK
* preparing 'messageQueue':
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building 'messageQueue_0.1.tar.gz'
cygwin warning:
MS-DOS style path detected: C:/Users/msm336/workspace_r/messageQueue_0.1.tar.gz
Preferred POSIX equivalent is: /cygdrive/c/Users/msm336/workspace_r/messageQueue_0.1.tar.gz
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about …Run Code Online (Sandbox Code Playgroud)