gr-scan Package Description

gr-scan is a program written in C++, and built upon GNU Radio, rtl-sdr, and the OsmoSDR Source Block. It is intended to scan a range of frequencies and print a list of discovered signals. It should work with any device that works with that block, including Realtek RTL2832U devices. This software was developed using a Compro U620F, which uses an E4000 tuner. That product doesn’t seem to be available on the US site, but the Newsky DVB-T Receiver (RTL2832U/E4000 Device) has good reviews.

Source: http://www.techmeology.co.uk/gr-scan/
gr-scan Homepage | Kali gr-scan Repo

  • Author: Nicholas Tomlinson
  • License: GPLv3

Tools included in the gr-scan package

gr-scan – Scans a range of frequencies and prints a list of discovered signals
[email protected]:~# gr-scan --help
linux; GNU C++ version 4.7.2; Boost_104900; UHD_003.005.003-0-unknown

Usage: gr-scan [OPTION...]

  -a, --average=COUNT        Average over COUNT samples
  -c, --coarse-bandwidth=FREQ   Bandwidth of the coarse window in kHz
  -f, --fine-bandwidth=FREQ  Bandwidth of the fine window in kHz
  -p, --time=TIME            Time in seconds to scan on each frequency
  -r, --sample-rate=RATE     Samplerate in Msamples/s
  -s, --spread=FREQ          Minimum frequency between detected signals
  -t, --threshold=POWER      Threshold for the difference between the coarse
                             and fine filtered signals in dB
  -w, --fft-width=COUNT      Width of FFT in samples
  -x, --start-frequency=FREQ Start frequency in MHz
  -y, --end-frequency=FREQ   End frequency in MHz
  -z, --step=FREQ            Increment step in MHz
  -?, --help                 Give this help list
      --usage                Give a short usage message
  -V, --version              Print program version

Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.

Report bugs to [email protected]

gr-scan Usage Example

Start scanning at 100 MHz (-x 100) and end at 105 MHz (-y 105), pausing for 5 seconds on each channel (-p 5):

[email protected]:~# gr-scan -x 100 -y 105 -p 5
linux; GNU C++ version 4.7.2; Boost_104900; UHD_003.005.003-0-unknown

gr-osmosdr v0.0.x-xxx-xunknown (0.0.3git) gnuradio 3.6.5.1
built-in source types: file fcd rtl rtl_tcp uhd hackrf
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
Using Volk machine: avx_64_mmx_orc
Exact sample rate is: 2000000.052982 Hz
gr_buffer::allocate_buffer: warning: tried to allocate
   4 items of size 16000. Due to alignment requirements
   32 were allocated.  If this isn't OK, consider padding
   your structure to a power-of-two bytes.
   On this platform, our allocation granularity is 4096 bytes.
gr_buffer::allocate_buffer: warning: tried to allocate
   16 items of size 8000. Due to alignment requirements
   64 were allocated.  If this isn't OK, consider padding
   your structure to a power-of-two bytes.
   On this platform, our allocation granularity is 4096 bytes.
gr_buffer::allocate_buffer: warning: tried to allocate
   8 items of size 8000. Due to alignment requirements
   64 were allocated.  If this isn't OK, consider padding
   your structure to a power-of-two bytes.
   On this platform, our allocation granularity is 4096 bytes.
gr_buffer::allocate_buffer: warning: tried to allocate
   8 items of size 8000. Due to alignment requirements
   64 were allocated.  If this isn't OK, consider padding
   your structure to a power-of-two bytes.
   On this platform, our allocation granularity is 4096 bytes.
00:00:01: Finished scanning 99.000000 MHz - 101.000000 MHz
[+] 00:00:01: Found signal: at 100.298500 MHz of width 63.000000 kHz, peak power -62.707417 dB (difference 8.297215 dB)
00:00:02: Finished scanning 99.000000 MHz - 101.000000 MHz
[+] 00:00:02: Found signal: at 99.299500 MHz of width 115.000000 kHz, peak power -74.849541 dB (difference 3.358849 dB)
00:00:03: Finished scanning 99.000000 MHz - 101.000000 MHz