Skip to content

Instantly share code, notes, and snippets.

@PartTimeLegend
Created March 2, 2025 11:58
Show Gist options
  • Save PartTimeLegend/f0c255807278b503bbe002044af6cad4 to your computer and use it in GitHub Desktop.
Save PartTimeLegend/f0c255807278b503bbe002044af6cad4 to your computer and use it in GitHub Desktop.

Guide to Connecting the TGIF DMR Network to YSF, M17, D-STAR, and Other Digital Modes Using DVSwitch

Introduction

DVSwitch is a suite of tools that allows for cross-mode communication between various digital voice modes, including DMR, YSF, M17, and D-STAR. This guide will walk you through setting up a bridge between the TGIF DMR network and other digital modes using DVSwitch.

Prerequisites

  • A Raspberry Pi or Linux-based system running DVSwitch
  • A working installation of WPSD or Pi-Star
  • An account on the TGIF Network (https://tgif.network)
  • A valid DMR ID (from https://www.radioid.net)
  • A stable internet connection

Step 1: Install and Configure DVSwitch

  1. Download DVSwitch:
 sudo apt update
 sudo apt install dvswitch
  1. Edit Configuration Files:
    • Navigate to the configuration folder:
   cd /etc/dvswitch
   ```
 - Open `MMDVM_Bridge.ini` and configure the `[DMR]` section:

```ini
   [DMR]
   Enable=1
   Address=tgif.network
   Port=62031
   Password=passw0rd
   Jitter=300
   Slot=2
   ````
 - Set your `DMR_ID` in `DMRGateway.ini`:
   ```ini
   [General]
   DMR_ID=1234567  ; Your assigned DMR ID
   ```
 - Restart DVSwitch to apply the settings:
   ```sh
   sudo systemctl restart dvswitch
   ```

## Step 2: Bridge TGIF DMR to Other Modes

### YSF Bridging

1. **Edit `YSFGateway.ini`**:

```ini
 [Network]
 Enable=1
 Startup=TGIF
  1. Restart YSF Gateway:
 sudo systemctl restart ysfgateway

M17 Bridging

  1. Install M17 Reflector:

    sudo apt install m17reflector
  2. Configure M17Gateway.ini:

 [M17]
 Enable=1
 Address=m17.network
 Port=17000

D-STAR Bridging

  1. Edit DStarRepeater.ini:
 [DSTAR]
 Enable=1
 GatewayAddress=dstar.network
  1. Restart D-STAR Gateway:
 sudo systemctl restart dstarrepeater

Step 3: Testing and Troubleshooting

  • Check connection status:

    tail -f /var/log/dvswitch.log
  • Ensure ports are open:

    sudo netstat -tulnp | grep LISTEN
  • Use a second radio to test cross-mode communication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment