Obtain hardware (RTL2832U)
https://www.amazon.com/NooElec-NESDR-Mi ... C95&sr=8-3
Any of the RTL's should work, I even got this working with one of the flight aware ADSB dongles and its 1090 antenna!
Install Radio++ from Cinnamon Spices
- Right Click the Cinnamon Panel, choose Applets
- Click Download tab and search for Radio++
- Install
Add Station To Radio++
- Right Click the Radio applet icon on your Cinnamon Panel
- Choose Configure
- Click My Stations tab and click +
- Title: Local Radio - 90.3FM
- URL: http://127.0.0.1:3344/90300000/1
- Click OK
- Add another station to Radio++ for example 91.1FM: http://127.0.0.1:3344/91100000/1
Setup RTL-SDR
Open Terminal
If you have a working RTL SDR install from apt and everything is blacklisted in /etc/modprobe.d/blacklist-rtl.conf, use that rtl-sdr else:
Code: Select all
$ sudo apt remove rtl-sdr
$ sudo apt install -y git vlc sox cmake libffi-dev libev-dev libssl-dev build-essential libusb-1.0-0-dev pkg-config
$ mkdir -p ~/git
$ cd ~/git
Code: Select all
$ sudo git clone git://git.osmocom.org/rtl-sdr.git
$ cd rtl-sdr
$ sudo mkdir build
$ cd build
$ sudo cmake ../ -DINSTALL_UDEV_RULES=ON
$ sudo make
$ sudo make install
$ sudo cp ../rtl-sdr.rules /etc/udev/rules.d/
$ sudo ldconfig
Code: Select all
$ sudo touch /etc/modprobe.d/blacklist-rtl.conf
blacklist dvb_usb_rtl28xxu
blacklist rtl2832
blacklist rtl2830
Check entries and permissions in blacklist
Code: Select all
$ cat /etc/modprobe.d/blacklist-rtl.conf
$ sudo chown root /etc/modprobe.d/blacklist-rtl.conf
$ sudo chmod 644 /etc/modprobe.d/blacklist-rtl.conf
Code: Select all
$ reboot
Open terminal again
Code: Select all
$ sudo apt install -y libev-dev
$ cd ~/git
$ git clone https://github.com/AlbrechtL/rtl_fm_streamer.git
$ cd rtl_fm_streamer
$ mkdir build
$ cd build
$ cmake ../
$ make
$ sudo make install
Test The Reception
This may require some exploration to get the right frequency and antenna placement. For the FM Station 90.3Mhz:
Code: Select all
$ rtl_fm -f 90.3M -s 200k -E deemp | play -r 200k -t raw -e s -b 16 -c 1 -V1 - lowpass 16k
- So 90.3Mhz becomes 90300000
- Run the server on port 3344
Test The Server
Code: Select all
$ rtl_fm_streamer -d 0 -P 3344 -s 200k
- Hit Play
- If all is good in VLC you should be good for Radio++ too
Finally - Add Server To Autostart Apps
- In the Cinnamon Start Menu search for Startup Applications
- Click + and select Custom Command
- Name: Local Radio Server
- Command: rtl_fm_streamer -d 0 -P 3344 -s 200k
- Comment: FM to IP Radio Server
- Startup Delay: 30
Logout and back in again and wait for the streaming server to start on port 3344.
Now you can listen to local FM stations in Radio++! Note though that only one client can listen at a time, this is a limitation with rtl_fm_streamer. You can pipe the audio into icecast to listen to the same station from one dongle across multiple computers on the network.
In the US you might even be able to pick up your local weather tower:
https://www.weather.gov/nwr/Maps