Sorry, TGIF Network requires JavaScript to be enabled.

Help Centre / Hotspot configuration

Last updated · 5 December 2026

DMRGateway: correct and incorrect configurations

DMRGateway lets a hotspot connect to multiple DMR networks. Each enabled network entry authenticates separately. If you only use TGIF, direct TGIF master mode is simpler where supported. Current WPSD uses DMRGateway even for a single enabled network.

Use your dashboard's TGIF master selection and current security key. In multi-network mode, check that only the intended TGIF master connection is enabled. If you receive warnings, see why TGIF sends authentication warning emails.

Understanding talkgroup prefixes

WPSD uses prefix 5 for TGIF when it is a secondary network; if TGIF is primary, no prefix is applied in the default configuration. Some Pi-Star configurations use prefix 4; other arrangements are possible. The network section number is not the RF prefix. The actual rewrite rule determines the mapping.

Actual TGIF TG5-prefix example4-prefix example
433950043394004339
3166550316654031665

Use the matching group contact in your radio. The gateway translates that contact to the actual TGIF talkgroup. These padded IDs are not ordinary seven-digit TGIF talkgroups.

1. One intended TGIF entry versus an obsolete duplicate

Correct example

[DMR Network 4]
Enabled=1
Name=TGIF_Network
Address=tgif.network
Port=62031
Password=YOUR_CURRENT_TGIF_KEY
TGRewrite0=2,5000001,2,1,999999

One enabled TGIF connection using the correct credentials. The example TS2 group rewrite maps a 5-prefix range to TGIF group IDs.

Incorrect additional entry

[DMR Network 6]
Enabled=1
Name=Old_TGIF
Address=tgif.network
Port=62031
Password=OLD_OR_WRONG_KEY
TGRewrite0=2,7000001,2,1,999999

If enabled in addition to the first entry with the same effective endpoint ID, this obsolete entry can keep failing authentication while the first works. Disable an unused entry. Changing its RF prefix does not give it a separate endpoint identity.

Illustrative partial snippets based on published gateway documentation and anonymised support patterns, not complete configuration files. Keep the dashboard-generated ID, private-call, return-routing and parrot rules. Replace placeholders, not your entire file.

2. Matching rewrite rules to your codeplug

Correct for a 5-prefix codeplug

TGRewrite0=2,5000001,2,1,999999

Radio group contact 5031665 maps to TGIF 31665 on TS2.

Wrong for that same codeplug

TGRewrite0=2,4000001,2,1,999999

The 5031665 contact does not match this rule. A 4-prefix rule is valid with a matching codeplug. This routing error alone does not normally cause authentication failures.

3. Multiple physical hotspots

Correct: unique endpoint IDs

Hotspot A: 123456701
Hotspot B: 123456702

Each uses the appropriate security key for its identity and a different ESSID.

Incorrect: duplicate full ID

Hotspot A: 123456701
Hotspot B: 123456701

Session contention can cause disconnects. An old key on either device may produce repeated authentication failures.

4. Overlapping rewrite ranges

Correct: separate radio-side ranges

# TGIF network block
TGRewrite0=2,5000001,2,1,999999
# Other network block (illustrative)
TGRewrite0=2,4000001,2,1,999999

Each network claims a different radio-side range. Confirm the actual destination rules and supported ranges for both networks.

Incorrect: overlapping routes

# TGIF network block
TGRewrite0=2,5000001,2,1,999999
# Other network block
TGRewrite0=2,5000001,2,1,999999

Both networks claim the same radio-side range. This can cause unintended routing; it does not by itself cause password authentication failures.

How to check Pi-Star and WPSD

Open the illustrated Pi-Star and WPSD walkthrough.

  1. Open Configuration and inspect the selected DMR master mode. In DMRGateway mode, review every enabled network entry, including cross-mode connectors.
  2. Use the TGIF master from the current master list. Check host, UDP port, security key, authentication mode and effective full DMR ID.
  3. Review rewrite settings using the expert configuration or gateway manager appropriate to your software version. Ensure the radio uses matching group contacts and timeslots. Simplex examples here use TS2; duplex devices may also use TS1.
  4. Disable unused entries and obsolete clients. Apply changes once, then inspect the DMRGateway log. Confirm the TGIF connection is stable before enabling other intended networks one at a time.
  5. If repeated restarts or failures continue, send a redacted log and configuration to support. Never send security keys or passwords.

References: WPSD DMR operation · DMRGateway configuration · Rewrite rules · DMRGateway upstream

These examples are not live RF-tested. Firmware and dashboard versions can differ.

Next: Why am I receiving warning emails?