Announcement

Collapse
No announcement yet.

Automated installation of ModeSDeco2 on RPi

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Automated installation of ModeSDeco2 on RPi

    Automated installation of ModeSDeco2 on RPi 2/3/4 Raspbian Stretch/Buster

    Advantages

    (1) Easy installation - just copy and paste one command to run the bash script and it will do everything.

    (2) Auto start - the systemd service automatically starts it when loading / rebooting.

    (3) Simple monitoring and control - provides the commands systemctl, systemctl stop, systemctl start and systemctl restart.

    (4) Easy Setup - Provides a separate configuration file in a simple format, each configuration item on a separate line.

    DETAILED INSTALLATION INSTRUCTIONS:
    https://github.com/abcd567a/md2/blob/master/README.md


    TO UNINSTALL
    To uninstall completely and remove all files, give following 4 commands:
    Code:
    sudo systemctl stop md2
    sudo systemctl disable md2
    
    sudo rm /lib/systemd/system/md2.service
    sudo rm -rf /usr/share/md2
    Last edited by abcd567; 2019-09-21, 04:43.

  • #2
    Running ModeSDeco2 AND AcarSDeco2 on Same Pi

    If you want, ModeSDeco2 and AcarSDeco2 (Click Here) can be installed on the same RPi, provided:

    (1) Two DVB-T dongles are plugged into RPi, one for ModeSDeco2, other for AcarSDeco2.

    (2) The two dongles are serialized so that each software use its respective dongle+antenna. The dongles can be serialized, say 00000101 & 00000102. In addition, following to be added in config of the two softwares

    ModeSDeco2 config:
    --device-serial 00000101

    AcarSDeco2 config:
    --device-serial 00000102

    How to serialize dongles

    (1) Prepration
    Code:
    ## Install necessary tool
    sudo apt update
    sudo apt install rtl-sdr
    
    ## Stop all programs which use the dongle
    sudo systemctl stop md2 ad2
    (2) Serialize Dongle for ModeSDeco2
    Code:
    ## Plug the dvbt dongle you want to use for ModeSDeco2 (UNPLUG ALL OTHER Dongles)
    ## Issue following command. 
    ## The command will ask [y/n], type y for yes.
    
    rtl_eeprom -s 00000101
    
    ## Un-plug the dvb-t dongle
    (3) Serialize Dongle for AcarSDeco2
    Code:
    ## Plug the dvbt dongle you want to use for AcarSDeco2 (UNPLUG ALL OTHER Dongles)
    ## Issue following command. 
    ## The command will ask [y/n], type y for yes.
    
    rtl_eeprom -s 00000102
    
    ## Un-plug the dvb-t dongle
    (4) Now re-plug both dongles

    (5) Check that dongles have been correctly serialized
    Code:
    rtl_test -t
    (6) Reboot Pi to restore it to normal
    Code:
    sudo reboot
    Last edited by abcd567; 2019-09-28, 21:19.

    Comment

    Working...
    X