Setup A MMDVM Hotspot 20161212
Setup A MMDVM Hotspot 20161212
Setup A MMDVM Hotspot 20161212
A an g e maakt :
A u t e u r:
Lab e ls:
26/11/2016 10:41
Filip Verhoeve
DMR, Dstar, Fusion, HAM, Linux
Bijg e w e rkt :
12/12/2016 22:50
2. Use Win32 Disk Imager to save the Raspbian Jessie Lite on a 16 GB MicroSDHC card https://sourceforge.net/projects/win32diskimager/
3. Boot the Raspberry Pi 3 with a network connection and check the IP address in your router
login as: pi
raspberry@192.168.1.204's password:
raspberry
# sudo raspi-config
and reboot
# ls /home/
# dircolors --print-database > ~/.dircolors
# grep DIR .dircolors
Edit the .dircolors file
# nano .dircolors
Change DIR 01;34 # directory into DIR 01;33 # directory
# grep DIR .dircolors
# eval `dircolors ~/.dircolors`
# cd /opt/MMDVMHost
# sudo nano MMDVM.ini
[General]
Callsign=fill in your callsign
Timeout=180
Duplex=0
# ModeHang=10
# RFModeHang=10
RFModeHang=30
#(minimum 30sec required for Fusion)
NetModeHang=3
Display=Nextion #(in case Nextion display is used)
#Display=None
Daemon=0
[Info]
RXFrequency=433650000
TXFrequency=433650000
Power=1
Latitude=xx.xxxxxx
longitude=x.xxxxxx
Height=xx
Location=Describe your location
Description=Multi-Mode Repeater
URL=fill in your website (f.i. https://www.qrz.com/db/callsign)
[Log]
# Logging levels, 0=No logging
DisplayLevel=2
FileLevel=2
FilePath=/var/log/MMDVM
FileRoot=MMDVM
[CW Id]
Enable=1
Time=10
[DMR Id Lookup]
File=DMRIds.dat
Time=24
[Modem]
Port=/dev/ttyAMA0
# Port=/dev/ttyACM0
# Port=\\.\COM3
TXInvert=1
RXInvert=0
PTTInvert=0
TXDelay=100
DMRDelay=0
RXLevel=50
TXLevel=50
# CWIdTXLevel=50
# D-StarTXLevel=50
# DMRTXLevel=50
# YSFTXLevel=50
# P25TXLevel=50
OscOffset=0
RSSIMultiplier=1
RSSIOffset=10
Debug=0
[UMP]
Enable=0
# Port=\\.\COM4
Port=/dev/ttyACM1
[D-Star]
Enable=1
Module=B
SelfOnly=0
[DMR]
Enable=1
Beacons=1
Id=fill in your DMR ID XXXXXX
ColorCode=1
SelfOnly=0
# Prefixes=234,235
CallHang=3
TXHang=4
#Blacklist=
#DstIdBlackListSlot1RF=
#DstIdBlackListSlot2RF=
#DstIdWhiteListSlot1RF=
#DstIdWhiteListSlot2RF=
#DstIdBlackListSlot1NET=
#DstIdBlackListSlot2NET=
#DstIdWhiteListSlot1NET=
#DstIdWhiteListSlot2NET=
TGRewriteSlot1=0
TGRewriteSlot2=0
BMAutoRewrite=0
BMRewriteReflectorVoicePrompts=0
DirectDial=0
TargetTG=9
#RewriteMapSlot1=
#RewritemapSlot2=
[System Fusion]
Enable=1
RemoteGateway=0
[P25]
Enable=0
NAC=293
[D-Star Network]
Enable=1
GatewayAddress=127.0.0.1
GatewayPort=20010
LocalPort=20011
Debug=0
[DMR Network]
Enable=1
Address=81.95.127.156
Port=62031
Jitter=300
# Local=3350
Password=password
# Options=
RSSI=0
Slot1=0
Slot2=1
Debug=0
#LocalPort=13667
DimOnIdle=0
DisplayClock=1
UTC=0
15. Reboot the Raspberry Pi 3 and wait 60 seconds till MMDVMHost starts
Longitude=x.xxxxxx
Height=15
Name=Describe your location
Description=Multi-Mode Repeater
[Log]
# Logging levels, 0=No logging
DisplayLevel=2
FileLevel=2
FilePath=/var/log/YSFGateway
FileRoot=YSFGateway
[aprs.fi]
Enable=1
# Server=noam.aprs2.net
Server=euro.aprs2.net
Port=14580
Password=xxxx #(password can be checked with via http://apps.magicbug.co.uk/passcode/index.php)
[Network]
Enable=1
Port=42000
Hosts=/etc/YSFGateway/YSFHosts.txt
ReloadTime=60
ParrotAddress=127.0.0.1
ParrotPort=42000
# Startup=
Debug=0
YSFGateway
$all
2 3 4 5
0 1 6
Example startscript YSFGateway
#
### END INIT INFO
## Fill in name of program here.
PROG="YSFGateway"
PROG_PATH="/usr/local/bin/"
PROG_ARGS="/etc/YSFGateway/YSFGateway.ini"
PIDFILE="/var/run/YSFGateway.pid"
USER="root"
start() {
if [ -e $PIDFILE ]; then
## Program is running, exit with error.
echo "Error! $PROG is currently running!" 1>&2
exit 1
else
## Change from /dev/null to something like /var/log/$PROG if you want to save output.
sleep 20
cd $PROG_PATH
./$PROG $PROG_ARGS
echo "$PROG started"
touch $PIDFILE
fi
}
stop() {
if [ -e $PIDFILE ]; then
19. Install and connect your Nextion 2.4" LCD display using a USB to TTL UART converter type CP2102
-->
-->
-->
-->
GND
RXD
TXD
5V
20. Enjoy your MMDVM Host in DMR, Dstar and Fusion mode !
73,
Filip - ON3FV