Ok guys I am making a script to start my bridge however MMDVM_Bridge sails as it can not find Dvswich.ini how can I get around this .
|
|

Steve N4IRS
In you script change directory to where MMDVM_Bridge and
DVSwitch.ini are or use the existing systemd unit
/lib/systemd/system/mmdvm_bridge.system
systemctl start mmdvm_bridge
systemctl status mmdvm_bridge
systemctl stop mmdvm_bridge
Steve n4IRS
toggle quoted messageShow quoted text
On 07/21/2018 05:05 PM, Paul Nannery
KC2VRJ wrote:
Ok guys I am making
a script to start my bridge however MMDVM_Bridge sails as it can
not find Dvswich.ini how can I get around this .
|
|
here is what I'm trying to do maybe im reinventing the wheel a little bit but I was looking for one script to start everything I'm looking for in one script and named screens.
#!/bin/bash ############################ #Kill any running reflector# ############################ killall YSFReflector killall NXDNReflector killall P25Reflector killall Analog_Bridge killall MMDVM_Bridge ################## #Start Reflectors# ##################
screen -d -m -S YSFReflector /opt/YSFReflector/YSFReflector /opt/YSFReflector/YSFReflector.ini screen -d -m -S NXDNReflector /opt/NXDNReflector/NXDNReflector /opt/NXDNReflector/NXDNReflector.ini screen -d -m -S P25Reflector /opt/P25Reflector/P25Reflector /opt/P25Reflector/P25Reflector.ini ############## #Bridge Start# ############## screen -d -m -S Bridge /opt/Analog_Bridge/Analog_Bridge /opt/Analog_Bridge/Analog_Bridge.ini
cd /opt/MMDVM_Bridge/ screen -d -m -S MMDVM /opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini
#end
however it still looks for the DVswich.ini
toggle quoted messageShow quoted text
On Sat, Jul 21, 2018 at 5:14 PM, Steve N4IRS <szingman@...> wrote:
In you script change directory to where MMDVM_Bridge and
DVSwitch.ini are or use the existing systemd unit
/lib/systemd/system/mmdvm_ bridge.system
systemctl start mmdvm_bridge
systemctl status mmdvm_bridge
systemctl stop mmdvm_bridge
Steve n4IRS
On 07/21/2018 05:05 PM, Paul Nannery
KC2VRJ wrote:
Ok guys I am making
a script to start my bridge however MMDVM_Bridge sails as it can
not find Dvswich.ini how can I get around this .
|
|

Steve N4IRS
create a small script, call it bridge.sh
cd /opt/MMDVM_Bridge
/opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini
Then run:
screen -d -m -S MMDVM /path/to/bridge.sh
toggle quoted messageShow quoted text
On 07/21/2018 05:26 PM, Paul Nannery
KC2VRJ wrote:
here is what I'm trying to do maybe im reinventing the
wheel a little bit but I was looking for one script to start
everything I'm looking for in one script and named screens.
#!/bin/bash
############################
#Kill any running reflector#
############################
killall YSFReflector
killall NXDNReflector
killall P25Reflector
killall Analog_Bridge
killall MMDVM_Bridge
##################
#Start Reflectors#
##################
screen -d -m -S YSFReflector /opt/YSFReflector/YSFReflector
/opt/YSFReflector/YSFReflector.ini
screen -d -m -S NXDNReflector
/opt/NXDNReflector/NXDNReflector
/opt/NXDNReflector/NXDNReflector.ini
screen -d -m -S P25Reflector /opt/P25Reflector/P25Reflector
/opt/P25Reflector/P25Reflector.ini
##############
#Bridge Start#
##############
screen -d -m -S Bridge /opt/Analog_Bridge/Analog_Bridge
/opt/Analog_Bridge/Analog_Bridge.ini
cd /opt/MMDVM_Bridge/
screen -d -m -S MMDVM /opt/MMDVM_Bridge/MMDVM_Bridge
/opt/MMDVM_Bridge/MMDVM_Bridge.ini
#end
however it still looks for the DVswich.ini
|
|
thank you that worked. I'm not sure why it did not work directly in the main script but your method works thank you for the help.
toggle quoted messageShow quoted text
On Sat, Jul 21, 2018 at 5:32 PM, Steve N4IRS <szingman@...> wrote:
create a small script, call it bridge.sh
cd /opt/MMDVM_Bridge
/opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_ Bridge.ini
Then run:
screen -d -m -S MMDVM /path/to/bridge.sh
On 07/21/2018 05:26 PM, Paul Nannery
KC2VRJ wrote:
here is what I'm trying to do maybe im reinventing the
wheel a little bit but I was looking for one script to start
everything I'm looking for in one script and named screens.
#!/bin/bash
############################
#Kill any running reflector#
############################
killall YSFReflector
killall NXDNReflector
killall P25Reflector
killall Analog_Bridge
killall MMDVM_Bridge
##################
#Start Reflectors#
##################
screen -d -m -S YSFReflector /opt/YSFReflector/YSFReflector
/opt/YSFReflector/YSFReflector.ini
screen -d -m -S NXDNReflector
/opt/NXDNReflector/NXDNReflector
/opt/NXDNReflector/NXDNReflector.ini
screen -d -m -S P25Reflector /opt/P25Reflector/P25Reflector
/opt/P25Reflector/P25Reflector.ini
##############
#Bridge Start#
##############
screen -d -m -S Bridge /opt/Analog_Bridge/Analog_Bridge
/opt/Analog_Bridge/Analog_Bridge.ini
cd /opt/MMDVM_Bridge/
screen -d -m -S MMDVM /opt/MMDVM_Bridge/MMDVM_Bridge
/opt/MMDVM_Bridge/MMDVM_Bridge.ini
#end
however it still looks for the DVswich.ini
|
|
I'm having a similar issue but I want systemctl to handle the services. It worked perfectly for at least 2 months but after a reboot last night mmdvm_bridge won't run. When run from the console it complains about not finding DVSwitch.ini. When I run it from the console and specify where that .ini is I get a "cannot read the .ini file"
After hours with no progress I guess I need a life line.
|
|

Steve N4IRS
Can you post the file contents?
toggle quoted messageShow quoted text
On 8/15/2018 11:40 AM, Jeff Carrier
wrote:
I'm having a similar issue but I want systemctl to handle the
services. It worked perfectly for at least 2 months but after a
reboot last night mmdvm_bridge won't run. When run from the
console it complains about not finding DVSwitch.ini. When I run
it from the console and specify where that .ini is I get a "cannot
read the .ini file"
After hours with no progress I guess I need a life line.
|
|
certainly, I also copied dvswitch.ini to /etc/ and /opt/MMDMV_Bridge mmdvm_bridge.service
[Unit]
Description=MMDVM_Bridge Service
# Description=Place this file in /lib/systemd/system
# Description=N4IRS 04/20/2018
# The device name should point to the
# port the mmdvm is plugged into.
# For USB ports (Arduino Due)
# BindTo=dev-ttyACM0.device
#
# To make the network-online.target available
# systemctl enable systemd-networkd-wait-online.service
After=network-online.target syslog.target netcheck.service
Wants=network-online.target
[Service]
StandardOutput=null
WorkingDirectory=/opt/MMDVM_Bridge
RestartSec=3
ExecStart=/opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini
Restart=on-abort
[Install]
WantedBy=multi-user.target
dvswitch.ini
; MMDVM_Bridge export / import configuration file.
; This file should be placed along side of MMDVM_Bridge or it can be
; supplied as a path on the MMDVM_BRIDGE environment variable.
; Configure the Quantar Repeater Partner
; Note that the TX and RX ports are already reversed for MMDVM_Bridge <--> Quantar_Bridge
[QUANTAR]
;logFilePath = /var/log/Quantar_Bridge.log
;Address = 127.0.0.1 ; Address to send AMBE TLV frames to (export)
;TXPort = 34103 ; Port to send AMBE TLV frames to (export)
;RXPort = 34100 ; Port to listen on (import)
;quantarPort = 1994 ; HDLC frames To/From the Quantar repeater
;logLevel = 2 ; Show messages and above 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
;debug = 0 ; Debug 0 = off, 1 = on (adds lots of additional messages)
; Configure the DMR Partner
; Audio format is AMBE 72 bit
[DMR]
;Address = 127.0.0.1 ; Address to send AMBE TLV frames to (export)
;TXPort = 31100 ; Port to send AMBE TLV frames to (export)
;RXPort = 31103 ; Port to listen on (import)
;Slot = 2 ; Export slot
; Configure the D-Star Partner
; Audio format is AMBE 48 bit (DSAMBE)
[DSTAR]
;Address = 127.0.0.1 ; Address to send AMBE TLV frames to (export)
;TXPort = 32100 ; Port to send AMBE TLV frames to (export)
;RXPort = 32103 ; Port to listen on (import)
;FallbackID = 1234567 ; In case we can not find a valid DMR id in the database, export this one
;ExportTG = 9 ; Which TG to export
;Slot = 2 ; Export slot
; Configure the NXDN Partner
; Audio format is AMBE 72 bit
[NXDN]
;Address = 127.0.0.1 ; Address to send AMBE TLV frames to (export)
;TXPort = 33100 ; Port to send AMBE TLV frames to (export)
;RXPort = 33103 ; Port to listen on (import)
;FallbackID = 1234567 ; In case we can not find a valid DMR id in the database, export this one
;NXDNFallbackID = 12345 ; Use this ID when the input DMR ID is not found in the database
;Translate = 1234=4321 ; Translate NXDN TG < -- > DMR TG (bidirectional)
;Slot = 2 ; Export slot
; Configure the P25 Partner
; Audio format is IMBE 88 bit
[P25]
Address = 10.1.2.240 ; Address to send AMBE TLV frames to (export)
TXPort = 34100 ; Port to send AMBE TLV frames to (export)
RXPort = 34103 ; Port to listen on (import)
Slot = 2 ; Export slot
; Configure the Yaesu Fusion Partner
; Audio format is AMBE 72 bit
; Audio format is IMBE 88 bit
[YSF]
;Address = 127.0.0.1 ; Address to send AMBE TLV frames to (export)
;TXPort = 35100 ; Port to send AMBE TLV frames to (export)
;RXPort = 35103 ; Port to listen on (import)
;FallbackID = 1234567 ; In case we can not find a valid DMR id in the database, export this one
;ExportTG = 1234 ; Which TG to export
;Slot = 2 ; Export slot
MMDVM_Bridge.ini
[General]
Callsign=K0JSC
Id=310815
Timeout=180
Duplex=0
[Info]
RXFrequency=222340000
TXFrequency=224940000
Power=1
Latitude=41.7333
Longitude=-50.3999
Height=0
Location=Iceberg, North Atlantic
Description=MMDVM_Bridge
URL=https://groups.io/g/DVSwitch
[Log]
# Logging levels, 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
DisplayLevel=1
FileLevel=2
FilePath=/var/log/mmdvm
FileRoot=MMDVM_Bridge
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat
Time=24
[NXDN Id Lookup]
File=/var/lib/mmdvm/NXDN.csv
Time=24
[Modem]
Port=/dev/null
RSSIMappingFile=RSSI.dat
Trace=0
Debug=0
[D-Star]
Enable=0
Module=C
[DMR]
Enable=0
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0
[System Fusion]
Enable=0
[P25]
Enable=1
NAC=293
SelfOnly=0
OverrideUIDCheck=0
RemoteGateway=1
ModeHang=20
[NXDN]
Enable=0
RAN=1
Id=12345
[D-Star Network]
Enable=0
GatewayAddress=127.0.0.1
GatewayPort=20010
LocalPort=20011
Debug=0
[DMR Network]
Enable=0
Address=hblink.dvswitch.org
Port=62031
Jitter=360
Local=62032
Password=passw0rd
Slot1=1
Slot2=1
Debug=0
[System Fusion Network]
Enable=0
LocalAddress=0
LocalPort=3200
GatewayAddress=ysfreflector.dvswitch.org
GatewayPort=42166
Debug=0
[P25 Network]
Enable=1
GatewayAddress=127.0.0.1
GatewayPort=42020
LocalPort=32010
ModeHang=300
Debug=0
[NXDN Network]
Enable=0
#LocalAddress=127.0.0.1
Debug=0
LocalPort=14021
GatewayAddress=127.0.0.1
GatewayPort=14020
|
|

