Closed mehdideveloper closed 9 years ago
Hi Mehdi!
The problem seems to be here:
[openwebrx-main] Started rtl thread: rtl_sdr -s 250000 -f 88000000 -p 0 - | nc -vvl 127.0.0.1 8888
(...)
listening on [any] 32928 ...
On different systems, different netcat versions exist, and sometimes they are not compatible with each other's commandline parameters. In this particular case netcat seems to start listening on port 32928 instead of 8888. I would be curious, which netcat do you have on your system (Hobbit's, GNU, ncat, etc.) and its version. Anyway, the nmap package used to have another netcat called ncat
. Could you try replacing nc
with ncat
in config_webrx.py
?
Thank you. It solved my problem! My nc version is "1.10-40"; I think it's GNU version (provided by default on Kali linux) There's another occurrence of "nc" in csdr plugin's chain function. Do I need to replace that with ncat too?
The other occurence in csdr/plugin.py
should work both with nc
and ncat
.
It is the problem with the -p
switch only when trying to get netcat listening on a port: the GNU version seems to require it, but others fail if we use it.
I am experiencing this problem using Beaglebone Black standard Debian. I have nc ver. '1.10-40' as well (apt-get from the standard repo, I think).
$ rtl_sdr -s 250000 -f 88000000 -p 0 - | nc -vvl 127.0.0.1 32928 listening on [any] 57019 ...Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001
Using device 0: Generic RTL2832U OEM Found Rafael Micro R820T tuner Exact sample rate is: 250000.000414 Hz Sampling at 250000 S/s. Tuned to 88000000 Hz. Tuner gain set to automatic. Reading samples in async mode...
-- no issue apparent to me. I'm not so clear what is happening on the other side of the connection. But changing the port number in the config*.py doesn't seem to help.
You just have to replace nc
with ncat
in config_webrx.py
, after setting up the nmap
package, which has the ncat
command:
sudo apt-get install nmap
Hi I've installed all the pre-requisites, disabled the kernel module and tested that "rtl_sdr - > /dev/null" actually works. Python version: 2.7.3 I don't have any activity (sound or waterfall) in my browser! Here's the output of "python openwebrx.py":
I have also tried running with root, but there's no difference.