Creating a Web SDR with OpenWebRX and a 7-20$ SDR Dongle.

owxs-logo-big

 

For this you must have a Linux box or simply have a raspberry pi 2 running debian or other linux distros of choice. In this example we are going to focus on getting the device on your home network later we can talk how you will share this or post it onto your domain.

 

Items needed:

We first need to install some dependencies for this we will run this command on terminal


sudo apt-get install build-essential git libfftw3-dev cmake libusb-1.0-0-dev

Requesting the build rtl-sdr from github
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


cd ../..

We need to disable the DVB-T driver, which will prevent the rtl_sdr software from accessing the stick
Note that if you want to use it for DVB-T reception later, you should undo this.

sudo bash -c 'echo -e "\n# for RTL-SDR:\nblacklist dvb_usb_rtl28xxu\n" >> /etc/modprobe.d/blacklist.conf'


sudo rmmod dvb_usb_rtl28xxu # disable that kernel module for the current session

Lets download OpenWebRX and libcsdr (subdirectories will be created under the current directory).

git clone https://github.com/simonyiszk/openwebrx.git


git clone https://github.com/simonyiszk/csdr.git

Then compile libcsdr ,this is a dependency of OpenWebRX

cd csdr


make


sudo make install

Then we edit OpenWebRX config or leave defaults (This file is well commented out so you can see what you need to add and remove)

sudo nano ../openwebrx/config_webrx.py

Running OpenWebRX software from the terminal.

cd ../openwebrx


./openwebrx.py

One you have done these steps and modified your config file we have a working server and can hear and manipulate your SDR from your favorite browser.

If you do not know your browsers IP addy run this command on a new terminal window

sudo /sbin/ifconfig | grep 'inet addr:

After you have your local IP address navigate to your browser and input https://192.168.1.xxx:8073 the XXX should be change to your IP address or if you have a class A then use that instead of the Class C which is what normal routers come from their factories. The : Symbol tells the browser to go to a specific port in this case the default is 8073 unless you have specified a different port on OpenWebRX config file.

The Author of the software is HA7ILM. Please send him any bug reports and suggestions.

You can also share your SDR feeds on https://sdr.hu if you have a good working box, I would not suggest in on a raspberry pi. I have a limit set to 10 users. He will also be adding a Squelch feature and has added support for the Hackrf One there will be more support in the future as this project is currently on beta.

I have used this successfully to listen to the Wellington Radio Club Repeater and receive MBEMS MK632KL transmissions with no issues at all. This is great to get you hands dirty without having to spend any money then create this server and learn some code while also creating another Web Based SDR applet.

 

If you have any questions feel free to get in touch with me and I will assist. 

I will post more information when I have more time to spare. 
KM4OOD 73’s

UPDATE!

Youtube Video

**** Update 9/27/2016 ****

Its been a while that I have tocuhed this project once again. But I have a shell script that will get you operational in a matter of minutes… so grab a cup of joe and lets get started.

Copy Pasta this code into a nano file of your choice, i did openwebrx.sh then after do a chmod +x openwebrx.sh to make the file executable from within your linux box or pi and
voila it will start working for you. just add the ./openwebrx.sh to start the script. Script credit to ha7ilm

#Install dependencies
sudo apt-get install build-essential git libfftw3-dev cmake libusb-1.0-0-dev nmap
#nmap itself is not used by OpenWebRX at all, but we need to install it because the ncat tool is packaged with it.
#ncat is a netcat alternative which is used by OpenWebRX for internally distributing I/Q data,
# and also solves the incompatibility problems among netcat versions.

#Fetch and build rtl-sdr, skip if already done (subdirectories will be created under the current directory).
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
cd ../..

#Disable the DVB-T driver, which would prevent the rtl_sdr tool from accessing the stick
#(if you want to use it for DVB-T reception later, you should undo this change):
sudo bash -c 'echo -e "\n# for RTL-SDR:\nblacklist dvb_usb_rtl28xxu\n" >> /etc/modprobe.d/blacklist.conf'
sudo rmmod dvb_usb_rtl28xxu # disable that kernel module for the current session

#Download OpenWebRX and libcsdr (subdirectories will be created under the current directory).
git clone https://github.com/simonyiszk/openwebrx.git
git clone https://github.com/simonyiszk/csdr.git

#Compile libcsdr (which is a dependency of OpenWebRX)
cd csdr
make
sudo make install

#Edit OpenWebRX config or leave defaults
nano ../openwebrx/config_webrx.py

#Run OpenWebRX
cd ../openwebrx
./openwebrx.py

Leave a Reply

Your email address will not be published. Required fields are marked *