Steve N4IRS
Jeff,
MMDVM_Bridge will look for DVSwitch in the same directory as the
MMDVM_Bridge executable. (Unless you use the environment variable)
You can not pass DVSwitch.ini on the command line.
You can pass MMDVM_Bridge.ini on the command line.
So,
Make sure MMDVM_Bridge, DVSwitch.ini and MMDVM_Bridge.ini are in the
same directory
run:
MMDVM_Bridge MMDVM_Bridge.ini
If it does not work, please copy and past the output from
MMDVM_Bridge.
Steve
toggle quoted messageShow quoted text
On 8/15/2018 11:51 AM, Jeff Carrier
wrote:
certainly,
I also copied dvswitch.ini to /etc/ and /opt/MMDMV_Bridge
mmdvm_bridge.service
[Unit]
Description=MMDVM_Bridge Service
# Description=Place this file in /lib/systemd/system
# Description=N4IRS 04/20/2018
# The device name should point to the
# port the mmdvm is plugged into.
# For USB ports (Arduino Due)
# BindTo=dev-ttyACM0.device
#
# To make the network-online.target available
# systemctl enable systemd-networkd-wait-online.service
After=network-online.target syslog.target netcheck.service
Wants=network-online.target
[Service]
StandardOutput=null
WorkingDirectory=/opt/MMDVM_Bridge
RestartSec=3
ExecStart=/opt/MMDVM_Bridge/MMDVM_Bridge
/opt/MMDVM_Bridge/MMDVM_Bridge.ini
Restart=on-abort
[Install]
WantedBy=multi-user.target
dvswitch.ini
; MMDVM_Bridge export / import configuration file.
; This file should be placed along side of MMDVM_Bridge or
it can be
; supplied as a path on the MMDVM_BRIDGE environment
variable.
; Configure the Quantar Repeater Partner
; Note that the TX and RX ports are already reversed for
MMDVM_Bridge <--> Quantar_Bridge
[QUANTAR]
;logFilePath = /var/log/Quantar_Bridge.log
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 34103 ; Port to send AMBE TLV
frames to (export)
;RXPort = 34100 ; Port to listen on (import)
;quantarPort = 1994 ; HDLC frames To/From the
Quantar repeater
;logLevel = 2 ; Show messages and above
0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error,
6=Fatal
;debug = 0 ; Debug 0 = off, 1 = on
(adds lots of additional messages)
; Configure the DMR Partner
; Audio format is AMBE 72 bit
[DMR]
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 31100 ; Port to send AMBE TLV
frames to (export)
;RXPort = 31103 ; Port to listen on (import)
;Slot = 2 ; Export slot
; Configure the D-Star Partner
; Audio format is AMBE 48 bit (DSAMBE)
[DSTAR]
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 32100 ; Port to send AMBE TLV
frames to (export)
;RXPort = 32103 ; Port to listen on (import)
;FallbackID = 1234567 ; In case we can not find a
valid DMR id in the database, export this one
;ExportTG = 9 ; Which TG to export
;Slot = 2 ; Export slot
; Configure the NXDN Partner
; Audio format is AMBE 72 bit
[NXDN]
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 33100 ; Port to send AMBE TLV
frames to (export)
;RXPort = 33103 ; Port to listen on (import)
;FallbackID = 1234567 ; In case we can not find a
valid DMR id in the database, export this one
;NXDNFallbackID = 12345 ; Use this ID when the input
DMR ID is not found in the database
;Translate = 1234=4321 ; Translate NXDN TG < --
> DMR TG (bidirectional)
;Slot = 2 ; Export slot
; Configure the P25 Partner
; Audio format is IMBE 88 bit
[P25]
Address = 10.1.2.240 ; Address to send AMBE TLV
frames to (export)
TXPort = 34100 ; Port to send AMBE TLV
frames to (export)
RXPort = 34103 ; Port to listen on (import)
Slot = 2 ; Export slot
; Configure the Yaesu Fusion Partner
; Audio format is AMBE 72 bit
; Audio format is IMBE 88 bit
[YSF]
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 35100 ; Port to send AMBE TLV
frames to (export)
;RXPort = 35103 ; Port to listen on (import)
;FallbackID = 1234567 ; In case we can not find a
valid DMR id in the database, export this one
;ExportTG = 1234 ; Which TG to export
;Slot = 2 ; Export slot
MMDVM_Bridge.ini
[General]
Callsign=K0JSC
Id=310815
Timeout=180
Duplex=0
[Info]
RXFrequency=222340000
TXFrequency=224940000
Power=1
Latitude=41.7333
Longitude=-50.3999
Height=0
Location=Iceberg, North Atlantic
Description=MMDVM_Bridge
[Log]
# Logging levels, 0=No logging, 1=Debug, 2=Message, 3=Info,
4=Warning, 5=Error, 6=Fatal
DisplayLevel=1
FileLevel=2
FilePath=/var/log/mmdvm
FileRoot=MMDVM_Bridge
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat
Time=24
[NXDN Id Lookup]
File=/var/lib/mmdvm/NXDN.csv
Time=24
[Modem]
Port=/dev/null
RSSIMappingFile=RSSI.dat
Trace=0
Debug=0
[D-Star]
Enable=0
Module=C
[DMR]
Enable=0
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0
[System Fusion]
Enable=0
[P25]
Enable=1
NAC=293
SelfOnly=0
OverrideUIDCheck=0
RemoteGateway=1
ModeHang=20
[NXDN]
Enable=0
RAN=1
Id=12345
[D-Star Network]
Enable=0
GatewayAddress=127.0.0.1
GatewayPort=20010
LocalPort=20011
Debug=0
[DMR Network]
Enable=0
Address=hblink.dvswitch.org
Port=62031
Jitter=360
Local=62032
Password=passw0rd
Slot1=1
Slot2=1
Debug=0
[System Fusion Network]
Enable=0
LocalAddress=0
LocalPort=3200
GatewayAddress=ysfreflector.dvswitch.org
GatewayPort=42166
Debug=0
[P25 Network]
Enable=1
GatewayAddress=127.0.0.1
GatewayPort=42020
LocalPort=32010
ModeHang=300
Debug=0
[NXDN Network]
Enable=0
#LocalAddress=127.0.0.1
Debug=0
LocalPort=14021
GatewayAddress=127.0.0.1
GatewayPort=14020
|
|
It fails, here's the output.
root@28299:/opt/MMDVM_Bridge# ./MMDVM_Bridge MMDVM_Bridge.ini I: 2018-08-15 16:37:52.992 MMDVM_Bridge: I: 2018-08-15 16:37:52.993 Portions Copyright (C) 2018 DVSwitch, INAD. I: 2018-08-15 16:37:52.993 Hacks by Mike N4IRR and Steve N4IRS I: 2018-08-15 16:37:52.993 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- I: 2018-08-15 16:37:52.993 This software is for use on amateur radio networks only, I: 2018-08-15 16:37:52.993 it is to be used for educational purposes only. Its use on I: 2018-08-15 16:37:52.994 commercial networks is strictly prohibited. I: 2018-08-15 16:37:52.994 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others M: 2018-08-15 16:37:52.994 MMDVM_Bridge-20180423 is starting M: 2018-08-15 16:37:52.994 Built 15:47:01 May 30 2018 (GitID #9cdea41) I: 2018-08-15 16:37:52.995 General Parameters I: 2018-08-15 16:37:52.995 Callsign: K0JSC I: 2018-08-15 16:37:52.995 Id: 310815 I: 2018-08-15 16:37:52.995 Duplex: no I: 2018-08-15 16:37:52.996 Timeout: 180s I: 2018-08-15 16:37:52.996 D-Star: disabled I: 2018-08-15 16:37:52.996 DMR: disabled I: 2018-08-15 16:37:52.996 YSF: disabled I: 2018-08-15 16:37:52.997 P25: enabled I: 2018-08-15 16:37:52.997 NXDN: disabled I: 2018-08-15 16:37:52.997 Modem Parameters I: 2018-08-15 16:37:52.997 Port: /dev/null I: 2018-08-15 16:37:52.997 RX Invert: no I: 2018-08-15 16:37:52.997 TX Invert: no I: 2018-08-15 16:37:52.997 PTT Invert: no I: 2018-08-15 16:37:52.997 TX Delay: 100ms I: 2018-08-15 16:37:52.998 RX Offset: 0Hz I: 2018-08-15 16:37:52.998 TX Offset: 0Hz I: 2018-08-15 16:37:52.998 RX DC Offset: 0 I: 2018-08-15 16:37:52.998 TX DC Offset: 0 I: 2018-08-15 16:37:52.998 RF Level: 100.0% I: 2018-08-15 16:37:52.998 DMR Delay: 0 (0.0ms) I: 2018-08-15 16:37:52.998 RX Level: 50.0% I: 2018-08-15 16:37:52.998 CW Id TX Level: 50.0% I: 2018-08-15 16:37:52.998 D-Star TX Level: 50.0% I: 2018-08-15 16:37:52.998 DMR TX Level: 50.0% I: 2018-08-15 16:37:52.998 YSF TX Level: 50.0% I: 2018-08-15 16:37:52.998 P25 TX Level: 50.0% I: 2018-08-15 16:37:52.998 NXDN TX Level: 50.0% I: 2018-08-15 16:37:52.998 RX Frequency: 222340000Hz (222340000Hz) I: 2018-08-15 16:37:52.998 TX Frequency: 224940000Hz (224940000Hz) M: 2018-08-15 16:37:52.999 Opening the MMDVM I: 2018-08-15 16:37:52.999 Display Parameters I: 2018-08-15 16:37:52.999 Type: I: 2018-08-15 16:37:52.999 P25 Network Parameters I: 2018-08-15 16:37:52.999 Gateway Address: 127.0.0.1 I: 2018-08-15 16:37:52.999 Gateway Port: 42020 I: 2018-08-15 16:37:52.999 Local Port: 32010 I: 2018-08-15 16:37:52.999 Mode Hang: 300s M: 2018-08-15 16:37:53.000 P25, Opening INI file: DVSwitch.ini E: 2018-08-15 16:37:53.000 P25, ini file "DVSwitch.ini" was not found. Fatal error exiting root@28299:/opt/MMDVM_Bridge#
toggle quoted messageShow quoted text
On Wed, Aug 15, 2018 at 10:27 AM Steve N4IRS < szingman@...> wrote:
Jeff,
MMDVM_Bridge will look for DVSwitch in the same directory as the
MMDVM_Bridge executable. (Unless you use the environment variable)
You can not pass DVSwitch.ini on the command line.
You can pass MMDVM_Bridge.ini on the command line.
So,
Make sure MMDVM_Bridge, DVSwitch.ini and MMDVM_Bridge.ini are in the
same directory
run:
MMDVM_Bridge MMDVM_Bridge.ini
If it does not work, please copy and past the output from
MMDVM_Bridge.
Steve
On 8/15/2018 11:51 AM, Jeff Carrier
wrote:
certainly,
I also copied dvswitch.ini to /etc/ and /opt/MMDMV_Bridge
mmdvm_bridge.service
[Unit]
Description=MMDVM_Bridge Service
# Description=Place this file in /lib/systemd/system
# Description=N4IRS 04/20/2018
# The device name should point to the
# port the mmdvm is plugged into.
# For USB ports (Arduino Due)
# BindTo=dev-ttyACM0.device
#
# To make the network-online.target available
# systemctl enable systemd-networkd-wait-online.service
After=network-online.target syslog.target netcheck.service
Wants=network-online.target
[Service]
StandardOutput=null
WorkingDirectory=/opt/MMDVM_Bridge
RestartSec=3
ExecStart=/opt/MMDVM_Bridge/MMDVM_Bridge
/opt/MMDVM_Bridge/MMDVM_Bridge.ini
Restart=on-abort
[Install]
WantedBy=multi-user.target
dvswitch.ini
; MMDVM_Bridge export / import configuration file.
; This file should be placed along side of MMDVM_Bridge or
it can be
; supplied as a path on the MMDVM_BRIDGE environment
variable.
; Configure the Quantar Repeater Partner
; Note that the TX and RX ports are already reversed for
MMDVM_Bridge <--> Quantar_Bridge
[QUANTAR]
;logFilePath = /var/log/Quantar_Bridge.log
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 34103 ; Port to send AMBE TLV
frames to (export)
;RXPort = 34100 ; Port to listen on (import)
;quantarPort = 1994 ; HDLC frames To/From the
Quantar repeater
;logLevel = 2 ; Show messages and above
0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error,
6=Fatal
;debug = 0 ; Debug 0 = off, 1 = on
(adds lots of additional messages)
; Configure the DMR Partner
; Audio format is AMBE 72 bit
[DMR]
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 31100 ; Port to send AMBE TLV
frames to (export)
;RXPort = 31103 ; Port to listen on (import)
;Slot = 2 ; Export slot
; Configure the D-Star Partner
; Audio format is AMBE 48 bit (DSAMBE)
[DSTAR]
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 32100 ; Port to send AMBE TLV
frames to (export)
;RXPort = 32103 ; Port to listen on (import)
;FallbackID = 1234567 ; In case we can not find a
valid DMR id in the database, export this one
;ExportTG = 9 ; Which TG to export
;Slot = 2 ; Export slot
; Configure the NXDN Partner
; Audio format is AMBE 72 bit
[NXDN]
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 33100 ; Port to send AMBE TLV
frames to (export)
;RXPort = 33103 ; Port to listen on (import)
;FallbackID = 1234567 ; In case we can not find a
valid DMR id in the database, export this one
;NXDNFallbackID = 12345 ; Use this ID when the input
DMR ID is not found in the database
;Translate = 1234=4321 ; Translate NXDN TG < --
> DMR TG (bidirectional)
;Slot = 2 ; Export slot
; Configure the P25 Partner
; Audio format is IMBE 88 bit
[P25]
Address = 10.1.2.240 ; Address to send AMBE TLV
frames to (export)
TXPort = 34100 ; Port to send AMBE TLV
frames to (export)
RXPort = 34103 ; Port to listen on (import)
Slot = 2 ; Export slot
; Configure the Yaesu Fusion Partner
; Audio format is AMBE 72 bit
; Audio format is IMBE 88 bit
[YSF]
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 35100 ; Port to send AMBE TLV
frames to (export)
;RXPort = 35103 ; Port to listen on (import)
;FallbackID = 1234567 ; In case we can not find a
valid DMR id in the database, export this one
;ExportTG = 1234 ; Which TG to export
;Slot = 2 ; Export slot
MMDVM_Bridge.ini
[General]
Callsign=K0JSC
Id=310815
Timeout=180
Duplex=0
[Info]
RXFrequency=222340000
TXFrequency=224940000
Power=1
Latitude=41.7333
Longitude=-50.3999
Height=0
Location=Iceberg, North Atlantic
Description=MMDVM_Bridge
[Log]
# Logging levels, 0=No logging, 1=Debug, 2=Message, 3=Info,
4=Warning, 5=Error, 6=Fatal
DisplayLevel=1
FileLevel=2
FilePath=/var/log/mmdvm
FileRoot=MMDVM_Bridge
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat
Time=24
[NXDN Id Lookup]
File=/var/lib/mmdvm/NXDN.csv
Time=24
[Modem]
Port=/dev/null
RSSIMappingFile=RSSI.dat
Trace=0
Debug=0
[D-Star]
Enable=0
Module=C
[DMR]
Enable=0
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0
[System Fusion]
Enable=0
[P25]
Enable=1
NAC=293
SelfOnly=0
OverrideUIDCheck=0
RemoteGateway=1
ModeHang=20
[NXDN]
Enable=0
RAN=1
Id=12345
[D-Star Network]
Enable=0
GatewayAddress=127.0.0.1
GatewayPort=20010
LocalPort=20011
Debug=0
[DMR Network]
Enable=0
Port=62031
Jitter=360
Local=62032
Password=passw0rd
Slot1=1
Slot2=1
Debug=0
[System Fusion Network]
Enable=0
LocalAddress=0
LocalPort=3200
GatewayPort=42166
Debug=0
[P25 Network]
Enable=1
GatewayAddress=127.0.0.1
GatewayPort=42020
LocalPort=32010
ModeHang=300
Debug=0
[NXDN Network]
Enable=0
#LocalAddress=127.0.0.1
Debug=0
LocalPort=14021
GatewayAddress=127.0.0.1
GatewayPort=14020
|
|

