Pi-Star: Difference between revisions
Wrote step 1: change default password |
Started section on disabling password-based SSH |
||
| Line 14: | Line 14: | ||
* NXDN users need an NXDN 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 | * 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 [[GetStarted|44Net: Get Started]] for instructions. | If you haven't set up your Portal account or verified your callsign yet, see [[GetStarted|44Net: Get Started]] for instructions. | ||
| Line 21: | Line 22: | ||
[[File:Pi-star_change_password.png|A screenshot of the Pi-Star configuration menu showing the section for changing the remote access password. ]] | [[File:Pi-star_change_password.png|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 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 {{Term|WAN}}, but making this configuration change is good security practice anyway. SSH into your Pi-Star installation by running <code>ssh pi-star@<IP of device></code> in your terminal, or by navigating to <code>Expert > Tools > SSH Access</code> in the Pi-Star web interface. Then: | |||
# Run <code>rpi-rw</code> to switch the file system from read-only mode to read-write mode. | |||
# From your device (not the SSH session for Pi-Star), use <code>ssh-copy-id</code> to copy your SSH public key to Pi-Star: <code>ssh-copy-id pi-star@<ip of device></code>. If you don't have an SSH keypair, | |||
# Edit the <code>/etc/ssh/sshd_config</code> file using your terminal text editor of choice. Make sure to edit as superuser, such as <code>sudo nano /etc/ssh/sshd_config</code>. (Pi-Star includes <code>vi</code> and <code>nano</code> by default.) | |||
Revision as of 22:56, 30 October 2026
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.
Step 2: Disable password-based SSH
This step is 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:
- Run
rpi-rwto switch the file system from read-only mode to read-write mode. - From your device (not the SSH session for Pi-Star), use
ssh-copy-idto copy your SSH public key to Pi-Star:ssh-copy-id pi-star@<ip of device>. If you don't have an SSH keypair, - Edit the
/etc/ssh/sshd_configfile using your terminal text editor of choice. Make sure to edit as superuser, such assudo nano /etc/ssh/sshd_config. (Pi-Star includesviandnanoby default.)
- ↑ Repeater and reflector operators may find it useful to directly advertise 44Net addresses where possible to reduce latency.
