Connecting with compression A SSH tunnel does not only have the advantage that nobody can listen in on your transfers, but also another neat feature of SSH…. compression. To add compression to your connection just add a -C to the command which you use to connect with.
다만 3.2MSPS로 설정시 50Mbps 정도 대역폭을 잡아 먹으니 원격지라면 적당히 설정하고 써야 할 듯.
(1.8MSPS 에서는 30Mbps
1MSPS 에서는 17.5Mbps
0.25MSPS 에서는 4.5Mbps)
메뉴에서 source를 선택하고 "RTL-SDR TCP"를 고른후
상단의 톱니를 누르면 RTL-TCP Settings라고 뜨는데
여기에 호스트를 라즈베리 파이로 설정해주면 된다.
아무생각없이 rtl_tcp로 실행했으면 아래와 같이 뜨는데
소켓이 127.0.0.1 로 떠서 로컬에서만 붙일 수 있으니
$ rtl_tcp Found 1 device(s): 0: Realtek, RTL2838UHIDIR, SN: 00000001
Using device 0: Generic RTL2832U OEM Detached kernel driver Found Fitipower FC0012 tuner Tuned to 100000000 Hz. listening... Use the device argument 'rtl_tcp=127.0.0.1:1234' in OsmoSDR (gr-osmosdr) source to receive samples in GRC and control rtl_tcp parameters (frequency, gain, ...). ^CSignal caught, exiting! Reattached kernel driver bye!
-a 0.0.0.0 을 주어 외부에서도 접속 가능하도록 설정한다.
$ rtl_tcp --help rtl_tcp: invalid option -- '-' rtl_tcp, an I/Q spectrum server for RTL2832 based DVB-T receivers
Usage: [-a listen address] [-p listen port (default: 1234)] [-f frequency to tune to [Hz]] [-g gain (default: 0 for auto)] [-s samplerate in Hz (default: 2048000 Hz)] [-b number of buffers (default: 15, set by library)] [-n max number of linked list buffers to keep (default: 500)] [-d device index (default: 0)] [-P ppm_error (default: 0)] [-T enable bias-T on GPIO PIN 0 (works for rtl-sdr.com v3 dongles)]