Pi-Star

From 44Net Wiki
Revision as of 01:37, 7 November 2026 by KN6DWI (talk | contribs) (Added step 6: verify functionality)
Note
This page currently only has detailed setup and testing instructions for DMR, though the 44Net Connect setup instructions are not mode specific. If you have hardware for other digital voice modes, please edit this page and add testing instructions for other modes.

Pi-Star is a prebuilt Debian image for Raspberry Pi that includes Multi-Mode Digital Voice Modem (MMDVM), DMRGateway, and a web UI. It provides an easy way for users to construct a DIY hotspot using MMDVM, which supports DMR, D-Star, Yaesu System Fusion (YSF), M17, P25, POCSAG, and FM.

A static IPv4 address is not necessary for hotspot usage, but can be convenient for remote management so that dynamic DNS is not necessary. For those hosting a reflector or repeater, a static IP via 44Net Connect will prevent service interruptions caused by IP rotation, at the cost of a small latency increase.[1] 44Net Connect usage is not officially endorsed by Pi-Star, and requires manual iptables management.

What you need

  • A 44Net Portal account
  • A verified amateur radio callsign
  • A Raspberry Pi running Pi-Star (downloads and install guide here)
  • Some sort of internet access
  • Some sort of digital voice modem hardware (unless you intend to operate an internet-only reflector)
  • DMR users need a DMR ID from RadioID.net
  • NXDN users need an NXDN ID from RadioID.net
  • Users setting up a DMR or NXDN repeater need a Repeater ID from RadioID.net
  • An SSH keypair

If you haven't set up your Portal account or verified your callsign yet, see 44Net: Get Started for instructions.

Step 1: Change default password

After flashing your Pi-Star image and booting up your Pi, locate its IP address on the local network and navigate to that IP in your browser. You may be able to navigate to http://pi-star.local/admin/ instead, but resolution of .local domains depends on your LAN allowing mDNS. On first access, you'll be prompted to enter your login. The default username is pi-star and the default password is raspberry. Click on Configuration at the top, then scroll to the Remote Access Password section at the bottom. Use it to change your password to something non-default.

A screenshot of the Pi-Star configuration menu showing the section for changing the remote access password.

Step 2: Disable password-based SSH

This step is highly recommended, but not strictly necessary unless you're going to allow SSH from outside your LAN. The default Pi-Star network configuration does not allow SSH from WAN, but making this configuration change is good security practice anyway. SSH into your Pi-Star installation by running ssh pi-star@<IP of device> in your terminal, or by navigating to Expert > Tools > SSH Access in the Pi-Star web interface. Then:

  1. Run rpi-rw to switch the file system from read-only mode to read-write mode.
  2. From your device (not the SSH session for Pi-Star), use ssh-copy-id to copy your SSH public key to Pi-Star: ssh-copy-id pi-star@<ip of device>.
  3. SSH into Pi-Star to validate that your public key has been correctly added. It should not prompt you for a password. If it does, your key may not have been copied correctly, or you may be attempting to SSH with the wrong username.
  4. Edit the /etc/ssh/sshd_config file using your terminal text editor of choice. Make sure to edit as superuser, such as sudo nano /etc/ssh/sshd_config. (Pi-Star includes vi and nano by default.) Uncomment the line starting with PasswordAuthentication and change its value to no.
  5. Reload the config file and restart sshd using the following commands sudo systemctl daemon-reload && sudo systemctl restart sshd

Step 3: Secure auto AP

Pi-Star automatically generates a WiFi network for configuration, in case you can't connect it to ethernet. This network is necessarily open at first, but should be configured with a password immediately for security. Go to Configuration > Wireless Configuration > PSK and type your desired password in both boxes, then click Set PSK.

If your Pi is connected using ethernet, and you want to disable the automatic WiFi network entirely, go to Configuration > Firewall Configuration > Auto AP and set it to off. Click Apply Changes, then reboot the Pi by going to Power > Reboot.

Step 4: Customize MMDVMHost configuration

Go to Configuration > MMDVMHost Configuration and toggle on the modes you want to use. If you have a display, select the appropriate options for it. Click Apply Changes to save the settings.

Step 5 (Optional): Customize DMR Configuration

Main Page DMR Configuration

Under Config > DMR Configuration, select your preferred DMR master server and enter your DMR ID. If you want to connect to more than one DMR network, you'll need to set your DMR Master to DMRGateway, then configure your networks and talk group rewrites according to the next section. If you intend to use a color code other than the default setting of 1, change that here. After configuring, click Apply Changes.

DMRGateway Configuration

Go to Configuration > Expert in the top bar, then to Quick Edir > DMR GW. For each DMR network you want to use, change Enabled to 1. Fill in the password field with the password provided to you by the network, fill in your DMR ID, and set your TGRewrites as desired. The format is RF time slot, RF talk group, network time slot, network talk group, talk group number range. Settings on the RF side are what your radio should use, and they will be translated to the network side values by DMRGateway. The range specifies how large of a contiguous block of talk groups should be translated from the specified starting location. For a single talk group, set it to 1.

Example: 2, 1969, 2, 1969, 1 will translate TG 1969 on TS 2 on RF to TG 1969 on TS 2 in the network where this rewrite is set. This is an example of a rewrite for a single talkgroup.

Example: 2, 1100, 2, 100, 100 will translate TGs 1100-1200 on TS 2 on RF to TGs 100-200 on TS 2 in the network where this rewrite is set. This is an example of using a prefix for talk groups on the RF side, which can let you work around conflicting talk group numbers between different networks when you want to connect both to your hotspot.

The same syntax can be used in the PCRewrite field to translate private calls. If you want to use a network that is not included by default, you can overwrite one of the existing networks. If you want to use all the existing networks as well as additional ones, you'll have to go to Full Edit > DMR GW and add a new [DMR Network X] header for each additional network, where X is the next number not in use. Then, fill in the required fields present in other networks. If a network's configuration is missing desired fields, or doesn't have enough of an existing field such as TGRewrites, you'll have to go to Full Edit > DMR GW and add fields under that network's section.

After configuring each network, make sure to save that network's configuration with the Apply Changes button.

Step 6: Verify Functionality

To ease later troubleshooting of the WireGuard tunnel, verify that your MMDVMHost/DMRGateway configuration is functional before installing the tunnel. Key up with your radio on one of the configured talk group/time slot combos, and ensure your traffic is making it out to the network. This can be done using the network's parrot talk group, which plays your audio back to you, or ensuring your callsign appears on the network's "last heard" page.

Step 7: Install wireguard-tools

SSH into Pi-Star and run rpi-rw to make the filesystem writable. Then, run sudo apt update && sudo apt upgrade, let that finish, and run sudo apt install wireguard-tools.

Step 8: Set up 44Net Connect tunnel

  1. ↑ Repeater and reflector operators may find it useful to directly advertise 44Net addresses where possible to reduce latency.