Re: dvswich.ini


Steve N4IRS
 

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
 



Join main@DVSwitch.groups.io to automatically receive all group messages.