diff --git a/defaults b/defaults index a5c09ed..4ca3b34 100644 --- a/defaults +++ b/defaults @@ -114,7 +114,7 @@ mmdvm_local_port=20011 # which port will MMDVMHost be sending on # # ITAP - Special parameters when: module_x='itap' # -device='/dev/ttyUSB0' # where the serial-to-USB cable show up +itap_device='/dev/ttyUSB0' # where the serial-to-USB cable show up ########################################################################################################################## # diff --git a/qn.dvap.cfg b/qn.dvap.cfg index 92b466a..43f04cb 100644 --- a/qn.dvap.cfg +++ b/qn.dvap.cfg @@ -1,44 +1,9 @@ -# g2_ircddb Configuration for me +# A Simple Configuration for a 2M DVAP -ircddb = { - login = "XX0XXX" -# If you are not using rr.openquad.net, you need to specify the host and possibly the password. -# -# host = "some.server.host" // others include group1-irc.ircddb.net -# password = "1111111111111" // not needed for rr.openquad.net -} +ircddb_login='Q0ABC' -module = { - c = { // change the module to "b" if you have a 70cm DVAP - type = "dvap" - serial_number = "AP123456" // your serial number is visible through the case - frequency = 145.5 // this is the default value, chose a quiet frequency -# uncomment and set if you want the following to appear on you ircddb host website. -# range = 0.0 // in meters (1609.344 is one mile) -# agl = 0.0 // in meters -# latitude = 0.000000 // north is positive -# longitude = 0.000000 // east is positive -# desc1 = "Location1" // up to 20 chars -# desc2 = "location2" // up to 20 chars - } -} +module_c='dvap' # change to 'module_b' if you have a 70cm dvap +module_c_serial_number='AP123456' # your serial number is visible through the case +module_c_frequency=146.5 # in MHz, chose a quiet frequency -link = { -# add the callsigns that can shutdown or reboot your system -# admin = [ "XX0XXX" , "YY0YYY" ] // only these users can execute scripts - -# link to the reflector of your choice. the first character is the module you are linking. -# link_at_start = "CREF001C" -} - -dplus = { -# The following settings do not affect your ability to use dplus linking to XRF or XLX reflectors! -# You must be registered on the DPlus system, see www.dstargateway.org, otherwise authorization will fail, -# even if QnetLink reports a successful authorization. - -# authorize = false # uncomment and set to true if you want to use the closed-source DPlus reflectors and/or repeaters -# use_reflectors = true # uncomment and set to false if you are not going to link to DPlus reflectors -# use_repeaters = true # uncomment and set to false if you are not going to link to DPlus repeaters - -# any values specified in you gwys.txt file will override any reflectors or repeaters that DPlus authorization returns. -} +#dplus_authorize=true # uncomment if you want to link to the legacy D-Plus system diff --git a/qn.everything.cfg b/qn.everything.cfg index df3306f..a838e5c 100644 --- a/qn.everything.cfg +++ b/qn.everything.cfg @@ -1,301 +1,239 @@ -# Qnet Gateway Configuration - -ircddb = { - login = "CHANGEME!!!!"; # login callsign for the ircDDB network -# host = "rr.openquad.net" # other include group1-irc.ircddb.net -# port = 9007 # not a good idea to change! -# password = "1111111111111" # not needed for rr.openquad.net -} - -gateway = { -# regen_header = true # regenerate headers from incoming data -# send_qrgs_maps = true # send frequecy, offset, cooridinates and url to irc-server -# aprs_send = true # send info to aprs - - external = { -# ip = "0.0.0.0" -# port = 40000 - } -} - -module = { - a = { # An MMDVMHost module is shown - # make sure this module letter agrees with the [D-Star] Module letter in MMDVM.ini - # in MMDVM.ini its uppercase, here use lower case. - # We show a here, but the convention on this software is: - # 23 cm modules will use "a" - # 70 cm modules will use "b" - # 2 M module will use "c" - type = "mmdvm" -# frequency = 0 # if you specify here, this frequency will show up on the QuadNet USER GATEWAYS webpage -# offset = 0 -# range = 0 # the range of this repeater, in meters 1609.344 meters is 1.0 miles -# agl = 0 # the height above ground level for this repeater's antenna -# latitude = 0 # you can leave this unspecified for a mobile rig -# longitude = 0 # like the latitude -# desc1 = "" # maximum of 20 characters, most special symbols are not allowed -# desc2 = "" # just like desc1 -# url = "github.com/n7tae/g2_ircddb" # 80 characters max - # In review, for an MMDVM module, you only need to specify the type = "mmdvm" and - # make sure the module letter agrees with what's in "MMDVM.ini. - # Also see the mmdvm section below, although it usually doesn't need specifying. - } - - b = { - # a DVRPTR connected to a 70cm radio is shown in this example - - # type must be defined. This is how the dvrptr program finds the config params. - type = "dvrptr" - - # If you operate in "restriction mode", set callsign equal to your personal callsign - # Otherwise do not set callsign and we will use ircddb.username -# callsign = "" - - # the frequency of your DVRPTR in MHz. -# frequency = 145.5 - - # the TX/RX offset in MHz, use 0.0 for simplex -# offset = 0 - - # the range of this repeater, in meters 1609.344 meters is 1.0 miles -# range = 0.0 - - # the height above ground level for you repeater's antenna -# agl = 0.0 - - # the latitude of your repeater -# latitude = 0.0 - - # the longitude of your repeater -# longitude = 0.0 - - # This is used in a loop to wait for packets from your local gateway - # This is in milliseconds -# packet_wait = 25 - - # description of repeater, part one and two 20 char max each -# desc1 = "" -# desc2 = "" - - # the url of your repeater, 80 chars max, defaults to "github.com/n7tae/g2_ircddb" -# url = "" - - # If you want to enable/disable the repeater, set these options. - # Each of these options can NOT be more than 8 characters. - # Each of these options can NOT be another user's callsign. - # Each of these options can NOT be another repeater or reflector. - # Each of these options can NOT be a YRCALL command. - # If these options are set, then they can NOT be equal to each other. - # Using the above options, if you use YRCALL=RFISOFF in your radio - # then the repeater will be OFF and no audio will be copied over local RF - # and no audio will be accepted from any remote system. - # these command are disabled by default - # You can choose your own command strings, if you want to enable these - rf_control = { -# on = "RFISON" -# off = "RFISOFF" - } - - # To protect the repeater owners from bad STN programs out there - # and to also protect the repeater owners from RF users that abuse the STN stuff - # Reject values in YRCALL that start with STN - # If you want to allow the local RF users to subscribe to remote STN groups, - # then set it to XXX or something that is invalid like 123 -# invalid_prefix = "XXX" - - # Your DVRPTR V1 serial number - # If you don't know what it is, run the program and look in the log file! -# serial_number = "00.00.00.00" - - # Some settings for your DVRPTR modem (see DVRPTR V1 manual for more info). -# rf_rx_level = 80 - - # If you need duplex, set it to true -# duplex = false - - # Do you want an ACK back ? -# acknowledge = false - - # ACK delay in milliseconds(ms) - # Minimum is 1, maximum is 999 - # If you do not get a repeater ACK, then make it a higher number - # Some radios get the ACK in 250ms, other radios require 750ms -# ack_delay = 300 - - # This is the TX-delay in milliseconds and it is used to delay the PTT. - # Seme radios have "SLOW" switching time, - # If your radio switches slow from RX to TX, then give your radio more time to switch, maybe 250 ms - # If your radio switches fast from RX to TX, then you could set it to 100 ms or maybe less - # But the best value should be the one to match your radio, so read the manual for your radio. - # In tests that were done for SLOW and FAST radios, we set it to 100 for FAST radios and 250 for SLOW radios. -# tx_delay = 250 - - # Dead firmware ? - # Lets say that you set RQST_COUNT=10 - # When there is NO local RF activity, (we do NOT receive anything from the DV-RPTR modem), - # then every 2 seconds we request the status from the DV-RPTR modem. - # If the DV-RPTR modem does NOT reply to our command, then after sending the command 10 times(RQST_COUNT) - # we have to assume the firmware in the DV-RPTR modem is DEAD. - # So, we send the command every 2 sedonds, and after sending the command 10 times, - # that is about (2 * 10) = 20 seconds, - # the repeater software will stop if the DV-RPTR modem does not respond after 20 seconds( 2 seconds * 10 times ) - # and then the service script will restart the repeater software. - # This is used to protect the repeater owner from BAD firmware. - # Minimum value is 6. - # If you see in the log this: "Modem is not responding... shuttting down" - # Then that means that the firmware died and the DV-RPTR modem stopped responding. - # You can increase the value of RQST_COUNT if you have a slow computer, - # (or maybe your computer is running too many programs and can not service the USB/serial fast enough) - # but we were informed that this is a bug in the firmware and they are trying to fix it. - # So, increasing the value for RQST_COUNT to higher than 10, does not make much sense. -# rqst_count = 10 - - # These values depend on what type of tranceiver is connected to your DV-RPTR modem - # Use either true or false - inverse = { -# rx = true -# tx = true - } - } - - c = { - # a 2m DVAP is shown as an example - - # type must be defined. This is how the dvap_rptr program finds the config params. - type = "dvap" - - # If you operate in "restriction mode", set RPTR equal to your personal callsign - # Otherwise do not set callsign and it will use ircddb.username -# callsign = "" - - # TX DVAP power level -12 to 10, 10 is maximum poower -# power = 10 - - # Squelch, -128 to -45, -100 to -80 usually works best -# squelch = -100 - - # To protect the repeater owners from bad STN programs out there - # and to also protect the repeater owners from RF users that abuse the STN stuff - # Reject values in YRCALL that start with STN - # If you want to allow the local RF users to subscribe to remote STN groups, - # then set it to XXX or something that is invalid like 123 -# ivalid_prefix = "XXX" - - # The serial number of you DVAP is visible through the bottom of the case -# serial_number = "APXXXXXX" - - # the DVAP will send a blip to acknowledge a transmission -# acknowledge = false - - # the frequency of your DVAP in MHz. -# frequency = 145.5 - - # this is for tweaking the frequency of your DVAP, see the owner's manual -# dvap_offset = 0 - - # the range of this repeater, in meters 1609.344 meters is 1.0 miles -# range = 0.0 - - # the height above ground level for you repeater's antenna -# agl = 0.0 - - # the latitude of your repeater -# latitude = 0.0 - - # the longitude of your repeater -# longitude = 0.0 - - # This is used in a loop to wait for packets from your local gateway - # This is in milliseconds -# packet_wait = 25 - - # description of repeater, part one and two 20 char max each -# desc1 = "" -# desc2 = "" - - # the url of your repeater, 80 chars max -# url = "github.com/n7tae/QnetGateway" - } -} - -# you only need this mmdvm section if you set non-standard D-Star ports on your MMDVMHost software -mmdvm = { -# these need to be the same as they are in your MMDVM.ini file (in the [D-Star Network] section -# If you change them there, then change them here! -# internal_ip = "0.0.0.0" -# gateway_port = 20010 -# local_port = 20011 -} - -log = { - # debuging and extra logging switches -# qso = false # QSO info goes into the log -# irc = false # IRC debug info -# dtmf = false # DTMF debug info -} - -aprs = { # APRS.NET connect info -# host = "rotate.aprs.net" -# port = 14580 -# interval = 40 -# filter = "" -} - -link = { -# link_at_start = "NONE" # Link to a reflector at startup. -# to link repeater module B to REF001 C, use "BREF001C" -# ref_login = "" # for loging into REF reflectors, if undefined, ircddb.username will be used -# admin = [ "CALL1", "CALL2", "CALL3" ] # only these users can execute scripts, block dongles and reload the gwys.txt - # you probably want you own callsign in the admin list! -# link_unlink = [ "CALL4", "CALL5", "CALL6" ] # if defined, only these users can link and unlink a repeater -# no_link_unlink = [ "CALL7", "CALL8", "CALL9" ] # if defined, these users cannot link or unlink, it's a blacklist - # if the blacklist is defined (even if it's empty), the link_unlink will not be read -# incoming_ip = "0.0.0.0" # incoming ip address, "0.0.0.0" means accepts all connections. -# ref_port = 20001 # port for REF linking, don't change -# xrf_port = 30001 # port for XRF linking, don't change -# dcs_port = 30051 # port for DCS linking, don't change -# announce = true # do link, unlink, etc. announcements -# acknowledge = true # send text acknowledgment on key-up -# max_dongles = 5 # maximum number of linked hot-spots -} - -dplus = { -# The following settings do not affect your ability to use dplus linking to XRF or XLX reflectors! -# You must be registered on the DPlus system, see www.dstargateway.org, otherwise authorization will fail, -# even if QnetLink reports a successful authorization. - -# authorize = false # uncomment and set to true if you want to use the closed-source DPlus reflectors and/or repeaters -# use_reflectors = true # uncomment and set to false if you are not going to link to DPlus reflectors -# use_repeaters = true # uncomment and set to false if you are not going to link to DPlus repeaters - -# any values specified in your gwys.txt file will override any reflectors or repeaters that DPlus authorization returns. -} - -file = { -# status = "/usr/local/etc/rptr_status" # where repeater status info is passed between services -# DTMF = "/tmp" # -# echotest = "/tmp" # echo dat files will end up here -# qnvoicefile = /tmp/qnvoice.txt # where qnvoice will create the play command -# gwys = "/usr/local/etc/gwys.txt" # where the list of gateways and reflectors (with ports) is. -# announce_dir = "/usr/local/etc" # where are the *.dat files for the verbal link, unlink, etc. announcements -} - -timing = { - timeout = { -# echo = 1 # delay time in seconds for echo -# voicemail = 1 # delay time for voicemail -# remote_g2 = 2 # after this many seconds with no packets, we assume the tx is closed -# local_rptr = 1 # local timeout, in seconds - } - - play = { -# wait = 1 # seconds before playback occurs, between 1 and 10 -# delay = 19 # microseconds between frames playback, if echo sounds bad, adjust this up or down 1,2 microseconds - } - - inactivity = { -# a = 0 # unlink repeater if no activity for this many minutes -# b = 0 # zero mean there will be no timer -# c = 0 - } -} +# +# Copyright (c) 2019 by Thomas A. Early N7TAE +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +######################################################################################################################### +# # +# qn.everything.cfg example configuration file # +# # +######################################################################################################################### +# What follows need to also be valid bash shell variable definitions, therefore: +# No white space on either side of the equal sign (=) +# String values should be quoted if they contain any special chars, including white space +# If a string value is a simple word, it doesn't need to be quoted +# Use the single quote (') for quoting strings, not the double quote(") +# Comments can come after a key=value definition, introduced by a pound-sign (#) +# +# if a definition is commented out, it means that key has that value as its default value. +# You don't need to uncomment it if that value is acceptable. In fact, you can remove the commented +# line altogether to simplify you qn.cfg file! In fact, you can remove all these comments and blank +# lines! + +########################################################################################################################## +# +# IRCDDB - You MUST use a legal callsign for logging into any IRC network +# +# you must specify you legal Callsign to enable QnetGateway +ircddb_login='' # login callsign for the ircDDB network +#ircddb_host='rr.openquad.net' # other irc networks include group1-irc.ircddb.net and group2-irc.ircddb.net +#ircddb_port=9007 # not a good idea to change! +#ircddb_password='1111111111111' # not needed for rr.openquad.net + +########################################################################################################################## +# +# GATEWAY +# +# Very few users will need to specify anything in the 'gateway' section! +#gateway_bool_regen_header=true # regenerate headers from incoming data +#gateway_send_qrgs_maps=true # send frequency, offset, coordinates and url to irc-server +#gateway_local_irc_ip='0.0.0.0' # the local port on the gateway for the IRC tcp socket +#gateway_external_ip='0.0.0.0' # this means accept a connection from any source +#gateway_external_port=40000 # don't change +#gateway_tolink='gate2link' # Unix sockets between qngateway and QnetLink +#gateway_fromlink='link2gate' # all Unix sockets are on the file system, but hidden from view + +########################################################################################################################## +# +# APRS - for tracking users and also this repeater. +# +#aprs_enable=true # uncomment and set this to 'false' if you don't wany the gateway interacting with APRS +#aprs_host='rotate.aprs.net' # the APRS network server +#aprs_port=14580 # and port +#aprs_interval=40 # keep-alive in minutes +#aprs_filter='' # advanced feature + +########################################################################################################################## +# +# LINK - controls the behaviour of QnetLink (qnlink) +# +#link_admin='' # these comma-separated list of users can execute scripts, block dongles, reload the gwys.txt + # if empty, everyone has admin privileges. +#link_link_unlink='' # if defined, comma-separated list of users that can link and unlink a repeater +#link_no_link_unlink='' # if defined, comma-separated list of users that cannot link or unlink, it's a blacklist. + # if a blacklist is defined and not empty, the link_unlink will not be read +#link_incoming_ip='0.0.0.0' # incoming ip address of qnlink, '0.0.0.0' means accepts any connection. +#link_ref_port=20001 # port for REF linking, don't change +#link_xrf_port=30001 # port for XRF linking, don't change +#link_dcs_port=30051 # port for DCS linking, don't change +#link_announce=true # do link, unlink, etc. announcements +#link_acknowledge=true # send text acknowledgment on key-up +#link_max_dongles=5 # maximum number of linked hot-spots + +########################################################################################################################## +# +# Here is an example MMDVM module on 70cm channel B +# +module_b='mmdvm' +#module_b_link_at_start='' # For example, set to 'REF001 C' to link module to reflector 1-charlie when the module starts. +#module_b_inactivity=0 # if no activity for this many minutes unlink any linked reflector. Zero means no timer. +#module_b_callsign='' # if you operate in a 'restriction mode', use your personal callsign. Usually leave this empty. +#module_b_packet_wait=25 # how many milliseconds to wait on packets in a voicestream +#module_b_acknowledge=false # Do you want an ACK back? +#module_b_ack_delay=250 # millisecond delay before acknowledgement +#module_b_frequency=0 # if you specify here, this frequency will show up on the QuadNet USER GATEWAYS webpage +#module_b_offset=0 # usually the duplex tx-rx offset, but for dvap, it's a frequency tweak +#module_b_range=0 # the range of this repeater, in meters 1609.344 meters is 1.0 miles +#module_b_agl=0 # the height above ground level for this repeater's antenna +#module_b_latitude=0 # you can leave this unspecified for a mobile rig +#module_b_longitude=0 # like the latitude +#module_b_desc1='' # maximum of 20 characters, most special symbols are not allowed +#module_b_desc2='' # just like desc1 +#module_b_gate2modem1='gate2modem1' # Unix Sockets between a modem and the gateway +#module_b_modem2gate1='modem2gate1' # 0 is for A, 1 is for B and 2 is for C +#module_b_url='github.com/n7tae/g2_ircddb' # 80 characters max +# MMDVM - Special parameters when: module_b='mmdvm' +#module_b_internal_ip='0.0.0.0' # where MMDVMHost will find the QnetRelay program +#module_b_gateway_port=20010 # which port will QnetRelay be sending on +#module_b_local_port=20011 # which port will MMDVMHost be sending on + +########################################################################################################################## +# +# Here is an example ICOM Terminal and Access Point (ITAP) module specified on 2m channel C +# +module_c='itap' +#module_c_link_at_start='' # For example, set to 'REF001 C' to link module to reflector 1-charlie when the module starts. +#module_c_inactivity=0 # if no activity for this many minutes unlink any linked reflector. Zero means no timer. +#module_c_callsign='' # if you operate in a 'restriction mode', use your personal callsign. Usually leave this empty. +#module_c_packet_wait=25 # how many milliseconds to wait on packets in a voicestream +#module_c_acknowledge=false # Do you want an ACK back? +#module_c_ack_delay=250 # millisecond delay before acknowledgement +#module_c_frequency=0 # if you specify here, this frequency will show up on the QuadNet USER GATEWAYS webpage +#module_c_offset=0 # usually the duplex tx-rx offset, but for dvap, it's a frequency tweak +#module_c_range=0 # the range of this repeater, in meters 1609.344 meters is 1.0 miles +#module_c_agl=0 # the height above ground level for this repeater's antenna +#module_c_latitude=0 # you can leave this unspecified for a mobile rig +#module_c_longitude=0 # like the latitude +#module_c_desc1='' # maximum of 20 characters, most special symbols are not allowed +#module_c_desc2='' # just like desc1 +#module_c_gate2modem1='gate2modem1' # Unix Sockets between a modem and the gateway +#module_c_modem2gate1='modem2gate1' # 0 is for A, 1 is for B and 2 is for C +#module_c_url='github.com/n7tae/g2_ircddb' # 80 characters max +# ITAP - Special parameters when: module_c='itap' +#module_c_device='/dev/ttyUSB0' # where the serial-to-USB cable shows up + +########################################################################################################################## +# +# DVAP - Here is an example 2M dvap +# +module_c='itap' +#module_c_link_at_start='' # For example, set to 'REF001 C' to link module to reflector 1-charlie when the module starts. +#module_c_inactivity=0 # if no activity for this many minutes unlink any linked reflector. Zero means no timer. +#module_c_callsign='' # if you operate in a 'restriction mode', use your personal callsign. Usually leave this empty. +#module_c_packet_wait=25 # how many milliseconds to wait on packets in a voicestream +#module_c_acknowledge=false # Do you want an ACK back? +#module_c_ack_delay=250 # millisecond delay before acknowledgement +#module_c_frequency=0 # if you specify here, this frequency will show up on the QuadNet USER GATEWAYS webpage +#module_c_offset=0 # usually the duplex tx-rx offset, but for dvap, it's a frequency tweak +#module_c_range=0 # the range of this repeater, in meters 1609.344 meters is 1.0 miles +#module_c_agl=0 # the height above ground level for this repeater's antenna +#module_c_latitude=0 # you can leave this unspecified for a mobile rig +#module_c_longitude=0 # like the latitude +#module_c_desc1='' # maximum of 20 characters, most special symbols are not allowed +#module_c_desc2='' # just like desc1 +#module_c_gate2modem1='gate2modem1' # Unix Sockets between a modem and the gateway +#module_c_modem2gate1='modem2gate1' # 0 is for A, 1 is for B and 2 is for C +#module_c_url='github.com/n7tae/g2_ircddb' # 80 characters max +# DVAP - Special parameters when: module_c='dvap' +#module_c_power=10 # TX power level: -12 to 10, 10 is maximum power +#module_c_squelch=-100 # RX Squelch: -128 to -45, -100 to -80 usually works best +#module_c_serial_number='APXXXXXX' # The serial number of your DVAP is visible through the bottom of the case + +########################################################################################################################## +# +# DVRPTR - Here is an example 70cm dvrptr +# +module_b='dvrptr' +#module_b_link_at_start='' # For example, set to 'REF001 C' to link module to reflector 1-charlie when the module starts. +#module_b_inactivity=0 # if no activity for this many minutes unlink any linked reflector. Zero means no timer. +#module_b_callsign='' # if you operate in a 'restriction mode', use your personal callsign. Usually leave this empty. +#module_b_packet_wait=25 # how many milliseconds to wait on packets in a voicestream +#module_b_acknowledge=false # Do you want an ACK back? +#module_b_ack_delay=250 # millisecond delay before acknowledgement +#module_b_frequency=0 # if you specify here, this frequency will show up on the QuadNet USER GATEWAYS webpage +#module_b_offset=0 # usually the duplex tx-rx offset, but for dvap, it's a frequency tweak +#module_b_range=0 # the range of this repeater, in meters 1609.344 meters is 1.0 miles +#module_b_agl=0 # the height above ground level for this repeater's antenna +#module_b_latitude=0 # you can leave this unspecified for a mobile rig +#module_b_longitude=0 # like the latitude +#module_b_desc1='' # maximum of 20 characters, most special symbols are not allowed +#module_b_desc2='' # just like desc1 +#module_b_gate2modem1='gate2modem1' # Unix Sockets between a modem and the gateway +#module_b_modem2gate1='modem2gate1' # 0 is for A, 1 is for B and 2 is for C +#module_b_url='github.com/n7tae/g2_ircddb' # 80 characters max +# DVRPTR - Special parameters when: module_b='dvrptr' +# if you don't know what your DVRPTR serial number is, look in the log file after running qndvrptr +#module_b_serial_number='00.00.00.00' # the DVRPTR serial number +#module_b_rf_on='RFON' # put this in YRCALL to disable the channel +#module_b_rf_off='RFOFF' # put this in YRCALL to enable the channel +#module_b_rf_rx_level=80 # see the DVRPTR V1 manual +#module_b_duplex=false # set to true if the module is duplex +#module_b_tx_delay=250 # milliseconds to allow for switching from rx to tx +#module_b_rqst_count=10 # number of 2-sec intervals before the an unresponsive system is killed +#module_b_inverse_rx=true # if you're not hearing anything, try false +#module_b_inverse_tx=true # if you're not being heard, try false + +########################################################################################################################## +# +# LOGGING - Control extra logging - useful for debugging +# +#log_qso=false # QSO info goes into the log +#log_irc=false # IRC debug info +#log_dtmf=false # DTMF debug info + +########################################################################################################################## +# +# DPLUS - Control of dplus (trust system) linking to repeaters and REF reflectors +# +# The following settings do not affect your ability to use dplus linking to XRF or XLX reflectors! +# You must be registered on the DPlus system, see www.dstargateway.org, otherwise authorization will fail, +# even if QnetLink reports a successful authorization. +#dplus_authorize=false # to enable, uncomment and set to true to link to DPlus reflectors and/or repeaters +#dplus_ref_login='' # for logging into REF reflectors, if empty, ircddb_login will be used +#dplus_use_reflectors=true # set to false if you are not going to link to DPlus reflectors +#dplus_use_repeaters=true # set to false if you are not going to link to DPlus repeaters +# any gateways in your gwys.txt file will override any reflectors or repeaters that DPlus authorization returns. + +########################################################################################################################## +# +# FILE - where important QnetGateway files and directories are found. +# +#file_status='/usr/local/etc/rptr_status' # where repeater status info is passed between services +#file_dtmf='/tmp' # where DTMF is decoded +#file_echotest='/tmp' # echo dat files will end up here +#file_qnvoicefile='/tmp/qnvoice.txt' # where qnvoice will create the play command +#file_gwys='/usr/local/etc/gwys.txt' # where the list of gateways and reflectors (with ports) is. +#file_announce_dir='/usr/local/etc' # where the *.dat files are for the verbal link, unlink, etc. announcements + +########################################################################################################################## +# +# TIMINGS - for controlling how to deal with timing issues +# +# most users will not have to override any of these default values +#timing_timeout_echo=1 # seconds before we assume echo has timed out +#timing_timeout_voicemail=1 # seconds before we assume voicemail has timed out +#timing_timeout_remote_g2=2 # after this many seconds with no packets, we assume the tx is closed +#timing_timeout_local_rptr=1 # local repeater timeout, in seconds +#timing_play_wait=1 # seconds before echo or voicemail playback occurs, between 1 and 10 +#timing_play_delay=19 # microseconds between frames playback, if echo sounds bad, adjust this up or down 1 or 2 ms diff --git a/qn.icom.cfg b/qn.icom.cfg deleted file mode 100644 index d883923..0000000 --- a/qn.icom.cfg +++ /dev/null @@ -1,152 +0,0 @@ -# Qnet Gateway Configuration - -ircddb = { - login = "CHANGEME!!!!"; # login callsign for the ircDDB network -# host = "rr.openquad.net" # other include group1-irc.ircddb.net -# port = 9007 # not a good idea to change! -# password = "1111111111111" # not needed for rr.openquad.net -} - -gateway = { -# regen_header = true # regenerate headers from incoming data -# send_qrgs_maps = true # send frequecy, offset, cooridinates and url to irc-server -# local_irc_ip = "0.0.0.0" # 0.0.0.0 means accept any incoming connections -# aprs_send = true # send info to aprs -# ip = "127.0.0.1" # where the gateway is running - - external = { -# ip = "0.0.0.0" -# port = 40000 - } - - internal = { -# ip = "172.16.0.20" -# port = 20000 - } -} - -module = { - a = { # an ICOM full stack might consist of up to three module - # Sorry, the 23 cm data module is not yet supported - # 23 cm module will use "a" - # 70 cm module will use "b" - # 2 M module will use "c" -# type = "icom" # you must define at least one module by uncommenting the type -# ip = "172.16.0.1" # all icom modules should have the same IP address -# port = 20000 # all icom modules should have the same UDP port -# frequency = 0 # in MHz, if you specify here, this frequency will show up on the QuadNet USER GATEWAYS webpage -# offset = 0 -# range = 0 # the range of this repeater, in meters. 1609.344 meters is 1.0 miles -# agl = 0 # the height above ground level for this repeater's antenna -# latitude = 0 # you can leave this unspecified for a mobile rig -# longitude = 0 # like the latitude -# desc1 = "" # maximum of 20 characters, most special symbols are not allowed -# desc2 = "" # just like desc1 -# url = "github.com/n7tae/g2_ircddb" # 80 characters max - } - - b = { -# type = "icom" -# ip = "172.16.0.1" # all icom modules should have the same IP address -# port = 20000 # all icom modules should have the same UDP port -# frequency = 0 -# offset = 0 -# range = 0.0 -# agl = 0.0 -# latitude = 0.0 -# longitude = 0.0 -# desc1 = "" -# desc2 = "" -# url = "github.com/n7tae/g2_ircddb" - } - - c = { -# type = "icom" -# ip = "172.16.0.1" # all icom modules should have the same IP address -# port = 20000 # all icom modules should have the same UDP port -# frequency = 0 -# dvap_offset = 0 -# range = 0.0 -# agl = 0.0 -# latitude = 0.0 -# longitude = 0.0 -# desc1 = "" -# desc2 = "" -# url = "github.com/n7tae/QnetGateway" - } -} - -log = { - # debuging and extra logging switches -# qso = false # QSO info goes into the log -# irc = false # IRC debug info -# dtmf = false # DTMF debug info -} - -aprs = { # APRS.NET connect info -# host = "rotate.aprs.net" -# port = 14580 -# interval = 40 -# filter = "" -} - -link = { -# link_at_start = "NONE" # Link to a reflector at startup. -# to link repeater module B to REF001 C, use "BREF001C" -# ref_login = "" # for loging into REF reflectors, if undefined, ircddb.username will be used -# admin = [ "CALL1", "CALL2", "CALL3" ] # only these users can execute scripts, block dongles and reload the gwys.txt -# # you probabaly want you own callsign in the admin list! -# link_unlink = [ "CALL4", "CALL5", "CALL6" ] # if defined, only these users can link and unlink a repeater -# no_link_unlink = [ "CALL7", "CALL8", "CALL9" ] # if defined, these users cannot link or unlink, it's a blacklist -# # if the blacklist is defined (even if it's empty), the link_unlink will not be read -# incoming_ip = "0.0.0.0" # incoming ip address, "0.0.0.0" means accepts all connections. -# ip = "127.0.0.1" # where g2_link is running -# port = 18997 # port for communications to g2_link -# ref_port = 20001 # port for REF linking, don't change -# xrf_port = 30001 # port for XRF linking, don't change -# dcs_port = 30051 # port for DCS linking, don't change -# announce = true # do link, unlink, etc. announcements -# acknowledge = true # send text acknowledgement on key-up -# max_dongles = 5 # maximum number of linked hotspots -} - -dplus = { -# The following settings do not affect your ability to use dplus linking to XRF or XLX reflectors! -# You must be registered on the DPlus system, see www.dstargateway.org, otherwise authorization will fail, -# even if QnetLink reports a successful authorization. - -# authorize = false # uncomment and set to true if you want to use the closed-source DPlus reflectors and/or repeaters -# use_reflectors = true # uncomment and set to false if you are not going to link to DPlus reflectors -# use_repeaters = true # uncomment and set to false if you are not going to link to DPlus repeaters - -# any values specified in your gwys.txt file will override any reflectors or repeaters that DPlus authorization returns. -} - -file = { -# status = "/usr/local/etc/rptr_status" # where repeater status info is passed between services -# DTMF = "/tmp" # -# echotest = "/tmp" # echo dat files will end up here -# qnvoicefile = /tmp/qnvoice.txt # where qnvoice will create the play command -# gwys = "/usr/local/etc/gwys.txt" # where the list of gateways and reflectors (with ports) is. -# announce_dir = "/usr/local/etc" # where are the *.dat files for the verbal link, unlink, etc. announcements -} - -timing = { - timeout = { -# echo = 1 # delay time in seconds for echo -# voicemail = 1 # delay time for voicemail -# remote_g2 = 2 # after this many seconds with no packets, we assume the tx is closed -# local_rptr = 1 # local timeout, in seconds - } - - play = { -# wait = 1 # seconds before playback occurs, between 1 and 10 -# delay = 19 # microseconds between frames playback, if echo sounds bad, adjust this up or down 1,2 microseconds - } - - inactivity = { -# a = 0 # unlink repeater if no activity for this many minutes -# b = 0 # zero mean there will be no timer -# c = 0 - } -} diff --git a/qn.itap.cfg b/qn.itap.cfg index d8f1e18..8ae92e8 100644 --- a/qn.itap.cfg +++ b/qn.itap.cfg @@ -1,44 +1,7 @@ -# g2_ircddb Configuration for me +# A Simple Configuration File for an ICOM using Terminal and Access Point Mode -ircddb = { - login = "XX0XXX" -# If you are not using rr.openquad.net, you need to specify the host and possibly the password. -# -# host = "some.server.host" // others include group1-irc.ircddb.net -# password = "1111111111111" // not needed for rr.openquad.net -} +ircddb_login='Q0Q0ABC' -module = { - c = { // change the module to "b" if you are operating on the UHF band - type = "itap" -# device = "/dev/ttyUSB0" // if your serial-to-usb cable ends up on another device, then specify here -# uncomment and set if you want the following to appear on you ircddb host website. -# frequency = 145.5 // this is the default value, chose a quiet frequency -# range = 0.0 // in meters (1609.344 is one mile) -# agl = 0.0 // in meters -# latitude = 0.000000 // north is positive -# longitude = 0.000000 // east is positive -# desc1 = "Location1" // up to 20 chars -# desc2 = "location2" // up to 20 chars - } -} +module_c='itap' -link = { -# add the callsigns that can shutdown or reboot your system -# admin = [ "XX0XXX" , "YY0YYY" ] // only these users can execute scripts - -# link to the reflector of your choice. the first character is the module you are linking. -# link_at_start = "CREF001C" -} - -dplus = { -# The following settings do not affect your ability to use dplus linking to XRF or XLX reflectors! -# You must be registered on the DPlus system, see www.dstargateway.org, otherwise authorization will fail, -# even if QnetLink reports a successful authorization. - -# authorize = false # uncomment and set to true if you want to use the closed-source DPlus reflectors and/or repeaters -# use_reflectors = true # uncomment and set to false if you are not going to link to DPlus reflectors -# use_repeaters = true # uncomment and set to false if you are not going to link to DPlus repeaters - -# any values specified in your gwys.txt file will override any reflectors or repeaters that DPlus authorization returns. -} +#dplus_authorize=true # uncomment if you want to use the closed-source DPlus reflectors and/or repeaters diff --git a/qn.mmdvm.cfg b/qn.mmdvm.cfg index 9aa264e..d4484fa 100644 --- a/qn.mmdvm.cfg +++ b/qn.mmdvm.cfg @@ -3,53 +3,15 @@ # Please see qn.everything.cfg for many configurable items. # New-bees beware, it is possible to configure your system # to a non-functional state. Nearly all configure items -# already have good default vaules, but the few below +# already have good default vaules, but the two below # HAVE TO BE SET BY YOU!!! -ircddb = { +ircddb_login='Q0ABC' -# Use your callsign, the default network is QuadNet2 - login = "YOUR CALLSIGN" +module_x='mmdvm' +# Change the "x" to the lowercase equivilent of the module assignment in you MMDVM.qn initialization file. +# Use B in the .ini file and b in this file for 70cm and C and c for 2M. See the qn.everything.cfg file if you want to include +# location data for your repeater/hot-spot. (Location data in your MMDVM.qn ini file will +# not make it to the D-Star network.) -} - -module = { - -# Change the "x" to the lowercase equivilent of the module -# assignment in you MMDVM.qn initialization file. -# Use B and b for 70cm and C and c for 2M. - - x = { - - type = "mmdvm" - -# See the qn.everything.cfg file if you want to include -# location data for your repeater/hot-spot. -# (Location data in your MMDVM.qn ini file will -# not make it to the D-Star network.) - - } -} - -link = { - -# Only callsigns listed in the admin list can execute -# Linux scripts from you radio. Two are already provided: -# _ _ _ _ _ _ R X reboots your system, and -# _ _ _ _ _ _ H X halts it. - - admin = [ "AA0AAA" , "BB1BBB" , "CC3CCC" ] - -} - -dplus = { -# The following settings do not affect your ability to use dplus linking to XRF or XLX reflectors! -# You must be registered on the DPlus system, see www.dstargateway.org, otherwise authorization will fail, -# even if QnetLink reports a successful authorization. - -# authorize = false # uncomment and set to true if you want to use the closed-source DPlus reflectors and/or repeaters -# use_reflectors = true # uncomment and set to false if you are not going to link to DPlus reflectors -# use_repeaters = true # uncomment and set to false if you are not going to link to DPlus repeaters - -# any values specified in your gwys.txt file will override any reflectors or repeaters that DPlus authorization returns. -} +#dplus_authorize='true' # uncomment if you want to use the closed-source DPlus reflectors and/or repeaters