前言
在研究rtl-adr的时候需要通过命令行的方式来显示一些结果,在非Kali Linux的环境下可能并没有那么顺利,这里就出现了 usb_claim_interface error -6 的问题,此文就是如何快速解决这个错误。
系统环境为elementary OS 0.4.1 Loki 64位,基于Ubuntu 16.04报错
执行命令
rtl_fm -f 8830000Hz显示错误
Kernel driver is active, or device is claimed by second instance of librtlsdr. In the first case, please either detach or blacklist the kernel module (dvb_usb_rtl28xxu), or enable automatic detaching at compile time. usb_claim_interface error -6 FATAL: Failed to open rtlsdr device.
大概的意思应该是跟驱动有关系
解决
通过搜索引擎找到一个靠谱的解决方法,链接地址 https://forums.hak5.org/topic/36314-rtl-sdr-stopped-working/ 其中有一个回复是
It looks like Ubuntu is automatically loading the builtin kernel module for the dvb tuner. Try running sudo rmmod dvb_usb_rtl28xxu and see if it works. It it does, then you can make the change permanent (after reboot) by creating "rtlsdr.conf" in "/etc/modprobe.d" and put blacklist dvb_usb_rtl28xxu in it. Hope that helps!意思应该是在 /etc/modprobe.d目录下创建rtlsdr.conf文件并写入
blacklist dvb_usb_rtl28xxu
按照提示操作后重启系统后问题解决,愉快的使用rtl_433进行嗅探解析
本文链接:https://www.92ez.com/?action=show&id=23482
!!! 转载请先联系non3gov@gmail.com授权并在显著位置注明作者和原文链接 !!! 小黑屋
提示:技术文章有一定的时效性,请先确认是否适用你当前的系统环境。
!!! 转载请先联系non3gov@gmail.com授权并在显著位置注明作者和原文链接 !!! 小黑屋
提示:技术文章有一定的时效性,请先确认是否适用你当前的系统环境。