This post talks about rack mounting a RTL-SDR reciever attached to a raspberry pi into a 1U case. The donor case used was a used kramer broadcast 1110 balanced audio distributor, but any 1U case should work.
Parts Needed:
-
- 1U Case
- 5V 3A power supply (Mean Well RS-15-5)
- Raspberry Pi
- Class 10 SD Card
- rtl-sdr receiver with antenna
- Short 6″ ethernet patch cable
- panel mount ethernet jack (“search ebay for “ip68 ethernet”)
- Screws, wire, fuses, switches, etc…
Configuring the Raspberry PI:
-
- Get the Raspbian “lite” image from https://www.raspberrypi.org/downloads/raspbian/
- Install the image based on this guide: https://www.raspberrypi.org/documentation/installation/installing-images/README.md
- Find the SD card on the computer and add an empty file to it with the file name “ssh” (no extension). This will enable ssh on boot
- Power up the raspberry pi with ethernet connected.
- Find the address of the pi by port scanning with a tool like Nmap or looking at your routers DHCP allocation table.
- Use a tool like Putty to ssh into the pi on port 23. User name “pi” Password: “raspberry”
- Its a good idea to change the password when you log in using the passwd utility
- Optional: since this is going to be a headless install it would be a good idea to lower the video memory using raspi-config.
- Now run these commands to get Osmocom rtl-sdr up and running on the pi:
sudo apt-get update
sudo apt-get install git cmake build-essential libusb-1.0 libpulse-dev libx11-dev
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make
sudo make install
sudo ldconfig
- Now you should be able to run
rtl_tcp -a IpAddressOfPiGoesHere
If an error pop up likeFailed to open rtlsdr device #0.
runsudo rmmod dvb_usb_rtl28xxu rtl2832
This will prevent the pi from loading the stock drivers for the dongle. - The pi now can be used as a remote rtl-sdr server