SDR 서버 만들기: RTL-SDR과 우분투 서버에서의 설치 가이드
RTL-SDR을 이용한 SDR 서버 설치 방법. 우분투 서버에서 RTL-SDR 드라이버 설치부터 드라이버 변경까지, 단계별로 설명된 가이드. SDR 서버로 라디오, 인공위성, 비행기 통신 수신하기.

오늘은 sdr 서버를 설치해보려 한다.
먼저 sdr이 어떤건지 부터 알아보자!
sdr은 Software Defined Radio으로 무선 통신에서 변·복조 과정을 소프트웨어를 통하여 처리하는 기술이다. -나무위키-
이제 내가 사용할 장비를 적어보자
RTL-SDR을 사용할 것이며 알리에서 4~5만원에 구매하였다.
47726.0₩ 15% OFF|RTL SDR 블로그 RTL SDR V4 R828D RTL2832U 1PPM TCXO SMA RTLSDR 소프트웨어 정의 라디오, 다목적 다이폴 안테나 포함| | - AliExpress
Smarter Shopping, Better Living! Aliexpress.com



sdr 사진이다 - 안테나는 바꿔야할 듯!
기본적으로 sdr 프로그램은 여러 os에서 설치할 수 있지만 나는 수신은 서버에서 하고 여러 클라이언트가 사용할 수 있도록 우분투 서버에 sdr서버를 설치하였다.
이제 설치방법을 알아보자!
$ sudo apt-get install rtl-sdr
로 설치하고
$ rtl_tcp -a 0.0.0.0
실행하면 끝이지만 ....
내가 구매한 sdr의 드라이버가 포함되어 있지 않다.
그래서 실행해보면 인식은 되지만 정상적으로 전파가 수신되지 않는다.
따라서 rtl-sdr v4 가이드에 따라 드라이버를 변경해줄 것이다.
RTL-SDR Blog V4 Users Guide
This page serves to inform users about information relevant specifically to the RTL-SDR Blog V4. We encourage users to start with our quickstart guide in order to install the drivers and some common software first. RTL-SDR Blog V4 Drivers Because of required changes we made to the circuitry, new drivers are required for the RTL-SDR Blog V4. These drivers are backwards compatible with the RTL-SDR Blog V3 and older / other branded / generic RTL-SDR units as well. The upstream Osmocom code now has included our changes to make the RTL-SDR Blog V4 work. However, you may still need to

- Purge the previous driver:
sudo apt purge ^librtlsdr
sudo rm -rvf /usr/lib/librtlsdr* /usr/include/rtl-sdr* /usr/local/lib/librtlsdr* /usr/local/include/rtl-sdr* /usr/local/include/rtl_* /usr/local/bin/rtl_* - Install the RTL-SDR Blog drivers:
sudo apt-get install libusb-1.0-0-dev git cmake pkg-config
git clone https://github.com/rtlsdrblog/rtl-sdr-blog
cd rtl-sdr-blog
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make
sudo make install
sudo cp ../rtl-sdr.rules /etc/udev/rules.d/
sudo ldconfig - Blacklist the DVB-T TV drivers.
echo 'blacklist dvb_usb_rtl28xxu' | sudo tee --append /etc/modprobe.d/blacklist-dvb_usb_rtl28xxu.conf - Reboot
를 실행해주면 완벽하다.
이제 정상적으로 작동된다.
지금은 안테나가 조잡해서(?) 라디오만 수신하고 있지만
최종적으로는 인공위성에서 sstv로 수신도 해보고, 기상위성의 사진도 수신해보고 싶다. 또 기회가 되면 비행기통신도 받아보고 싶다 ㅎㅎ
결과 사진이다

