Site Tools


buliding_openwebrx_server_using_rtl_sdr_v3_monitoring_hf
Flag Counter

Buliding OpenWebRX server using RTL-SDRv3 to monitoring HF

OpenWebRX is a multi-user SDR receiver that can be operated from any web browser without the need for any additional client software. It is the ideal solution to provide access to the HF spectrum at your location of choice to a wide audience. All you need is a computer, an SDR device and network access. OpenWebRX aims to support as many modulations and encodings as possible, while still focusing on an easy-to-use interface, so that even inexperienced users can explore the HF spectrum without the need to buy expensive radio equipment.
source : link

Requirement

  • Laptop/PC
  • Ubuntu 20.04 Focal
  • RTL-SDRv3
  • HF antenna

Step by step

  1. first, install docker using command bellow

    $ sudo apt-get install docker.io
    [sudo] password for iprit:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    docker.io is already the newest version (20.10.21-0ubuntu1~20.04.1).
    0 upgraded, 0 newly installed, 0 to remove and 241 not upgraded.

  2. build openwebrx using command bellow

    $ sudo docker volume create openwebrx-settings
    $ sudo docker run --device /dev/bus/usb -p 8073:8073 -v openwebrx-settings:/var/lib/openwebrx jketterl/openwebrx:stable

    Then type Ctrl+C

  3. to know our container id using command bellow:

    $ sudo docker container ls
    CONTAINER ID   IMAGE                       COMMAND   CREATED             STATUS          PORTS                                       NAMES
    d**********5   jketterl/openwebrx:stable   "/init"   About an hour ago   Up 31 minutes   0.0.0.0:8073->8073/tcp, :::8073->8073/tcp   dazzling_brahmagupta

  4. change container name dazzling_brahmagupta to openwebrx

    $ sudo docker container rename d**********5 openwebrx

  5. check if the container name has change

    $ sudo docker container ls
    CONTAINER ID   IMAGE                       COMMAND   CREATED             STATUS          PORTS                                       NAMES
    d**********5   jketterl/openwebrx:stable   "/init"   About an hour ago   Up 31 minutes   0.0.0.0:8073->8073/tcp, :::8073->8073/tcp   openwebrx

  6. now, start the container using this command:

    $ sudo docker start d**********5

  7. access the container using command bellow:

    $ sudo docker exec -ti d**********5 /bin/bash

  8. if we access our docker container, our role in the container is root (“#”), then update container for the first time:

    # apt update
    Hit:1 http://deb.debian.org/debian bullseye InRelease
    Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
    Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    16 packages can be upgraded. Run 'apt list --upgradable' to see them.

  9. next install text editor, I prefer using nano

    # apt install nano
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    nano is already the newest version (5.4-2+deb11u2).
    0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.

  10. edit the configuration file using this command

    # nano config_webrx.py

  11. in the section sdrs change the config like bellow

    sdrs = {
        "rtlsdr-hf": {
            "name": "RTL-SDR HF",
            "type": "rtl_sdr",
            "ppm": 0,
            # you can change this if you use an upconverter. formula is:
            # center_freq + lfo_offset = actual frequency on the sdr
            # "lfo_offset": 0,
            "profiles": {
                "3.5": {
                    "name": "80m - 3.5",
                    "center_freq": 3000000,
                    "rf_gain": "auto",
                    "samp_rate": 2400000,
                    "start_freq": 3000000,
                    "start_mod": "lsb",
    "direct_sampling": 2,
                },
                "7": {
                    "name": "40m - 7",
                    "center_freq": 7000000,
                    "rf_gain": "auto",
                    "samp_rate": 2400000,
                    "start_freq": 7000000,
                    "start_mod": "lsb",
    "direct_sampling": 2,
                },
                "10": {
                    "name": "30m - 10",
                    "center_freq": 10000000,
                    "rf_gain": 30,
                    "samp_rate": 2400000,
                    "start_freq": 10000000,
                    "start_mod": "usb",
                },
                "14": {
                    "name": "20m - 14",
                    "center_freq": 14000000,
                    "rf_gain": 30,
                    "samp_rate": 2400000,
                    "start_freq": 14000000,
                    "start_mod": "usb",
    "direct_sampling": 2,
                },
                "18": {
                    "name": "17m - 18",
                    "center_freq": 18000000,
                    "rf_gain": 30,
                    "samp_rate": 2400000,
                    "start_freq": 18000000,
                    "start_mod": "usb",
    "direct_sampling": 2,
                },
                "21": {
                    "name": "15m - 21",
                    "center_freq": 21000000,
                    "rf_gain": 30,
                    "samp_rate": 2400000,
                    "start_freq": 21000000,
                    "start_mod": "usb",
    "direct_sampling": 2,
                },
                "28": {
                    "name": "10m - 28",
                    "center_freq": 28000000,
                    "rf_gain": 30,
                    "samp_rate": 2400000,
                    "start_freq": 28000000,
                    "start_mod": "usb",
    "direct_sampling": 2,
                },
                "50": {
                    "name": "50",
                    "center_freq": 51000000,
                    "rf_gain": 30,
                    "samp_rate": 2400000,
                    "start_freq": 51000000,
                    "start_mod": "usb",
                },
                "69": {
                    "name": "69",
                    "center_freq": 69000000,
                    "rf_gain": 30,
                    "samp_rate": 2400000,
                    "start_freq": 69000000,
                    "start_mod": "nfm",
                },
            },
        },
    }

  12. add username and password for admin web run this command

    # ./openwebrx.py admin adduser YD1RUH
    Please enter the new password for YD1RUH: [type your password]
    Please confirm the new password: [re-type your password]
    Creating user YD1RUH...

    Then type Ctrl+D

  13. To take effect our configuration run this command:

    $ sudo docker restart d**********5

Result

buliding_openwebrx_server_using_rtl_sdr_v3_monitoring_hf.txt · Last modified: 2023/03/17 08:28 by baimramadhan

Page Tools