Steve N4IRS
Show me the directory.
toggle quoted messageShow quoted text
On 8/15/2018 12:38 PM, Jeff Carrier
wrote:
It fails, here's the output.
root@28299:/opt/MMDVM_Bridge# ./MMDVM_Bridge
MMDVM_Bridge.ini
I: 2018-08-15 16:37:52.992 MMDVM_Bridge:
I: 2018-08-15 16:37:52.993 Portions Copyright (C) 2018
DVSwitch, INAD.
I: 2018-08-15 16:37:52.993 Hacks by Mike N4IRR and Steve
N4IRS
I: 2018-08-15 16:37:52.993
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2018-08-15 16:37:52.993 This software is for use on
amateur radio networks only,
I: 2018-08-15 16:37:52.993 it is to be used for
educational purposes only. Its use on
I: 2018-08-15 16:37:52.994 commercial networks is
strictly prohibited.
I: 2018-08-15 16:37:52.994 Copyright(C) 2015-2018 by
Jonathan Naylor, G4KLX and others
M: 2018-08-15 16:37:52.994 MMDVM_Bridge-20180423 is
starting
M: 2018-08-15 16:37:52.994 Built 15:47:01 May 30 2018
(GitID #9cdea41)
I: 2018-08-15 16:37:52.995 General Parameters
I: 2018-08-15 16:37:52.995 Callsign: K0JSC
I: 2018-08-15 16:37:52.995 Id: 310815
I: 2018-08-15 16:37:52.995 Duplex: no
I: 2018-08-15 16:37:52.996 Timeout: 180s
I: 2018-08-15 16:37:52.996 D-Star: disabled
I: 2018-08-15 16:37:52.996 DMR: disabled
I: 2018-08-15 16:37:52.996 YSF: disabled
I: 2018-08-15 16:37:52.997 P25: enabled
I: 2018-08-15 16:37:52.997 NXDN: disabled
I: 2018-08-15 16:37:52.997 Modem Parameters
I: 2018-08-15 16:37:52.997 Port: /dev/null
I: 2018-08-15 16:37:52.997 RX Invert: no
I: 2018-08-15 16:37:52.997 TX Invert: no
I: 2018-08-15 16:37:52.997 PTT Invert: no
I: 2018-08-15 16:37:52.997 TX Delay: 100ms
I: 2018-08-15 16:37:52.998 RX Offset: 0Hz
I: 2018-08-15 16:37:52.998 TX Offset: 0Hz
I: 2018-08-15 16:37:52.998 RX DC Offset: 0
I: 2018-08-15 16:37:52.998 TX DC Offset: 0
I: 2018-08-15 16:37:52.998 RF Level: 100.0%
I: 2018-08-15 16:37:52.998 DMR Delay: 0 (0.0ms)
I: 2018-08-15 16:37:52.998 RX Level: 50.0%
I: 2018-08-15 16:37:52.998 CW Id TX Level: 50.0%
I: 2018-08-15 16:37:52.998 D-Star TX Level: 50.0%
I: 2018-08-15 16:37:52.998 DMR TX Level: 50.0%
I: 2018-08-15 16:37:52.998 YSF TX Level: 50.0%
I: 2018-08-15 16:37:52.998 P25 TX Level: 50.0%
I: 2018-08-15 16:37:52.998 NXDN TX Level: 50.0%
I: 2018-08-15 16:37:52.998 RX Frequency: 222340000Hz
(222340000Hz)
I: 2018-08-15 16:37:52.998 TX Frequency: 224940000Hz
(224940000Hz)
M: 2018-08-15 16:37:52.999 Opening the MMDVM
I: 2018-08-15 16:37:52.999 Display Parameters
I: 2018-08-15 16:37:52.999 Type:
I: 2018-08-15 16:37:52.999 P25 Network Parameters
I: 2018-08-15 16:37:52.999 Gateway Address: 127.0.0.1
I: 2018-08-15 16:37:52.999 Gateway Port: 42020
I: 2018-08-15 16:37:52.999 Local Port: 32010
I: 2018-08-15 16:37:52.999 Mode Hang: 300s
M: 2018-08-15 16:37:53.000 P25, Opening INI file:
DVSwitch.ini
E: 2018-08-15 16:37:53.000 P25, ini file "DVSwitch.ini"
was not found. Fatal error exiting
root@28299:/opt/MMDVM_Bridge#
On Wed, Aug 15, 2018 at 10:27 AM Steve N4IRS < szingman@...>
wrote:
Jeff,
MMDVM_Bridge will look for DVSwitch in the same directory as
the MMDVM_Bridge executable. (Unless you use the environment
variable) You can not pass DVSwitch.ini on the command line.
You can pass MMDVM_Bridge.ini on the command line.
So,
Make sure MMDVM_Bridge, DVSwitch.ini and MMDVM_Bridge.ini
are in the same directory
run:
MMDVM_Bridge MMDVM_Bridge.ini
If it does not work, please copy and past the output from
MMDVM_Bridge.
Steve
On
8/15/2018 11:51 AM, Jeff Carrier wrote:
certainly,
I also copied dvswitch.ini to /etc/ and /opt/MMDMV_Bridge
mmdvm_bridge.service
[Unit]
Description=MMDVM_Bridge Service
# Description=Place this file in /lib/systemd/system
# Description=N4IRS 04/20/2018
# The device name should point to the
# port the mmdvm is plugged into.
# For USB ports (Arduino Due)
# BindTo=dev-ttyACM0.device
#
# To make the network-online.target available
# systemctl enable
systemd-networkd-wait-online.service
After=network-online.target syslog.target
netcheck.service
Wants=network-online.target
[Service]
StandardOutput=null
WorkingDirectory=/opt/MMDVM_Bridge
RestartSec=3
ExecStart=/opt/MMDVM_Bridge/MMDVM_Bridge
/opt/MMDVM_Bridge/MMDVM_Bridge.ini
Restart=on-abort
[Install]
WantedBy=multi-user.target
dvswitch.ini
; MMDVM_Bridge export / import configuration file.
; This file should be placed along side of
MMDVM_Bridge or it can be
; supplied as a path on the MMDVM_BRIDGE
environment variable.
; Configure the Quantar Repeater Partner
; Note that the TX and RX ports are already reversed
for MMDVM_Bridge <--> Quantar_Bridge
[QUANTAR]
;logFilePath = /var/log/Quantar_Bridge.log
;Address = 127.0.0.1 ; Address to send
AMBE TLV frames to (export)
;TXPort = 34103 ; Port to send AMBE
TLV frames to (export)
;RXPort = 34100 ; Port to listen on
(import)
;quantarPort = 1994 ; HDLC frames
To/From the Quantar repeater
;logLevel = 2 ; Show messages and
above 0=No logging, 1=Debug, 2=Message, 3=Info,
4=Warning, 5=Error, 6=Fatal
;debug = 0 ; Debug 0 = off, 1 =
on (adds lots of additional messages)
; Configure the DMR Partner
; Audio format is AMBE 72 bit
[DMR]
;Address = 127.0.0.1 ; Address to send
AMBE TLV frames to (export)
;TXPort = 31100 ; Port to send AMBE
TLV frames to (export)
;RXPort = 31103 ; Port to listen on
(import)
;Slot = 2 ; Export slot
; Configure the D-Star Partner
; Audio format is AMBE 48 bit (DSAMBE)
[DSTAR]
;Address = 127.0.0.1 ; Address to send
AMBE TLV frames to (export)
;TXPort = 32100 ; Port to send AMBE
TLV frames to (export)
;RXPort = 32103 ; Port to listen on
(import)
;FallbackID = 1234567 ; In case we can not
find a valid DMR id in the database, export this one
;ExportTG = 9 ; Which TG to export
;Slot = 2 ; Export slot
; Configure the NXDN Partner
; Audio format is AMBE 72 bit
[NXDN]
;Address = 127.0.0.1 ; Address to send
AMBE TLV frames to (export)
;TXPort = 33100 ; Port to send AMBE
TLV frames to (export)
;RXPort = 33103 ; Port to listen on
(import)
;FallbackID = 1234567 ; In case we can not
find a valid DMR id in the database, export this one
;NXDNFallbackID = 12345 ; Use this ID when
the input DMR ID is not found in the database
;Translate = 1234=4321 ; Translate NXDN TG
< -- > DMR TG (bidirectional)
;Slot = 2 ; Export slot
; Configure the P25 Partner
; Audio format is IMBE 88 bit
[P25]
Address = 10.1.2.240 ; Address to send
AMBE TLV frames to (export)
TXPort = 34100 ; Port to send AMBE
TLV frames to (export)
RXPort = 34103 ; Port to listen on
(import)
Slot = 2 ; Export slot
; Configure the Yaesu Fusion Partner
; Audio format is AMBE 72 bit
; Audio format is IMBE 88 bit
[YSF]
;Address = 127.0.0.1 ; Address to send
AMBE TLV frames to (export)
;TXPort = 35100 ; Port to send AMBE
TLV frames to (export)
;RXPort = 35103 ; Port to listen on
(import)
;FallbackID = 1234567 ; In case we can not
find a valid DMR id in the database, export this one
;ExportTG = 1234 ; Which TG to export
;Slot = 2 ; Export slot
MMDVM_Bridge.ini
[General]
Callsign=K0JSC
Id=310815
Timeout=180
Duplex=0
[Info]
RXFrequency=222340000
TXFrequency=224940000
Power=1
Latitude=41.7333
Longitude=-50.3999
Height=0
Location=Iceberg, North Atlantic
Description=MMDVM_Bridge
[Log]
# Logging levels, 0=No logging, 1=Debug, 2=Message,
3=Info, 4=Warning, 5=Error, 6=Fatal
DisplayLevel=1
FileLevel=2
FilePath=/var/log/mmdvm
FileRoot=MMDVM_Bridge
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat
Time=24
[NXDN Id Lookup]
File=/var/lib/mmdvm/NXDN.csv
Time=24
[Modem]
Port=/dev/null
RSSIMappingFile=RSSI.dat
Trace=0
Debug=0
[D-Star]
Enable=0
Module=C
[DMR]
Enable=0
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0
[System Fusion]
Enable=0
[P25]
Enable=1
NAC=293
SelfOnly=0
OverrideUIDCheck=0
RemoteGateway=1
ModeHang=20
[NXDN]
Enable=0
RAN=1
Id=12345
[D-Star Network]
Enable=0
GatewayAddress=127.0.0.1
GatewayPort=20010
LocalPort=20011
Debug=0
[DMR Network]
Enable=0
Port=62031
Jitter=360
Local=62032
Password=passw0rd
Slot1=1
Slot2=1
Debug=0
[System Fusion Network]
Enable=0
LocalAddress=0
LocalPort=3200
GatewayPort=42166
Debug=0
[P25 Network]
Enable=1
GatewayAddress=127.0.0.1
GatewayPort=42020
LocalPort=32010
ModeHang=300
Debug=0
[NXDN Network]
Enable=0
#LocalAddress=127.0.0.1
Debug=0
LocalPort=14021
GatewayAddress=127.0.0.1
GatewayPort=14020
|
|
root@28299:/opt/MMDVM_Bridge# ls DVSwtich.ini MMDVM_Bridge MMDVM_Bridge.ini root@28299:/opt/MMDVM_Bridge#
toggle quoted messageShow quoted text
On Wed, Aug 15, 2018 at 10:40 AM Steve N4IRS < szingman@...> wrote:
Show me the directory.
On 8/15/2018 12:38 PM, Jeff Carrier
wrote:
It fails, here's the output.
root@28299:/opt/MMDVM_Bridge# ./MMDVM_Bridge
MMDVM_Bridge.ini
I: 2018-08-15 16:37:52.992 MMDVM_Bridge:
I: 2018-08-15 16:37:52.993 Portions Copyright (C) 2018
DVSwitch, INAD.
I: 2018-08-15 16:37:52.993 Hacks by Mike N4IRR and Steve
N4IRS
I: 2018-08-15 16:37:52.993
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2018-08-15 16:37:52.993 This software is for use on
amateur radio networks only,
I: 2018-08-15 16:37:52.993 it is to be used for
educational purposes only. Its use on
I: 2018-08-15 16:37:52.994 commercial networks is
strictly prohibited.
I: 2018-08-15 16:37:52.994 Copyright(C) 2015-2018 by
Jonathan Naylor, G4KLX and others
M: 2018-08-15 16:37:52.994 MMDVM_Bridge-20180423 is
starting
M: 2018-08-15 16:37:52.994 Built 15:47:01 May 30 2018
(GitID #9cdea41)
I: 2018-08-15 16:37:52.995 General Parameters
I: 2018-08-15 16:37:52.995 Callsign: K0JSC
I: 2018-08-15 16:37:52.995 Id: 310815
I: 2018-08-15 16:37:52.995 Duplex: no
I: 2018-08-15 16:37:52.996 Timeout: 180s
I: 2018-08-15 16:37:52.996 D-Star: disabled
I: 2018-08-15 16:37:52.996 DMR: disabled
I: 2018-08-15 16:37:52.996 YSF: disabled
I: 2018-08-15 16:37:52.997 P25: enabled
I: 2018-08-15 16:37:52.997 NXDN: disabled
I: 2018-08-15 16:37:52.997 Modem Parameters
I: 2018-08-15 16:37:52.997 Port: /dev/null
I: 2018-08-15 16:37:52.997 RX Invert: no
I: 2018-08-15 16:37:52.997 TX Invert: no
I: 2018-08-15 16:37:52.997 PTT Invert: no
I: 2018-08-15 16:37:52.997 TX Delay: 100ms
I: 2018-08-15 16:37:52.998 RX Offset: 0Hz
I: 2018-08-15 16:37:52.998 TX Offset: 0Hz
I: 2018-08-15 16:37:52.998 RX DC Offset: 0
I: 2018-08-15 16:37:52.998 TX DC Offset: 0
I: 2018-08-15 16:37:52.998 RF Level: 100.0%
I: 2018-08-15 16:37:52.998 DMR Delay: 0 (0.0ms)
I: 2018-08-15 16:37:52.998 RX Level: 50.0%
I: 2018-08-15 16:37:52.998 CW Id TX Level: 50.0%
I: 2018-08-15 16:37:52.998 D-Star TX Level: 50.0%
I: 2018-08-15 16:37:52.998 DMR TX Level: 50.0%
I: 2018-08-15 16:37:52.998 YSF TX Level: 50.0%
I: 2018-08-15 16:37:52.998 P25 TX Level: 50.0%
I: 2018-08-15 16:37:52.998 NXDN TX Level: 50.0%
I: 2018-08-15 16:37:52.998 RX Frequency: 222340000Hz
(222340000Hz)
I: 2018-08-15 16:37:52.998 TX Frequency: 224940000Hz
(224940000Hz)
M: 2018-08-15 16:37:52.999 Opening the MMDVM
I: 2018-08-15 16:37:52.999 Display Parameters
I: 2018-08-15 16:37:52.999 Type:
I: 2018-08-15 16:37:52.999 P25 Network Parameters
I: 2018-08-15 16:37:52.999 Gateway Address: 127.0.0.1
I: 2018-08-15 16:37:52.999 Gateway Port: 42020
I: 2018-08-15 16:37:52.999 Local Port: 32010
I: 2018-08-15 16:37:52.999 Mode Hang: 300s
M: 2018-08-15 16:37:53.000 P25, Opening INI file:
DVSwitch.ini
E: 2018-08-15 16:37:53.000 P25, ini file "DVSwitch.ini"
was not found. Fatal error exiting
root@28299:/opt/MMDVM_Bridge#
On Wed, Aug 15, 2018 at 10:27 AM Steve N4IRS < szingman@...>
wrote:
Jeff,
MMDVM_Bridge will look for DVSwitch in the same directory as
the MMDVM_Bridge executable. (Unless you use the environment
variable) You can not pass DVSwitch.ini on the command line.
You can pass MMDVM_Bridge.ini on the command line.
So,
Make sure MMDVM_Bridge, DVSwitch.ini and MMDVM_Bridge.ini
are in the same directory
run:
MMDVM_Bridge MMDVM_Bridge.ini
If it does not work, please copy and past the output from
MMDVM_Bridge.
Steve
On
8/15/2018 11:51 AM, Jeff Carrier wrote:
certainly,
I also copied dvswitch.ini to /etc/ and /opt/MMDMV_Bridge
mmdvm_bridge.service
[Unit]
Description=MMDVM_Bridge Service
# Description=Place this file in /lib/systemd/system
# Description=N4IRS 04/20/2018
# The device name should point to the
# port the mmdvm is plugged into.
# For USB ports (Arduino Due)
# BindTo=dev-ttyACM0.device
#
# To make the network-online.target available
# systemctl enable
systemd-networkd-wait-online.service
After=network-online.target syslog.target
netcheck.service
Wants=network-online.target
[Service]
StandardOutput=null
WorkingDirectory=/opt/MMDVM_Bridge
RestartSec=3
ExecStart=/opt/MMDVM_Bridge/MMDVM_Bridge
/opt/MMDVM_Bridge/MMDVM_Bridge.ini
Restart=on-abort
[Install]
WantedBy=multi-user.target
dvswitch.ini
; MMDVM_Bridge export / import configuration file.
; This file should be placed along side of
MMDVM_Bridge or it can be
; supplied as a path on the MMDVM_BRIDGE
environment variable.
; Configure the Quantar Repeater Partner
; Note that the TX and RX ports are already reversed
for MMDVM_Bridge <--> Quantar_Bridge
[QUANTAR]
;logFilePath = /var/log/Quantar_Bridge.log
;Address = 127.0.0.1 ; Address to send
AMBE TLV frames to (export)
;TXPort = 34103 ; Port to send AMBE
TLV frames to (export)
;RXPort = 34100 ; Port to listen on
(import)
;quantarPort = 1994 ; HDLC frames
To/From the Quantar repeater
;logLevel = 2 ; Show messages and
above 0=No logging, 1=Debug, 2=Message, 3=Info,
4=Warning, 5=Error, 6=Fatal
;debug = 0 ; Debug 0 = off, 1 =
on (adds lots of additional messages)
; Configure the DMR Partner
; Audio format is AMBE 72 bit
[DMR]
;Address = 127.0.0.1 ; Address to send
AMBE TLV frames to (export)
;TXPort = 31100 ; Port to send AMBE
TLV frames to (export)
;RXPort = 31103 ; Port to listen on
(import)
;Slot = 2 ; Export slot
; Configure the D-Star Partner
; Audio format is AMBE 48 bit (DSAMBE)
[DSTAR]
;Address = 127.0.0.1 ; Address to send
AMBE TLV frames to (export)
;TXPort = 32100 ; Port to send AMBE
TLV frames to (export)
;RXPort = 32103 ; Port to listen on
(import)
;FallbackID = 1234567 ; In case we can not
find a valid DMR id in the database, export this one
;ExportTG = 9 ; Which TG to export
;Slot = 2 ; Export slot
; Configure the NXDN Partner
; Audio format is AMBE 72 bit
[NXDN]
;Address = 127.0.0.1 ; Address to send
AMBE TLV frames to (export)
;TXPort = 33100 ; Port to send AMBE
TLV frames to (export)
;RXPort = 33103 ; Port to listen on
(import)
;FallbackID = 1234567 ; In case we can not
find a valid DMR id in the database, export this one
;NXDNFallbackID = 12345 ; Use this ID when
the input DMR ID is not found in the database
;Translate = 1234=4321 ; Translate NXDN TG
< -- > DMR TG (bidirectional)
;Slot = 2 ; Export slot
; Configure the P25 Partner
; Audio format is IMBE 88 bit
[P25]
Address = 10.1.2.240 ; Address to send
AMBE TLV frames to (export)
TXPort = 34100 ; Port to send AMBE
TLV frames to (export)
RXPort = 34103 ; Port to listen on
(import)
Slot = 2 ; Export slot
; Configure the Yaesu Fusion Partner
; Audio format is AMBE 72 bit
; Audio format is IMBE 88 bit
[YSF]
;Address = 127.0.0.1 ; Address to send
AMBE TLV frames to (export)
;TXPort = 35100 ; Port to send AMBE
TLV frames to (export)
;RXPort = 35103 ; Port to listen on
(import)
;FallbackID = 1234567 ; In case we can not
find a valid DMR id in the database, export this one
;ExportTG = 1234 ; Which TG to export
;Slot = 2 ; Export slot
MMDVM_Bridge.ini
[General]
Callsign=K0JSC
Id=310815
Timeout=180
Duplex=0
[Info]
RXFrequency=222340000
TXFrequency=224940000
Power=1
Latitude=41.7333
Longitude=-50.3999
Height=0
Location=Iceberg, North Atlantic
Description=MMDVM_Bridge
[Log]
# Logging levels, 0=No logging, 1=Debug, 2=Message,
3=Info, 4=Warning, 5=Error, 6=Fatal
DisplayLevel=1
FileLevel=2
FilePath=/var/log/mmdvm
FileRoot=MMDVM_Bridge
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat
Time=24
[NXDN Id Lookup]
File=/var/lib/mmdvm/NXDN.csv
Time=24
[Modem]
Port=/dev/null
RSSIMappingFile=RSSI.dat
Trace=0
Debug=0
[D-Star]
Enable=0
Module=C
[DMR]
Enable=0
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0
[System Fusion]
Enable=0
[P25]
Enable=1
NAC=293
SelfOnly=0
OverrideUIDCheck=0
RemoteGateway=1
ModeHang=20
[NXDN]
Enable=0
RAN=1
Id=12345
[D-Star Network]
Enable=0
GatewayAddress=127.0.0.1
GatewayPort=20010
LocalPort=20011
Debug=0
[DMR Network]
Enable=0
Port=62031
Jitter=360
Local=62032
Password=passw0rd
Slot1=1
Slot2=1
Debug=0
[System Fusion Network]
Enable=0
LocalAddress=0
LocalPort=3200
GatewayPort=42166
Debug=0
[P25 Network]
Enable=1
GatewayAddress=127.0.0.1
GatewayPort=42020
LocalPort=32010
ModeHang=300
Debug=0
[NXDN Network]
Enable=0
#LocalAddress=127.0.0.1
Debug=0
LocalPort=14021
GatewayAddress=127.0.0.1
GatewayPort=14020
|
|

Steve N4IRS
DVSwitch is misspelled.
toggle quoted messageShow quoted text
On 8/15/2018 12:56 PM, Jeff Carrier
wrote:
root@28299:/opt/MMDVM_Bridge# ls
DVSwtich.ini MMDVM_Bridge MMDVM_Bridge.ini
root@28299:/opt/MMDVM_Bridge#
On Wed, Aug 15, 2018 at 10:40 AM Steve N4IRS < szingman@...>
wrote:
Show me the directory.
On
8/15/2018 12:38 PM, Jeff Carrier wrote:
It fails, here's the output.
root@28299:/opt/MMDVM_Bridge# ./MMDVM_Bridge
MMDVM_Bridge.ini
I: 2018-08-15 16:37:52.992 MMDVM_Bridge:
I: 2018-08-15 16:37:52.993 Portions Copyright (C)
2018 DVSwitch, INAD.
I: 2018-08-15 16:37:52.993 Hacks by Mike N4IRR
and Steve N4IRS
I: 2018-08-15 16:37:52.993
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2018-08-15 16:37:52.993 This software is for
use on amateur radio networks only,
I: 2018-08-15 16:37:52.993 it is to be used for
educational purposes only. Its use on
I: 2018-08-15 16:37:52.994 commercial networks is
strictly prohibited.
I: 2018-08-15 16:37:52.994 Copyright(C) 2015-2018
by Jonathan Naylor, G4KLX and others
M: 2018-08-15 16:37:52.994 MMDVM_Bridge-20180423
is starting
M: 2018-08-15 16:37:52.994 Built 15:47:01 May 30
2018 (GitID #9cdea41)
I: 2018-08-15 16:37:52.995 General Parameters
I: 2018-08-15 16:37:52.995 Callsign: K0JSC
I: 2018-08-15 16:37:52.995 Id: 310815
I: 2018-08-15 16:37:52.995 Duplex: no
I: 2018-08-15 16:37:52.996 Timeout: 180s
I: 2018-08-15 16:37:52.996 D-Star: disabled
I: 2018-08-15 16:37:52.996 DMR: disabled
I: 2018-08-15 16:37:52.996 YSF: disabled
I: 2018-08-15 16:37:52.997 P25: enabled
I: 2018-08-15 16:37:52.997 NXDN: disabled
I: 2018-08-15 16:37:52.997 Modem Parameters
I: 2018-08-15 16:37:52.997 Port: /dev/null
I: 2018-08-15 16:37:52.997 RX Invert: no
I: 2018-08-15 16:37:52.997 TX Invert: no
I: 2018-08-15 16:37:52.997 PTT Invert: no
I: 2018-08-15 16:37:52.997 TX Delay: 100ms
I: 2018-08-15 16:37:52.998 RX Offset: 0Hz
I: 2018-08-15 16:37:52.998 TX Offset: 0Hz
I: 2018-08-15 16:37:52.998 RX DC Offset: 0
I: 2018-08-15 16:37:52.998 TX DC Offset: 0
I: 2018-08-15 16:37:52.998 RF Level: 100.0%
I: 2018-08-15 16:37:52.998 DMR Delay: 0
(0.0ms)
I: 2018-08-15 16:37:52.998 RX Level: 50.0%
I: 2018-08-15 16:37:52.998 CW Id TX Level:
50.0%
I: 2018-08-15 16:37:52.998 D-Star TX Level:
50.0%
I: 2018-08-15 16:37:52.998 DMR TX Level:
50.0%
I: 2018-08-15 16:37:52.998 YSF TX Level:
50.0%
I: 2018-08-15 16:37:52.998 P25 TX Level:
50.0%
I: 2018-08-15 16:37:52.998 NXDN TX Level:
50.0%
I: 2018-08-15 16:37:52.998 RX Frequency:
222340000Hz (222340000Hz)
I: 2018-08-15 16:37:52.998 TX Frequency:
224940000Hz (224940000Hz)
M: 2018-08-15 16:37:52.999 Opening the MMDVM
I: 2018-08-15 16:37:52.999 Display Parameters
I: 2018-08-15 16:37:52.999 Type:
I: 2018-08-15 16:37:52.999 P25 Network Parameters
I: 2018-08-15 16:37:52.999 Gateway Address:
127.0.0.1
I: 2018-08-15 16:37:52.999 Gateway Port:
42020
I: 2018-08-15 16:37:52.999 Local Port: 32010
I: 2018-08-15 16:37:52.999 Mode Hang: 300s
M: 2018-08-15 16:37:53.000 P25, Opening INI file:
DVSwitch.ini
E: 2018-08-15 16:37:53.000 P25, ini file
"DVSwitch.ini" was not found. Fatal error exiting
root@28299:/opt/MMDVM_Bridge#
On Wed, Aug 15, 2018 at 10:27 AM Steve
N4IRS < szingman@...>
wrote:
Jeff,
MMDVM_Bridge will look for DVSwitch in the same
directory as the MMDVM_Bridge executable. (Unless
you use the environment variable) You can not pass
DVSwitch.ini on the command line.
You can pass MMDVM_Bridge.ini on the command line.
So,
Make sure MMDVM_Bridge, DVSwitch.ini and
MMDVM_Bridge.ini are in the same directory
run:
MMDVM_Bridge MMDVM_Bridge.ini
If it does not work, please copy and past the output
from MMDVM_Bridge.
Steve
On
8/15/2018 11:51 AM, Jeff Carrier wrote:
certainly,
I also copied dvswitch.ini to /etc/ and
/opt/MMDMV_Bridge
mmdvm_bridge.service
[Unit]
Description=MMDVM_Bridge Service
# Description=Place this file in
/lib/systemd/system
# Description=N4IRS 04/20/2018
# The device name should point to the
# port the mmdvm is plugged into.
# For USB ports (Arduino Due)
# BindTo=dev-ttyACM0.device
#
# To make the network-online.target available
# systemctl enable
systemd-networkd-wait-online.service
After=network-online.target syslog.target
netcheck.service
Wants=network-online.target
[Service]
StandardOutput=null
WorkingDirectory=/opt/MMDVM_Bridge
RestartSec=3
ExecStart=/opt/MMDVM_Bridge/MMDVM_Bridge
/opt/MMDVM_Bridge/MMDVM_Bridge.ini
Restart=on-abort
[Install]
WantedBy=multi-user.target
dvswitch.ini
; MMDVM_Bridge export / import configuration
file.
; This file should be placed along side of
MMDVM_Bridge or it can be
; supplied as a path on the MMDVM_BRIDGE
environment variable.
; Configure the Quantar Repeater Partner
; Note that the TX and RX ports are already
reversed for MMDVM_Bridge <-->
Quantar_Bridge
[QUANTAR]
;logFilePath = /var/log/Quantar_Bridge.log
;Address = 127.0.0.1 ; Address to
send AMBE TLV frames to (export)
;TXPort = 34103 ; Port to
send AMBE TLV frames to (export)
;RXPort = 34100 ; Port to
listen on (import)
;quantarPort = 1994 ; HDLC
frames To/From the Quantar repeater
;logLevel = 2 ; Show
messages and above 0=No logging, 1=Debug,
2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
;debug = 0 ; Debug 0 =
off, 1 = on (adds lots of additional messages)
; Configure the DMR Partner
; Audio format is AMBE 72 bit
[DMR]
;Address = 127.0.0.1 ; Address to
send AMBE TLV frames to (export)
;TXPort = 31100 ; Port to
send AMBE TLV frames to (export)
;RXPort = 31103 ; Port to
listen on (import)
;Slot = 2 ; Export
slot
; Configure the D-Star Partner
; Audio format is AMBE 48 bit (DSAMBE)
[DSTAR]
;Address = 127.0.0.1 ; Address to
send AMBE TLV frames to (export)
;TXPort = 32100 ; Port to
send AMBE TLV frames to (export)
;RXPort = 32103 ; Port to
listen on (import)
;FallbackID = 1234567 ; In case we
can not find a valid DMR id in the database,
export this one
;ExportTG = 9 ; Which TG
to export
;Slot = 2 ; Export
slot
; Configure the NXDN Partner
; Audio format is AMBE 72 bit
[NXDN]
;Address = 127.0.0.1 ; Address to
send AMBE TLV frames to (export)
;TXPort = 33100 ; Port to
send AMBE TLV frames to (export)
;RXPort = 33103 ; Port to
listen on (import)
;FallbackID = 1234567 ; In case we
can not find a valid DMR id in the database,
export this one
;NXDNFallbackID = 12345 ; Use this
ID when the input DMR ID is not found in the
database
;Translate = 1234=4321 ; Translate
NXDN TG < -- > DMR TG (bidirectional)
;Slot = 2 ; Export
slot
; Configure the P25 Partner
; Audio format is IMBE 88 bit
[P25]
Address = 10.1.2.240 ; Address to
send AMBE TLV frames to (export)
TXPort = 34100 ; Port to
send AMBE TLV frames to (export)
RXPort = 34103 ; Port to
listen on (import)
Slot = 2 ; Export slot
; Configure the Yaesu Fusion Partner
; Audio format is AMBE 72 bit
; Audio format is IMBE 88 bit
[YSF]
;Address = 127.0.0.1 ; Address to
send AMBE TLV frames to (export)
;TXPort = 35100 ; Port to
send AMBE TLV frames to (export)
;RXPort = 35103 ; Port to
listen on (import)
;FallbackID = 1234567 ; In case we
can not find a valid DMR id in the database,
export this one
;ExportTG = 1234 ; Which TG
to export
;Slot = 2 ; Export
slot
MMDVM_Bridge.ini
[General]
Callsign=K0JSC
Id=310815
Timeout=180
Duplex=0
[Info]
RXFrequency=222340000
TXFrequency=224940000
Power=1
Latitude=41.7333
Longitude=-50.3999
Height=0
Location=Iceberg, North Atlantic
Description=MMDVM_Bridge
[Log]
# Logging levels, 0=No logging, 1=Debug,
2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
DisplayLevel=1
FileLevel=2
FilePath=/var/log/mmdvm
FileRoot=MMDVM_Bridge
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat
Time=24
[NXDN Id Lookup]
File=/var/lib/mmdvm/NXDN.csv
Time=24
[Modem]
Port=/dev/null
RSSIMappingFile=RSSI.dat
Trace=0
Debug=0
[D-Star]
Enable=0
Module=C
[DMR]
Enable=0
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0
[System Fusion]
Enable=0
[P25]
Enable=1
NAC=293
SelfOnly=0
OverrideUIDCheck=0
RemoteGateway=1
ModeHang=20
[NXDN]
Enable=0
RAN=1
Id=12345
[D-Star Network]
Enable=0
GatewayAddress=127.0.0.1
GatewayPort=20010
LocalPort=20011
Debug=0
[DMR Network]
Enable=0
Port=62031
Jitter=360
Local=62032
Password=passw0rd
Slot1=1
Slot2=1
Debug=0
[System Fusion Network]
Enable=0
LocalAddress=0
LocalPort=3200
GatewayPort=42166
Debug=0
[P25 Network]
Enable=1
GatewayAddress=127.0.0.1
GatewayPort=42020
LocalPort=32010
ModeHang=300
Debug=0
[NXDN Network]
Enable=0
#LocalAddress=127.0.0.1
Debug=0
LocalPort=14021
GatewayAddress=127.0.0.1
GatewayPort=14020
|
|
Wow and I haven't even had any beer yet! Duh
toggle quoted messageShow quoted text
On Wed, Aug 15, 2018 at 10:57 AM Steve N4IRS < szingman@...> wrote:
DVSwitch is misspelled.
On 8/15/2018 12:56 PM, Jeff Carrier
wrote:
root@28299:/opt/MMDVM_Bridge# ls
DVSwtich.ini MMDVM_Bridge MMDVM_Bridge.ini
root@28299:/opt/MMDVM_Bridge#
On Wed, Aug 15, 2018 at 10:40 AM Steve N4IRS < szingman@...>
wrote:
Show me the directory.
On
8/15/2018 12:38 PM, Jeff Carrier wrote:
It fails, here's the output.
root@28299:/opt/MMDVM_Bridge# ./MMDVM_Bridge
MMDVM_Bridge.ini
I: 2018-08-15 16:37:52.992 MMDVM_Bridge:
I: 2018-08-15 16:37:52.993 Portions Copyright (C)
2018 DVSwitch, INAD.
I: 2018-08-15 16:37:52.993 Hacks by Mike N4IRR
and Steve N4IRS
I: 2018-08-15 16:37:52.993
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2018-08-15 16:37:52.993 This software is for
use on amateur radio networks only,
I: 2018-08-15 16:37:52.993 it is to be used for
educational purposes only. Its use on
I: 2018-08-15 16:37:52.994 commercial networks is
strictly prohibited.
I: 2018-08-15 16:37:52.994 Copyright(C) 2015-2018
by Jonathan Naylor, G4KLX and others
M: 2018-08-15 16:37:52.994 MMDVM_Bridge-20180423
is starting
M: 2018-08-15 16:37:52.994 Built 15:47:01 May 30
2018 (GitID #9cdea41)
I: 2018-08-15 16:37:52.995 General Parameters
I: 2018-08-15 16:37:52.995 Callsign: K0JSC
I: 2018-08-15 16:37:52.995 Id: 310815
I: 2018-08-15 16:37:52.995 Duplex: no
I: 2018-08-15 16:37:52.996 Timeout: 180s
I: 2018-08-15 16:37:52.996 D-Star: disabled
I: 2018-08-15 16:37:52.996 DMR: disabled
I: 2018-08-15 16:37:52.996 YSF: disabled
I: 2018-08-15 16:37:52.997 P25: enabled
I: 2018-08-15 16:37:52.997 NXDN: disabled
I: 2018-08-15 16:37:52.997 Modem Parameters
I: 2018-08-15 16:37:52.997 Port: /dev/null
I: 2018-08-15 16:37:52.997 RX Invert: no
I: 2018-08-15 16:37:52.997 TX Invert: no
I: 2018-08-15 16:37:52.997 PTT Invert: no
I: 2018-08-15 16:37:52.997 TX Delay: 100ms
I: 2018-08-15 16:37:52.998 RX Offset: 0Hz
I: 2018-08-15 16:37:52.998 TX Offset: 0Hz
I: 2018-08-15 16:37:52.998 RX DC Offset: 0
I: 2018-08-15 16:37:52.998 TX DC Offset: 0
I: 2018-08-15 16:37:52.998 RF Level: 100.0%
I: 2018-08-15 16:37:52.998 DMR Delay: 0
(0.0ms)
I: 2018-08-15 16:37:52.998 RX Level: 50.0%
I: 2018-08-15 16:37:52.998 CW Id TX Level:
50.0%
I: 2018-08-15 16:37:52.998 D-Star TX Level:
50.0%
I: 2018-08-15 16:37:52.998 DMR TX Level:
50.0%
I: 2018-08-15 16:37:52.998 YSF TX Level:
50.0%
I: 2018-08-15 16:37:52.998 P25 TX Level:
50.0%
I: 2018-08-15 16:37:52.998 NXDN TX Level:
50.0%
I: 2018-08-15 16:37:52.998 RX Frequency:
222340000Hz (222340000Hz)
I: 2018-08-15 16:37:52.998 TX Frequency:
224940000Hz (224940000Hz)
M: 2018-08-15 16:37:52.999 Opening the MMDVM
I: 2018-08-15 16:37:52.999 Display Parameters
I: 2018-08-15 16:37:52.999 Type:
I: 2018-08-15 16:37:52.999 P25 Network Parameters
I: 2018-08-15 16:37:52.999 Gateway Address:
127.0.0.1
I: 2018-08-15 16:37:52.999 Gateway Port:
42020
I: 2018-08-15 16:37:52.999 Local Port: 32010
I: 2018-08-15 16:37:52.999 Mode Hang: 300s
M: 2018-08-15 16:37:53.000 P25, Opening INI file:
DVSwitch.ini
E: 2018-08-15 16:37:53.000 P25, ini file
"DVSwitch.ini" was not found. Fatal error exiting
root@28299:/opt/MMDVM_Bridge#
On Wed, Aug 15, 2018 at 10:27 AM Steve
N4IRS < szingman@...>
wrote:
Jeff,
MMDVM_Bridge will look for DVSwitch in the same
directory as the MMDVM_Bridge executable. (Unless
you use the environment variable) You can not pass
DVSwitch.ini on the command line.
You can pass MMDVM_Bridge.ini on the command line.
So,
Make sure MMDVM_Bridge, DVSwitch.ini and
MMDVM_Bridge.ini are in the same directory
run:
MMDVM_Bridge MMDVM_Bridge.ini
If it does not work, please copy and past the output
from MMDVM_Bridge.
Steve
On
8/15/2018 11:51 AM, Jeff Carrier wrote:
certainly,
I also copied dvswitch.ini to /etc/ and
/opt/MMDMV_Bridge
mmdvm_bridge.service
[Unit]
Description=MMDVM_Bridge Service
# Description=Place this file in
/lib/systemd/system
# Description=N4IRS 04/20/2018
# The device name should point to the
# port the mmdvm is plugged into.
# For USB ports (Arduino Due)
# BindTo=dev-ttyACM0.device
#
# To make the network-online.target available
# systemctl enable
systemd-networkd-wait-online.service
After=network-online.target syslog.target
netcheck.service
Wants=network-online.target
[Service]
StandardOutput=null
WorkingDirectory=/opt/MMDVM_Bridge
RestartSec=3
ExecStart=/opt/MMDVM_Bridge/MMDVM_Bridge
/opt/MMDVM_Bridge/MMDVM_Bridge.ini
Restart=on-abort
[Install]
WantedBy=multi-user.target
dvswitch.ini
; MMDVM_Bridge export / import configuration
file.
; This file should be placed along side of
MMDVM_Bridge or it can be
; supplied as a path on the MMDVM_BRIDGE
environment variable.
; Configure the Quantar Repeater Partner
; Note that the TX and RX ports are already
reversed for MMDVM_Bridge <-->
Quantar_Bridge
[QUANTAR]
;logFilePath = /var/log/Quantar_Bridge.log
;Address = 127.0.0.1 ; Address to
send AMBE TLV frames to (export)
;TXPort = 34103 ; Port to
send AMBE TLV frames to (export)
;RXPort = 34100 ; Port to
listen on (import)
;quantarPort = 1994 ; HDLC
frames To/From the Quantar repeater
;logLevel = 2 ; Show
messages and above 0=No logging, 1=Debug,
2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
;debug = 0 ; Debug 0 =
off, 1 = on (adds lots of additional messages)
; Configure the DMR Partner
; Audio format is AMBE 72 bit
[DMR]
;Address = 127.0.0.1 ; Address to
send AMBE TLV frames to (export)
;TXPort = 31100 ; Port to
send AMBE TLV frames to (export)
;RXPort = 31103 ; Port to
listen on (import)
;Slot = 2 ; Export
slot
; Configure the D-Star Partner
; Audio format is AMBE 48 bit (DSAMBE)
[DSTAR]
;Address = 127.0.0.1 ; Address to
send AMBE TLV frames to (export)
;TXPort = 32100 ; Port to
send AMBE TLV frames to (export)
;RXPort = 32103 ; Port to
listen on (import)
;FallbackID = 1234567 ; In case we
can not find a valid DMR id in the database,
export this one
;ExportTG = 9 ; Which TG
to export
;Slot = 2 ; Export
slot
; Configure the NXDN Partner
; Audio format is AMBE 72 bit
[NXDN]
;Address = 127.0.0.1 ; Address to
send AMBE TLV frames to (export)
;TXPort = 33100 ; Port to
send AMBE TLV frames to (export)
;RXPort = 33103 ; Port to
listen on (import)
;FallbackID = 1234567 ; In case we
can not find a valid DMR id in the database,
export this one
;NXDNFallbackID = 12345 ; Use this
ID when the input DMR ID is not found in the
database
;Translate = 1234=4321 ; Translate
NXDN TG < -- > DMR TG (bidirectional)
;Slot = 2 ; Export
slot
; Configure the P25 Partner
; Audio format is IMBE 88 bit
[P25]
Address = 10.1.2.240 ; Address to
send AMBE TLV frames to (export)
TXPort = 34100 ; Port to
send AMBE TLV frames to (export)
RXPort = 34103 ; Port to
listen on (import)
Slot = 2 ; Export slot
; Configure the Yaesu Fusion Partner
; Audio format is AMBE 72 bit
; Audio format is IMBE 88 bit
[YSF]
;Address = 127.0.0.1 ; Address to
send AMBE TLV frames to (export)
;TXPort = 35100 ; Port to
send AMBE TLV frames to (export)
;RXPort = 35103 ; Port to
listen on (import)
;FallbackID = 1234567 ; In case we
can not find a valid DMR id in the database,
export this one
;ExportTG = 1234 ; Which TG
to export
;Slot = 2 ; Export
slot
MMDVM_Bridge.ini
[General]
Callsign=K0JSC
Id=310815
Timeout=180
Duplex=0
[Info]
RXFrequency=222340000
TXFrequency=224940000
Power=1
Latitude=41.7333
Longitude=-50.3999
Height=0
Location=Iceberg, North Atlantic
Description=MMDVM_Bridge
[Log]
# Logging levels, 0=No logging, 1=Debug,
2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
DisplayLevel=1
FileLevel=2
FilePath=/var/log/mmdvm
FileRoot=MMDVM_Bridge
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat
Time=24
[NXDN Id Lookup]
File=/var/lib/mmdvm/NXDN.csv
Time=24
[Modem]
Port=/dev/null
RSSIMappingFile=RSSI.dat
Trace=0
Debug=0
[D-Star]
Enable=0
Module=C
[DMR]
Enable=0
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0
[System Fusion]
Enable=0
[P25]
Enable=1
NAC=293
SelfOnly=0
OverrideUIDCheck=0
RemoteGateway=1
ModeHang=20
[NXDN]
Enable=0
RAN=1
Id=12345
[D-Star Network]
Enable=0
GatewayAddress=127.0.0.1
GatewayPort=20010
LocalPort=20011
Debug=0
[DMR Network]
Enable=0
Port=62031
Jitter=360
Local=62032
Password=passw0rd
Slot1=1
Slot2=1
Debug=0
[System Fusion Network]
Enable=0
LocalAddress=0
LocalPort=3200
GatewayPort=42166
Debug=0
[P25 Network]
Enable=1
GatewayAddress=127.0.0.1
GatewayPort=42020
LocalPort=32010
ModeHang=300
Debug=0
[NXDN Network]
Enable=0
#LocalAddress=127.0.0.1
Debug=0
LocalPort=14021
GatewayAddress=127.0.0.1
GatewayPort=14020
|
|

Steve N4IRS
That's the problem, Beer is not just a breakfast drink anymore!
toggle quoted messageShow quoted text
On 8/15/2018 12:59 PM, Jeff Carrier
wrote:
Wow and I haven't even had any beer yet! Duh
On Wed, Aug 15, 2018 at 10:57 AM Steve N4IRS < szingman@...>
wrote:
DVSwitch is misspelled.
On
8/15/2018 12:56 PM, Jeff Carrier wrote:
root@28299:/opt/MMDVM_Bridge# ls
DVSwtich.ini MMDVM_Bridge MMDVM_Bridge.ini
root@28299:/opt/MMDVM_Bridge#
On Wed, Aug 15, 2018 at 10:40 AM Steve
N4IRS < szingman@...>
wrote:
Show me the
directory.
On
8/15/2018 12:38 PM, Jeff Carrier wrote:
It fails, here's the output.
root@28299:/opt/MMDVM_Bridge#
./MMDVM_Bridge MMDVM_Bridge.ini
I: 2018-08-15 16:37:52.992 MMDVM_Bridge:
I: 2018-08-15 16:37:52.993 Portions
Copyright (C) 2018 DVSwitch, INAD.
I: 2018-08-15 16:37:52.993 Hacks by Mike
N4IRR and Steve N4IRS
I: 2018-08-15 16:37:52.993
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2018-08-15 16:37:52.993 This software
is for use on amateur radio networks only,
I: 2018-08-15 16:37:52.993 it is to be
used for educational purposes only. Its use
on
I: 2018-08-15 16:37:52.994 commercial
networks is strictly prohibited.
I: 2018-08-15 16:37:52.994 Copyright(C)
2015-2018 by Jonathan Naylor, G4KLX and
others
M: 2018-08-15 16:37:52.994
MMDVM_Bridge-20180423 is starting
M: 2018-08-15 16:37:52.994 Built 15:47:01
May 30 2018 (GitID #9cdea41)
I: 2018-08-15 16:37:52.995 General
Parameters
I: 2018-08-15 16:37:52.995 Callsign:
K0JSC
I: 2018-08-15 16:37:52.995 Id: 310815
I: 2018-08-15 16:37:52.995 Duplex: no
I: 2018-08-15 16:37:52.996 Timeout:
180s
I: 2018-08-15 16:37:52.996 D-Star:
disabled
I: 2018-08-15 16:37:52.996 DMR:
disabled
I: 2018-08-15 16:37:52.996 YSF:
disabled
I: 2018-08-15 16:37:52.997 P25:
enabled
I: 2018-08-15 16:37:52.997 NXDN:
disabled
I: 2018-08-15 16:37:52.997 Modem
Parameters
I: 2018-08-15 16:37:52.997 Port:
/dev/null
I: 2018-08-15 16:37:52.997 RX Invert:
no
I: 2018-08-15 16:37:52.997 TX Invert:
no
I: 2018-08-15 16:37:52.997 PTT
Invert: no
I: 2018-08-15 16:37:52.997 TX Delay:
100ms
I: 2018-08-15 16:37:52.998 RX Offset:
0Hz
I: 2018-08-15 16:37:52.998 TX Offset:
0Hz
I: 2018-08-15 16:37:52.998 RX DC
Offset: 0
I: 2018-08-15 16:37:52.998 TX DC
Offset: 0
I: 2018-08-15 16:37:52.998 RF Level:
100.0%
I: 2018-08-15 16:37:52.998 DMR Delay:
0 (0.0ms)
I: 2018-08-15 16:37:52.998 RX Level:
50.0%
I: 2018-08-15 16:37:52.998 CW Id TX
Level: 50.0%
I: 2018-08-15 16:37:52.998 D-Star TX
Level: 50.0%
I: 2018-08-15 16:37:52.998 DMR TX
Level: 50.0%
I: 2018-08-15 16:37:52.998 YSF TX
Level: 50.0%
I: 2018-08-15 16:37:52.998 P25 TX
Level: 50.0%
I: 2018-08-15 16:37:52.998 NXDN TX
Level: 50.0%
I: 2018-08-15 16:37:52.998 RX
Frequency: 222340000Hz (222340000Hz)
I: 2018-08-15 16:37:52.998 TX
Frequency: 224940000Hz (224940000Hz)
M: 2018-08-15 16:37:52.999 Opening the
MMDVM
I: 2018-08-15 16:37:52.999 Display
Parameters
I: 2018-08-15 16:37:52.999 Type:
I: 2018-08-15 16:37:52.999 P25 Network
Parameters
I: 2018-08-15 16:37:52.999 Gateway
Address: 127.0.0.1
I: 2018-08-15 16:37:52.999 Gateway
Port: 42020
I: 2018-08-15 16:37:52.999 Local
Port: 32010
I: 2018-08-15 16:37:52.999 Mode Hang:
300s
M: 2018-08-15 16:37:53.000 P25, Opening
INI file: DVSwitch.ini
E: 2018-08-15 16:37:53.000 P25, ini file
"DVSwitch.ini" was not found. Fatal error
exiting
root@28299:/opt/MMDVM_Bridge#
On Wed, Aug 15, 2018 at 10:27 AM
Steve N4IRS < szingman@...>
wrote:
Jeff,
MMDVM_Bridge will look for DVSwitch in the
same directory as the MMDVM_Bridge
executable. (Unless you use the environment
variable) You can not pass DVSwitch.ini on
the command line.
You can pass MMDVM_Bridge.ini on the command
line.
So,
Make sure MMDVM_Bridge, DVSwitch.ini and
MMDVM_Bridge.ini are in the same directory
run:
MMDVM_Bridge MMDVM_Bridge.ini
If it does not work, please copy and past
the output from MMDVM_Bridge.
Steve
On
8/15/2018 11:51 AM, Jeff Carrier wrote:
certainly,
I also copied dvswitch.ini to /etc/ and
/opt/MMDMV_Bridge
mmdvm_bridge.service
[Unit]
Description=MMDVM_Bridge Service
# Description=Place this file in
/lib/systemd/system
# Description=N4IRS 04/20/2018
# The device name should point to the
# port the mmdvm is plugged into.
# For USB ports (Arduino Due)
# BindTo=dev-ttyACM0.device
#
# To make the network-online.target
available
# systemctl enable
systemd-networkd-wait-online.service
After=network-online.target
syslog.target netcheck.service
Wants=network-online.target
[Service]
StandardOutput=null
WorkingDirectory=/opt/MMDVM_Bridge
RestartSec=3
ExecStart=/opt/MMDVM_Bridge/MMDVM_Bridge
/opt/MMDVM_Bridge/MMDVM_Bridge.ini
Restart=on-abort
[Install]
WantedBy=multi-user.target
dvswitch.ini
; MMDVM_Bridge export / import
configuration file.
; This file should be placed along
side of MMDVM_Bridge or it can be
; supplied as a path on the
MMDVM_BRIDGE environment variable.
; Configure the Quantar Repeater
Partner
; Note that the TX and RX ports are
already reversed for MMDVM_Bridge
<--> Quantar_Bridge
[QUANTAR]
;logFilePath =
/var/log/Quantar_Bridge.log
;Address = 127.0.0.1 ;
Address to send AMBE TLV frames to
(export)
;TXPort = 34103 ;
Port to send AMBE TLV frames to (export)
;RXPort = 34100 ;
Port to listen on (import)
;quantarPort = 1994 ;
HDLC frames To/From the Quantar repeater
;logLevel = 2 ;
Show messages and above 0=No logging,
1=Debug, 2=Message, 3=Info, 4=Warning,
5=Error, 6=Fatal
;debug = 0 ;
Debug 0 = off, 1 = on (adds lots of
additional messages)
; Configure the DMR Partner
; Audio format is AMBE 72 bit
[DMR]
;Address = 127.0.0.1 ;
Address to send AMBE TLV frames to
(export)
;TXPort = 31100 ;
Port to send AMBE TLV frames to (export)
;RXPort = 31103 ;
Port to listen on (import)
;Slot = 2 ;
Export slot
; Configure the D-Star Partner
; Audio format is AMBE 48 bit
(DSAMBE)
[DSTAR]
;Address = 127.0.0.1 ;
Address to send AMBE TLV frames to
(export)
;TXPort = 32100 ;
Port to send AMBE TLV frames to (export)
;RXPort = 32103 ;
Port to listen on (import)
;FallbackID = 1234567 ; In
case we can not find a valid DMR id in
the database, export this one
;ExportTG = 9 ;
Which TG to export
;Slot = 2 ;
Export slot
; Configure the NXDN Partner
; Audio format is AMBE 72 bit
[NXDN]
;Address = 127.0.0.1 ;
Address to send AMBE TLV frames to
(export)
;TXPort = 33100 ;
Port to send AMBE TLV frames to (export)
;RXPort = 33103 ;
Port to listen on (import)
;FallbackID = 1234567 ; In
case we can not find a valid DMR id in
the database, export this one
;NXDNFallbackID = 12345 ;
Use this ID when the input DMR ID is not
found in the database
;Translate = 1234=4321 ;
Translate NXDN TG < -- > DMR TG
(bidirectional)
;Slot = 2 ;
Export slot
; Configure the P25 Partner
; Audio format is IMBE 88 bit
[P25]
Address = 10.1.2.240 ;
Address to send AMBE TLV frames to
(export)
TXPort = 34100 ;
Port to send AMBE TLV frames to (export)
RXPort = 34103 ;
Port to listen on (import)
Slot = 2 ;
Export slot
; Configure the Yaesu Fusion Partner
; Audio format is AMBE 72 bit
; Audio format is IMBE 88 bit
[YSF]
;Address = 127.0.0.1 ;
Address to send AMBE TLV frames to
(export)
;TXPort = 35100 ;
Port to send AMBE TLV frames to (export)
;RXPort = 35103 ;
Port to listen on (import)
;FallbackID = 1234567 ; In
case we can not find a valid DMR id in
the database, export this one
;ExportTG = 1234 ;
Which TG to export
;Slot = 2 ;
Export slot
MMDVM_Bridge.ini
[General]
Callsign=K0JSC
Id=310815
Timeout=180
Duplex=0
[Info]
RXFrequency=222340000
TXFrequency=224940000
Power=1
Latitude=41.7333
Longitude=-50.3999
Height=0
Location=Iceberg, North Atlantic
Description=MMDVM_Bridge
[Log]
# Logging levels, 0=No logging,
1=Debug, 2=Message, 3=Info, 4=Warning,
5=Error, 6=Fatal
DisplayLevel=1
FileLevel=2
FilePath=/var/log/mmdvm
FileRoot=MMDVM_Bridge
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat
Time=24
[NXDN Id Lookup]
File=/var/lib/mmdvm/NXDN.csv
Time=24
[Modem]
Port=/dev/null
RSSIMappingFile=RSSI.dat
Trace=0
Debug=0
[D-Star]
Enable=0
Module=C
[DMR]
Enable=0
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0
[System Fusion]
Enable=0
[P25]
Enable=1
NAC=293
SelfOnly=0
OverrideUIDCheck=0
RemoteGateway=1
ModeHang=20
[NXDN]
Enable=0
RAN=1
Id=12345
[D-Star Network]
Enable=0
GatewayAddress=127.0.0.1
GatewayPort=20010
LocalPort=20011
Debug=0
[DMR Network]
Enable=0
Port=62031
Jitter=360
Local=62032
Password=passw0rd
Slot1=1
Slot2=1
Debug=0
[System Fusion Network]
Enable=0
LocalAddress=0
LocalPort=3200
GatewayPort=42166
Debug=0
[P25 Network]
Enable=1
GatewayAddress=127.0.0.1
GatewayPort=42020
LocalPort=32010
ModeHang=300
Debug=0
[NXDN Network]
Enable=0
#LocalAddress=127.0.0.1
Debug=0
LocalPort=14021
GatewayAddress=127.0.0.1
GatewayPort=14020
|
|
toggle quoted messageShow quoted text
From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of Jeff Carrier <k0jsc.jeff@...>
Sent: 15 August 2018 17:59
To: main@dvswitch.groups.io
Subject: Re: [DVSwitch] dvswich.ini
Wow and I haven't even had any beer yet! Duh
On Wed, Aug 15, 2018 at 10:57 AM Steve N4IRS < szingman@...> wrote:
DVSwitch is misspelled.
On 8/15/2018 12:56 PM, Jeff Carrier wrote:
root@28299:/opt/MMDVM_Bridge# ls
DVSwtich.ini MMDVM_Bridge MMDVM_Bridge.ini
root@28299:/opt/MMDVM_Bridge#
On Wed, Aug 15, 2018 at 10:40 AM Steve N4IRS < szingman@...> wrote:
Show me the directory.
On 8/15/2018 12:38 PM, Jeff Carrier wrote:
It fails, here's the output.
root@28299:/opt/MMDVM_Bridge# ./MMDVM_Bridge MMDVM_Bridge.ini
I: 2018-08-15 16:37:52.992 MMDVM_Bridge:
I: 2018-08-15 16:37:52.993 Portions Copyright (C) 2018 DVSwitch, INAD.
I: 2018-08-15 16:37:52.993 Hacks by Mike N4IRR and Steve N4IRS
I: 2018-08-15 16:37:52.993 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2018-08-15 16:37:52.993 This software is for use on amateur radio networks only,
I: 2018-08-15 16:37:52.993 it is to be used for educational purposes only. Its use on
I: 2018-08-15 16:37:52.994 commercial networks is strictly prohibited.
I: 2018-08-15 16:37:52.994 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others
M: 2018-08-15 16:37:52.994 MMDVM_Bridge-20180423 is starting
M: 2018-08-15 16:37:52.994 Built 15:47:01 May 30 2018 (GitID #9cdea41)
I: 2018-08-15 16:37:52.995 General Parameters
I: 2018-08-15 16:37:52.995 Callsign: K0JSC
I: 2018-08-15 16:37:52.995 Id: 310815
I: 2018-08-15 16:37:52.995 Duplex: no
I: 2018-08-15 16:37:52.996 Timeout: 180s
I: 2018-08-15 16:37:52.996 D-Star: disabled
I: 2018-08-15 16:37:52.996 DMR: disabled
I: 2018-08-15 16:37:52.996 YSF: disabled
I: 2018-08-15 16:37:52.997 P25: enabled
I: 2018-08-15 16:37:52.997 NXDN: disabled
I: 2018-08-15 16:37:52.997 Modem Parameters
I: 2018-08-15 16:37:52.997 Port: /dev/null
I: 2018-08-15 16:37:52.997 RX Invert: no
I: 2018-08-15 16:37:52.997 TX Invert: no
I: 2018-08-15 16:37:52.997 PTT Invert: no
I: 2018-08-15 16:37:52.997 TX Delay: 100ms
I: 2018-08-15 16:37:52.998 RX Offset: 0Hz
I: 2018-08-15 16:37:52.998 TX Offset: 0Hz
I: 2018-08-15 16:37:52.998 RX DC Offset: 0
I: 2018-08-15 16:37:52.998 TX DC Offset: 0
I: 2018-08-15 16:37:52.998 RF Level: 100.0%
I: 2018-08-15 16:37:52.998 DMR Delay: 0 (0.0ms)
I: 2018-08-15 16:37:52.998 RX Level: 50.0%
I: 2018-08-15 16:37:52.998 CW Id TX Level: 50.0%
I: 2018-08-15 16:37:52.998 D-Star TX Level: 50.0%
I: 2018-08-15 16:37:52.998 DMR TX Level: 50.0%
I: 2018-08-15 16:37:52.998 YSF TX Level: 50.0%
I: 2018-08-15 16:37:52.998 P25 TX Level: 50.0%
I: 2018-08-15 16:37:52.998 NXDN TX Level: 50.0%
I: 2018-08-15 16:37:52.998 RX Frequency: 222340000Hz (222340000Hz)
I: 2018-08-15 16:37:52.998 TX Frequency: 224940000Hz (224940000Hz)
M: 2018-08-15 16:37:52.999 Opening the MMDVM
I: 2018-08-15 16:37:52.999 Display Parameters
I: 2018-08-15 16:37:52.999 Type:
I: 2018-08-15 16:37:52.999 P25 Network Parameters
I: 2018-08-15 16:37:52.999 Gateway Address: 127.0.0.1
I: 2018-08-15 16:37:52.999 Gateway Port: 42020
I: 2018-08-15 16:37:52.999 Local Port: 32010
I: 2018-08-15 16:37:52.999 Mode Hang: 300s
M: 2018-08-15 16:37:53.000 P25, Opening INI file: DVSwitch.ini
E: 2018-08-15 16:37:53.000 P25, ini file "DVSwitch.ini" was not found. Fatal error exiting
root@28299:/opt/MMDVM_Bridge#
On Wed, Aug 15, 2018 at 10:27 AM Steve N4IRS < szingman@...> wrote:
Jeff,
MMDVM_Bridge will look for DVSwitch in the same directory as the MMDVM_Bridge executable. (Unless you use the environment variable) You can not pass DVSwitch.ini on the command line.
You can pass MMDVM_Bridge.ini on the command line.
So,
Make sure MMDVM_Bridge, DVSwitch.ini and MMDVM_Bridge.ini are in the same directory
run:
MMDVM_Bridge MMDVM_Bridge.ini
If it does not work, please copy and past the output from MMDVM_Bridge.
Steve
On 8/15/2018 11:51 AM, Jeff Carrier wrote:
certainly,
I also copied dvswitch.ini to /etc/ and /opt/MMDMV_Bridge
mmdvm_bridge.service
[Unit]
Description=MMDVM_Bridge Service
# Description=Place this file in /lib/systemd/system
# Description=N4IRS 04/20/2018
# The device name should point to the
# port the mmdvm is plugged into.
# For USB ports (Arduino Due)
# BindTo=dev-ttyACM0.device
#
# To make the network-online.target available
# systemctl enable systemd-networkd-wait-online.service
After=network-online.target syslog.target netcheck.service
Wants=network-online.target
[Service]
StandardOutput=null
WorkingDirectory=/opt/MMDVM_Bridge
RestartSec=3
ExecStart=/opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini
Restart=on-abort
[Install]
WantedBy=multi-user.target
dvswitch.ini
; MMDVM_Bridge export / import configuration file.
; This file should be placed along side of MMDVM_Bridge or it can be
; supplied as a path on the MMDVM_BRIDGE environment variable.
; Configure the Quantar Repeater Partner
; Note that the TX and RX ports are already reversed for MMDVM_Bridge <--> Quantar_Bridge
[QUANTAR]
;logFilePath = /var/log/Quantar_Bridge.log
;Address = 127.0.0.1 ; Address to send AMBE TLV frames to (export)
;TXPort = 34103 ; Port to send AMBE TLV frames to (export)
;RXPort = 34100 ; Port to listen on (import)
;quantarPort = 1994 ; HDLC frames To/From the Quantar repeater
;logLevel = 2 ; Show messages and above 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
;debug = 0 ; Debug 0 = off, 1 = on (adds lots of additional messages)
; Configure the DMR Partner
; Audio format is AMBE 72 bit
[DMR]
;Address = 127.0.0.1 ; Address to send AMBE TLV frames to (export)
;TXPort = 31100 ; Port to send AMBE TLV frames to (export)
;RXPort = 31103 ; Port to listen on (import)
;Slot = 2 ; Export slot
; Configure the D-Star Partner
; Audio format is AMBE 48 bit (DSAMBE)
[DSTAR]
;Address = 127.0.0.1 ; Address to send AMBE TLV frames to (export)
;TXPort = 32100 ; Port to send AMBE TLV frames to (export)
;RXPort = 32103 ; Port to listen on (import)
;FallbackID = 1234567 ; In case we can not find a valid DMR id in the database, export this one
;ExportTG = 9 ; Which TG to export
;Slot = 2 ; Export slot
; Configure the NXDN Partner
; Audio format is AMBE 72 bit
[NXDN]
;Address = 127.0.0.1 ; Address to send AMBE TLV frames to (export)
;TXPort = 33100 ; Port to send AMBE TLV frames to (export)
;RXPort = 33103 ; Port to listen on (import)
;FallbackID = 1234567 ; In case we can not find a valid DMR id in the database, export this one
;NXDNFallbackID = 12345 ; Use this ID when the input DMR ID is not found in the database
;Translate = 1234=4321 ; Translate NXDN TG < -- > DMR TG (bidirectional)
;Slot = 2 ; Export slot
; Configure the P25 Partner
; Audio format is IMBE 88 bit
[P25]
Address = 10.1.2.240 ; Address to send AMBE TLV frames to (export)
TXPort = 34100 ; Port to send AMBE TLV frames to (export)
RXPort = 34103 ; Port to listen on (import)
Slot = 2 ; Export slot
; Configure the Yaesu Fusion Partner
; Audio format is AMBE 72 bit
; Audio format is IMBE 88 bit
[YSF]
;Address = 127.0.0.1 ; Address to send AMBE TLV frames to (export)
;TXPort = 35100 ; Port to send AMBE TLV frames to (export)
;RXPort = 35103 ; Port to listen on (import)
;FallbackID = 1234567 ; In case we can not find a valid DMR id in the database, export this one
;ExportTG = 1234 ; Which TG to export
;Slot = 2 ; Export slot
MMDVM_Bridge.ini
[General]
Callsign=K0JSC
Id=310815
Timeout=180
Duplex=0
[Info]
RXFrequency=222340000
TXFrequency=224940000
Power=1
Latitude=41.7333
Longitude=-50.3999
Height=0
Location=Iceberg, North Atlantic
Description=MMDVM_Bridge
[Log]
# Logging levels, 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
DisplayLevel=1
FileLevel=2
FilePath=/var/log/mmdvm
FileRoot=MMDVM_Bridge
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat
Time=24
[NXDN Id Lookup]
File=/var/lib/mmdvm/NXDN.csv
Time=24
[Modem]
Port=/dev/null
RSSIMappingFile=RSSI.dat
Trace=0
Debug=0
[D-Star]
Enable=0
Module=C
[DMR]
Enable=0
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0
[System Fusion]
Enable=0
[P25]
Enable=1
NAC=293
SelfOnly=0
OverrideUIDCheck=0
RemoteGateway=1
ModeHang=20
[NXDN]
Enable=0
RAN=1
Id=12345
[D-Star Network]
Enable=0
GatewayAddress=127.0.0.1
GatewayPort=20010
LocalPort=20011
Debug=0
[DMR Network]
Enable=0
Port=62031
Jitter=360
Local=62032
Password=passw0rd
Slot1=1
Slot2=1
Debug=0
[System Fusion Network]
Enable=0
LocalAddress=0
LocalPort=3200
GatewayPort=42166
Debug=0
[P25 Network]
Enable=1
GatewayAddress=127.0.0.1
GatewayPort=42020
LocalPort=32010
ModeHang=300
Debug=0
[NXDN Network]
Enable=0
#LocalAddress=127.0.0.1
Debug=0
LocalPort=14021
GatewayAddress=127.0.0.1
GatewayPort=14020
|
|

Steve N4IRS
Jeff,
Glad you got things sorted out. I do have one general comment. In
you DVSwitch.ini you have what I assume is unused modes "commented
out" There is no need to do that since MMDVM_Bridge will only use
that stanza and ports is the mode is enabled in MMDVM_Bridge.ini.
Either way will work.
73, Steve N4IRS
toggle quoted messageShow quoted text
On 8/15/2018 11:51 AM, Jeff Carrier
wrote:
certainly,
I also copied dvswitch.ini to /etc/ and /opt/MMDMV_Bridge
mmdvm_bridge.service
[Unit]
Description=MMDVM_Bridge Service
# Description=Place this file in /lib/systemd/system
# Description=N4IRS 04/20/2018
# The device name should point to the
# port the mmdvm is plugged into.
# For USB ports (Arduino Due)
# BindTo=dev-ttyACM0.device
#
# To make the network-online.target available
# systemctl enable systemd-networkd-wait-online.service
After=network-online.target syslog.target netcheck.service
Wants=network-online.target
[Service]
StandardOutput=null
WorkingDirectory=/opt/MMDVM_Bridge
RestartSec=3
ExecStart=/opt/MMDVM_Bridge/MMDVM_Bridge
/opt/MMDVM_Bridge/MMDVM_Bridge.ini
Restart=on-abort
[Install]
WantedBy=multi-user.target
dvswitch.ini
; MMDVM_Bridge export / import configuration file.
; This file should be placed along side of MMDVM_Bridge or
it can be
; supplied as a path on the MMDVM_BRIDGE environment
variable.
; Configure the Quantar Repeater Partner
; Note that the TX and RX ports are already reversed for
MMDVM_Bridge <--> Quantar_Bridge
[QUANTAR]
;logFilePath = /var/log/Quantar_Bridge.log
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 34103 ; Port to send AMBE TLV
frames to (export)
;RXPort = 34100 ; Port to listen on (import)
;quantarPort = 1994 ; HDLC frames To/From the
Quantar repeater
;logLevel = 2 ; Show messages and above
0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error,
6=Fatal
;debug = 0 ; Debug 0 = off, 1 = on
(adds lots of additional messages)
; Configure the DMR Partner
; Audio format is AMBE 72 bit
[DMR]
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 31100 ; Port to send AMBE TLV
frames to (export)
;RXPort = 31103 ; Port to listen on (import)
;Slot = 2 ; Export slot
; Configure the D-Star Partner
; Audio format is AMBE 48 bit (DSAMBE)
[DSTAR]
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 32100 ; Port to send AMBE TLV
frames to (export)
;RXPort = 32103 ; Port to listen on (import)
;FallbackID = 1234567 ; In case we can not find a
valid DMR id in the database, export this one
;ExportTG = 9 ; Which TG to export
;Slot = 2 ; Export slot
; Configure the NXDN Partner
; Audio format is AMBE 72 bit
[NXDN]
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 33100 ; Port to send AMBE TLV
frames to (export)
;RXPort = 33103 ; Port to listen on (import)
;FallbackID = 1234567 ; In case we can not find a
valid DMR id in the database, export this one
;NXDNFallbackID = 12345 ; Use this ID when the input
DMR ID is not found in the database
;Translate = 1234=4321 ; Translate NXDN TG < --
> DMR TG (bidirectional)
;Slot = 2 ; Export slot
; Configure the P25 Partner
; Audio format is IMBE 88 bit
[P25]
Address = 10.1.2.240 ; Address to send AMBE TLV
frames to (export)
TXPort = 34100 ; Port to send AMBE TLV
frames to (export)
RXPort = 34103 ; Port to listen on (import)
Slot = 2 ; Export slot
; Configure the Yaesu Fusion Partner
; Audio format is AMBE 72 bit
; Audio format is IMBE 88 bit
[YSF]
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 35100 ; Port to send AMBE TLV
frames to (export)
;RXPort = 35103 ; Port to listen on (import)
;FallbackID = 1234567 ; In case we can not find a
valid DMR id in the database, export this one
;ExportTG = 1234 ; Which TG to export
;Slot = 2 ; Export slot
MMDVM_Bridge.ini
[General]
Callsign=K0JSC
Id=310815
Timeout=180
Duplex=0
[Info]
RXFrequency=222340000
TXFrequency=224940000
Power=1
Latitude=41.7333
Longitude=-50.3999
Height=0
Location=Iceberg, North Atlantic
Description=MMDVM_Bridge
[Log]
# Logging levels, 0=No logging, 1=Debug, 2=Message, 3=Info,
4=Warning, 5=Error, 6=Fatal
DisplayLevel=1
FileLevel=2
FilePath=/var/log/mmdvm
FileRoot=MMDVM_Bridge
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat
Time=24
[NXDN Id Lookup]
File=/var/lib/mmdvm/NXDN.csv
Time=24
[Modem]
Port=/dev/null
RSSIMappingFile=RSSI.dat
Trace=0
Debug=0
[D-Star]
Enable=0
Module=C
[DMR]
Enable=0
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0
[System Fusion]
Enable=0
[P25]
Enable=1
NAC=293
SelfOnly=0
OverrideUIDCheck=0
RemoteGateway=1
ModeHang=20
[NXDN]
Enable=0
RAN=1
Id=12345
[D-Star Network]
Enable=0
GatewayAddress=127.0.0.1
GatewayPort=20010
LocalPort=20011
Debug=0
[DMR Network]
Enable=0
Address=hblink.dvswitch.org
Port=62031
Jitter=360
Local=62032
Password=passw0rd
Slot1=1
Slot2=1
Debug=0
[System Fusion Network]
Enable=0
LocalAddress=0
LocalPort=3200
GatewayAddress=ysfreflector.dvswitch.org
GatewayPort=42166
Debug=0
[P25 Network]
Enable=1
GatewayAddress=127.0.0.1
GatewayPort=42020
LocalPort=32010
ModeHang=300
Debug=0
[NXDN Network]
Enable=0
#LocalAddress=127.0.0.1
Debug=0
LocalPort=14021
GatewayAddress=127.0.0.1
GatewayPort=14020
|
|
RR Steve thank you for the help!
I'm not out of the woods yet. Getting audio from USRP but not to USRP. Getting close
Weird thing is that it was working until the reboot
toggle quoted messageShow quoted text
On Wed, Aug 15, 2018 at 12:04 PM Steve N4IRS < szingman@...> wrote:
Jeff,
Glad you got things sorted out. I do have one general comment. In
you DVSwitch.ini you have what I assume is unused modes "commented
out" There is no need to do that since MMDVM_Bridge will only use
that stanza and ports is the mode is enabled in MMDVM_Bridge.ini.
Either way will work.
73, Steve N4IRS
On 8/15/2018 11:51 AM, Jeff Carrier
wrote:
certainly,
I also copied dvswitch.ini to /etc/ and /opt/MMDMV_Bridge
mmdvm_bridge.service
[Unit]
Description=MMDVM_Bridge Service
# Description=Place this file in /lib/systemd/system
# Description=N4IRS 04/20/2018
# The device name should point to the
# port the mmdvm is plugged into.
# For USB ports (Arduino Due)
# BindTo=dev-ttyACM0.device
#
# To make the network-online.target available
# systemctl enable systemd-networkd-wait-online.service
After=network-online.target syslog.target netcheck.service
Wants=network-online.target
[Service]
StandardOutput=null
WorkingDirectory=/opt/MMDVM_Bridge
RestartSec=3
ExecStart=/opt/MMDVM_Bridge/MMDVM_Bridge
/opt/MMDVM_Bridge/MMDVM_Bridge.ini
Restart=on-abort
[Install]
WantedBy=multi-user.target
dvswitch.ini
; MMDVM_Bridge export / import configuration file.
; This file should be placed along side of MMDVM_Bridge or
it can be
; supplied as a path on the MMDVM_BRIDGE environment
variable.
; Configure the Quantar Repeater Partner
; Note that the TX and RX ports are already reversed for
MMDVM_Bridge <--> Quantar_Bridge
[QUANTAR]
;logFilePath = /var/log/Quantar_Bridge.log
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 34103 ; Port to send AMBE TLV
frames to (export)
;RXPort = 34100 ; Port to listen on (import)
;quantarPort = 1994 ; HDLC frames To/From the
Quantar repeater
;logLevel = 2 ; Show messages and above
0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error,
6=Fatal
;debug = 0 ; Debug 0 = off, 1 = on
(adds lots of additional messages)
; Configure the DMR Partner
; Audio format is AMBE 72 bit
[DMR]
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 31100 ; Port to send AMBE TLV
frames to (export)
;RXPort = 31103 ; Port to listen on (import)
;Slot = 2 ; Export slot
; Configure the D-Star Partner
; Audio format is AMBE 48 bit (DSAMBE)
[DSTAR]
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 32100 ; Port to send AMBE TLV
frames to (export)
;RXPort = 32103 ; Port to listen on (import)
;FallbackID = 1234567 ; In case we can not find a
valid DMR id in the database, export this one
;ExportTG = 9 ; Which TG to export
;Slot = 2 ; Export slot
; Configure the NXDN Partner
; Audio format is AMBE 72 bit
[NXDN]
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 33100 ; Port to send AMBE TLV
frames to (export)
;RXPort = 33103 ; Port to listen on (import)
;FallbackID = 1234567 ; In case we can not find a
valid DMR id in the database, export this one
;NXDNFallbackID = 12345 ; Use this ID when the input
DMR ID is not found in the database
;Translate = 1234=4321 ; Translate NXDN TG < --
> DMR TG (bidirectional)
;Slot = 2 ; Export slot
; Configure the P25 Partner
; Audio format is IMBE 88 bit
[P25]
Address = 10.1.2.240 ; Address to send AMBE TLV
frames to (export)
TXPort = 34100 ; Port to send AMBE TLV
frames to (export)
RXPort = 34103 ; Port to listen on (import)
Slot = 2 ; Export slot
; Configure the Yaesu Fusion Partner
; Audio format is AMBE 72 bit
; Audio format is IMBE 88 bit
[YSF]
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 35100 ; Port to send AMBE TLV
frames to (export)
;RXPort = 35103 ; Port to listen on (import)
;FallbackID = 1234567 ; In case we can not find a
valid DMR id in the database, export this one
;ExportTG = 1234 ; Which TG to export
;Slot = 2 ; Export slot
MMDVM_Bridge.ini
[General]
Callsign=K0JSC
Id=310815
Timeout=180
Duplex=0
[Info]
RXFrequency=222340000
TXFrequency=224940000
Power=1
Latitude=41.7333
Longitude=-50.3999
Height=0
Location=Iceberg, North Atlantic
Description=MMDVM_Bridge
[Log]
# Logging levels, 0=No logging, 1=Debug, 2=Message, 3=Info,
4=Warning, 5=Error, 6=Fatal
DisplayLevel=1
FileLevel=2
FilePath=/var/log/mmdvm
FileRoot=MMDVM_Bridge
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat
Time=24
[NXDN Id Lookup]
File=/var/lib/mmdvm/NXDN.csv
Time=24
[Modem]
Port=/dev/null
RSSIMappingFile=RSSI.dat
Trace=0
Debug=0
[D-Star]
Enable=0
Module=C
[DMR]
Enable=0
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0
[System Fusion]
Enable=0
[P25]
Enable=1
NAC=293
SelfOnly=0
OverrideUIDCheck=0
RemoteGateway=1
ModeHang=20
[NXDN]
Enable=0
RAN=1
Id=12345
[D-Star Network]
Enable=0
GatewayAddress=127.0.0.1
GatewayPort=20010
LocalPort=20011
Debug=0
[DMR Network]
Enable=0
Port=62031
Jitter=360
Local=62032
Password=passw0rd
Slot1=1
Slot2=1
Debug=0
[System Fusion Network]
Enable=0
LocalAddress=0
LocalPort=3200
GatewayPort=42166
Debug=0
[P25 Network]
Enable=1
GatewayAddress=127.0.0.1
GatewayPort=42020
LocalPort=32010
ModeHang=300
Debug=0
[NXDN Network]
Enable=0
#LocalAddress=127.0.0.1
Debug=0
LocalPort=14021
GatewayAddress=127.0.0.1
GatewayPort=14020
|
|
Found it and squashed it.
Was seeing this M: 2018-08-15 18:12:24.314 P25 packet received from an invalid source, 127.0.0.1 != 10.1.2.240 and/or 42020 != 42020
It didn't like the loopback address MMDVM_Bridge.ini under P25 Network
toggle quoted messageShow quoted text
RR Steve thank you for the help!
I'm not out of the woods yet. Getting audio from USRP but not to USRP. Getting close
Weird thing is that it was working until the reboot
On Wed, Aug 15, 2018 at 12:04 PM Steve N4IRS < szingman@...> wrote:
Jeff,
Glad you got things sorted out. I do have one general comment. In
you DVSwitch.ini you have what I assume is unused modes "commented
out" There is no need to do that since MMDVM_Bridge will only use
that stanza and ports is the mode is enabled in MMDVM_Bridge.ini.
Either way will work.
73, Steve N4IRS
On 8/15/2018 11:51 AM, Jeff Carrier
wrote:
certainly,
I also copied dvswitch.ini to /etc/ and /opt/MMDMV_Bridge
mmdvm_bridge.service
[Unit]
Description=MMDVM_Bridge Service
# Description=Place this file in /lib/systemd/system
# Description=N4IRS 04/20/2018
# The device name should point to the
# port the mmdvm is plugged into.
# For USB ports (Arduino Due)
# BindTo=dev-ttyACM0.device
#
# To make the network-online.target available
# systemctl enable systemd-networkd-wait-online.service
After=network-online.target syslog.target netcheck.service
Wants=network-online.target
[Service]
StandardOutput=null
WorkingDirectory=/opt/MMDVM_Bridge
RestartSec=3
ExecStart=/opt/MMDVM_Bridge/MMDVM_Bridge
/opt/MMDVM_Bridge/MMDVM_Bridge.ini
Restart=on-abort
[Install]
WantedBy=multi-user.target
dvswitch.ini
; MMDVM_Bridge export / import configuration file.
; This file should be placed along side of MMDVM_Bridge or
it can be
; supplied as a path on the MMDVM_BRIDGE environment
variable.
; Configure the Quantar Repeater Partner
; Note that the TX and RX ports are already reversed for
MMDVM_Bridge <--> Quantar_Bridge
[QUANTAR]
;logFilePath = /var/log/Quantar_Bridge.log
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 34103 ; Port to send AMBE TLV
frames to (export)
;RXPort = 34100 ; Port to listen on (import)
;quantarPort = 1994 ; HDLC frames To/From the
Quantar repeater
;logLevel = 2 ; Show messages and above
0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error,
6=Fatal
;debug = 0 ; Debug 0 = off, 1 = on
(adds lots of additional messages)
; Configure the DMR Partner
; Audio format is AMBE 72 bit
[DMR]
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 31100 ; Port to send AMBE TLV
frames to (export)
;RXPort = 31103 ; Port to listen on (import)
;Slot = 2 ; Export slot
; Configure the D-Star Partner
; Audio format is AMBE 48 bit (DSAMBE)
[DSTAR]
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 32100 ; Port to send AMBE TLV
frames to (export)
;RXPort = 32103 ; Port to listen on (import)
;FallbackID = 1234567 ; In case we can not find a
valid DMR id in the database, export this one
;ExportTG = 9 ; Which TG to export
;Slot = 2 ; Export slot
; Configure the NXDN Partner
; Audio format is AMBE 72 bit
[NXDN]
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 33100 ; Port to send AMBE TLV
frames to (export)
;RXPort = 33103 ; Port to listen on (import)
;FallbackID = 1234567 ; In case we can not find a
valid DMR id in the database, export this one
;NXDNFallbackID = 12345 ; Use this ID when the input
DMR ID is not found in the database
;Translate = 1234=4321 ; Translate NXDN TG < --
> DMR TG (bidirectional)
;Slot = 2 ; Export slot
; Configure the P25 Partner
; Audio format is IMBE 88 bit
[P25]
Address = 10.1.2.240 ; Address to send AMBE TLV
frames to (export)
TXPort = 34100 ; Port to send AMBE TLV
frames to (export)
RXPort = 34103 ; Port to listen on (import)
Slot = 2 ; Export slot
; Configure the Yaesu Fusion Partner
; Audio format is AMBE 72 bit
; Audio format is IMBE 88 bit
[YSF]
;Address = 127.0.0.1 ; Address to send AMBE TLV
frames to (export)
;TXPort = 35100 ; Port to send AMBE TLV
frames to (export)
;RXPort = 35103 ; Port to listen on (import)
;FallbackID = 1234567 ; In case we can not find a
valid DMR id in the database, export this one
;ExportTG = 1234 ; Which TG to export
;Slot = 2 ; Export slot
MMDVM_Bridge.ini
[General]
Callsign=K0JSC
Id=310815
Timeout=180
Duplex=0
[Info]
RXFrequency=222340000
TXFrequency=224940000
Power=1
Latitude=41.7333
Longitude=-50.3999
Height=0
Location=Iceberg, North Atlantic
Description=MMDVM_Bridge
[Log]
# Logging levels, 0=No logging, 1=Debug, 2=Message, 3=Info,
4=Warning, 5=Error, 6=Fatal
DisplayLevel=1
FileLevel=2
FilePath=/var/log/mmdvm
FileRoot=MMDVM_Bridge
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat
Time=24
[NXDN Id Lookup]
File=/var/lib/mmdvm/NXDN.csv
Time=24
[Modem]
Port=/dev/null
RSSIMappingFile=RSSI.dat
Trace=0
Debug=0
[D-Star]
Enable=0
Module=C
[DMR]
Enable=0
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0
[System Fusion]
Enable=0
[P25]
Enable=1
NAC=293
SelfOnly=0
OverrideUIDCheck=0
RemoteGateway=1
ModeHang=20
[NXDN]
Enable=0
RAN=1
Id=12345
[D-Star Network]
Enable=0
GatewayAddress=127.0.0.1
GatewayPort=20010
LocalPort=20011
Debug=0
[DMR Network]
Enable=0
Port=62031
Jitter=360
Local=62032
Password=passw0rd
Slot1=1
Slot2=1
Debug=0
[System Fusion Network]
Enable=0
LocalAddress=0
LocalPort=3200
GatewayPort=42166
Debug=0
[P25 Network]
Enable=1
GatewayAddress=127.0.0.1
GatewayPort=42020
LocalPort=32010
ModeHang=300
Debug=0
[NXDN Network]
Enable=0
#LocalAddress=127.0.0.1
Debug=0
LocalPort=14021
GatewayAddress=127.0.0.1
GatewayPort=14020
|
|