安装dump1090

cd sdr/
sudo git clone git://github.com/antirez/dump1090.git
cd dump1090/
sudo make

如果报下面的错误:

Package librtlsdr was not found in the pkg-config search path.
Perhaps you should add the directory containing `librtlsdr.pc'
to the PKG_CONFIG_PATH environment variable
No package 'librtlsdr' found
cc -O2 -g -Wall -W  -c dump1090.c
dump1090.c:46:21: fatal error: rtl-sdr.h: No such file or directory

则在make之前执行:

sudo apt-get install librtlsdr-dev 
sudo apt-get install libusb-1.0-0-dev

插上RTL-SDR

./dump1090 --interactive

如果出现下面错误:

Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001
Using device 0: Terratec T Stick PLUS
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

运行

sudo rmmod dvb_usb_rtl28xxu

也不好使,那就在
/etc/modprobe.d
随便用sudo gedit 打开一个.conf的文件,在里面添加
blacklist dvb_usb_rtl28xxu
保存文件,重启虚拟机,应该就搞定了。

或者

./dump1090 --interactive --net

然后打开浏览器,输入

localhost:8080

长沙 28.21 113

  • 0
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 7
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 7
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值