parent
545cb0d0aa
commit
738a7de435
@ -1,82 +0,0 @@
|
|||||||
# This is the configuration file for the DVAP device(2m dongle with antenna)
|
|
||||||
|
|
||||||
# This is Dstar repeater callsign
|
|
||||||
# Use a correct repeater call.
|
|
||||||
# If you set RPTR different from the OWNER
|
|
||||||
# then only the RF user identified by RPTR callsign can talk on this repeater.
|
|
||||||
# This mode is called "restriction" mode and in some countries(UK,...)
|
|
||||||
# it is the only valid mode that you can use, while waiting for a repeater license.
|
|
||||||
# In a case like this, set RPTR to be your personal callsign
|
|
||||||
RPTR=
|
|
||||||
|
|
||||||
# This is the Gateway callsign
|
|
||||||
# This must be equal to the OWNER value in the gateway software(g2_ircddb.cfg)
|
|
||||||
OWNER=
|
|
||||||
|
|
||||||
# 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_YRCALL_KEY=STN
|
|
||||||
|
|
||||||
# This is the module of the Dstar repeater
|
|
||||||
# Please read the comments about RPTR_PORT below
|
|
||||||
RPTR_MOD=
|
|
||||||
|
|
||||||
# This identifies the IP for the repeater(controler)
|
|
||||||
# The DVAP device will run here
|
|
||||||
# For repeater module A: RPTR_PORT=19998
|
|
||||||
# For repeater module B: RPTR_PORT=19999
|
|
||||||
# For repeater module C: RPTR_PORT=20000
|
|
||||||
RPTR_VIRTUAL_IP=0.0.0.0
|
|
||||||
RPTR_PORT=20000
|
|
||||||
|
|
||||||
# This is the INTERNAL IP and PORT of your local G2 gateway
|
|
||||||
G2_INTERNAL_IP=127.0.0.1
|
|
||||||
G2_PORT=19000
|
|
||||||
|
|
||||||
# This is the serial number of your DVAP device
|
|
||||||
DVP_SERIAL=APXXXXXX
|
|
||||||
|
|
||||||
# This is your 2m frequency for the DVAP device, Between 144000000 and 148000000
|
|
||||||
# of course, 70cm frequencies are also acceptable for the 70cm DVAP.
|
|
||||||
DVP_FREQ=145500000;
|
|
||||||
|
|
||||||
# This is the power level for the DVAP device, Between -12 and 10
|
|
||||||
DVP_PWR=10;
|
|
||||||
|
|
||||||
# This is the squelch setting for the DVAP device, between -128 and -45
|
|
||||||
DVP_SQL=-100;
|
|
||||||
|
|
||||||
# This is the offset frequency for the DVAP device, between -2000 and 2000
|
|
||||||
DVP_OFF=0;
|
|
||||||
|
|
||||||
# How long before we say that the local gateway has stopped sending packets to our repeater.
|
|
||||||
# This value is in seconds.
|
|
||||||
# Lets say that you set REMOTE_TIMEOUT=2 seconds and WAIT_FOR_PACKETS=25 milliseconds
|
|
||||||
# The program does a small calculation: ( (REMOTE_TIMEOUT * 1000) / WAIT_FOR_PACKETS))
|
|
||||||
# So that is (2000 / 25) = 80 = number_of_times_to_loop
|
|
||||||
# This calculated value of 80 is the number of times we will loop waiting for
|
|
||||||
# packets from the remote system.
|
|
||||||
# A value of 2 is sufficient. Minimum is 1 seconds.
|
|
||||||
REMOTE_TIMEOUT=2
|
|
||||||
|
|
||||||
# This is used in a loop to wait for packets from your local gateway
|
|
||||||
# This is in milliseconds
|
|
||||||
WAIT_FOR_PACKETS=25
|
|
||||||
|
|
||||||
# This is in seconds,
|
|
||||||
# It allows the dvap to re-initialize before we send the repeater ack back to it
|
|
||||||
DELAY_BEFORE=2
|
|
||||||
|
|
||||||
# This is in milliseconds
|
|
||||||
# Dstar packets should reach the dvap at a rate of about 17-23 milliseconds
|
|
||||||
# We use that when we send a repeater ack back to the DVAP
|
|
||||||
DELAY_BETWEEN=19
|
|
||||||
# 19 seems to be a good value for both the RasPi and the BBB.
|
|
||||||
|
|
||||||
# Do you want a repeater ack sent to dvap, after the local RF radio user releases PTT ?
|
|
||||||
# Valid values are Y or N
|
|
||||||
RPTR_ACK=Y
|
|
||||||
|
|
||||||
@ -1,106 +0,0 @@
|
|||||||
|
|
||||||
# This is the repeater callsign
|
|
||||||
# This must be equal to the OWNER value in the gateway software(g2_ircddb.cfg)
|
|
||||||
DVCALL=
|
|
||||||
|
|
||||||
# If you operate in "restriction mode", set RPTR equal to your personal callsign
|
|
||||||
# otherwise set RPTR equal to the value of DVCALL
|
|
||||||
RPTR=
|
|
||||||
|
|
||||||
# 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.
|
|
||||||
# Lets take an example:
|
|
||||||
# ENABLE_RF=RFISON
|
|
||||||
# DISABLE_RF=RFISOFF
|
|
||||||
# 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.
|
|
||||||
ENABLE_RF=RFISON
|
|
||||||
DISABLE_RF=RFISOFF
|
|
||||||
|
|
||||||
# This must be equal to: FROM_REMOTE_G2_TIMEOUT + 1
|
|
||||||
# Note: FROM_REMOTE_G2_TIMEOUT is in the gateway configuration
|
|
||||||
REMOTE_TIMEOUT=3
|
|
||||||
|
|
||||||
# This is the module of the Dstar repeater
|
|
||||||
DVRPTR_MOD=B
|
|
||||||
|
|
||||||
# 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_YRCALL_KEY=XXX
|
|
||||||
|
|
||||||
# Your serial number
|
|
||||||
DVRPTR_SERIAL=12.19.D3.42
|
|
||||||
|
|
||||||
# For repeater module A: DVRPTR_INTERNAL_PORT=19998
|
|
||||||
# For repeater module B: DVRPTR_INTERNAL_PORT=19999
|
|
||||||
# For repeater module C: DVRPTR_INTERNAL_PORT=20000
|
|
||||||
# Repeater IP and port, the repeater runs here
|
|
||||||
DVRPTR_INTERNAL_IP=0.0.0.0
|
|
||||||
# for module B, port is 19999
|
|
||||||
DVRPTR_INTERNAL_PORT=19999
|
|
||||||
|
|
||||||
# The Internal G2 IP and port
|
|
||||||
GATEWAY_IP=127.0.0.1
|
|
||||||
GATEWAY_PORT=19000
|
|
||||||
|
|
||||||
# Some settings for your DV-RPTR modem
|
|
||||||
RF_AUDIO_Level=60
|
|
||||||
|
|
||||||
# Do you want an ACK back ?
|
|
||||||
RPTR_ACK=Y
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# For each packet inside the ACK, delay so many milliseconds,
|
|
||||||
# so the ICOM Dstar radio can process the ACK
|
|
||||||
DELAY_BETWEEN=19
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# If you want duplex, set it to Y
|
|
||||||
DUPLEX=N
|
|
||||||
|
|
||||||
# These values depend on what type of tranceiver is connected to your DV-RPTR modem
|
|
||||||
# Use either 0 or 1
|
|
||||||
RX_Inverse=1
|
|
||||||
TX_Inverse=0
|
|
||||||
|
|
||||||
@ -0,0 +1,24 @@
|
|||||||
|
# g2_ircddb Configuration for me
|
||||||
|
|
||||||
|
ircddb = {
|
||||||
|
login = "MYCALL"
|
||||||
|
# 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.penquad.net
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,282 @@
|
|||||||
|
# g2_ircddb Configuration
|
||||||
|
|
||||||
|
ircddb = {
|
||||||
|
# login = ""; # 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 Openquad
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
||||||
|
# arps_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 = "0.0.0.0"
|
||||||
|
# port = 19000
|
||||||
|
}
|
||||||
|
}
|
||||||
|
module = {
|
||||||
|
a = {
|
||||||
|
# type = ""
|
||||||
|
# ip = "127.0.0.1"
|
||||||
|
# port = 19998 # default for mod a
|
||||||
|
}
|
||||||
|
|
||||||
|
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 DVAP 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/ac2ie/g2_ircddb
|
||||||
|
# url = "" # 80 char max, defaults to "github.com/ac2ie/g2_ircddb
|
||||||
|
|
||||||
|
# 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"
|
||||||
|
|
||||||
|
# the dvrptr program runs here, leave the commented out unless you know what you are doing!
|
||||||
|
# internal_ip = "0.0.0.0"
|
||||||
|
# port = 19999 # default for mod b
|
||||||
|
|
||||||
|
# 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, defaults to "github.com/ac2ie/g2_ircddb
|
||||||
|
# url = "" # 80 char max, defaults to "github.com/ac2ie/g2_ircddb
|
||||||
|
|
||||||
|
# where other g2 programs find this repeater software
|
||||||
|
# ip = "127.0.0.1" # where is the device running? must be a "dotted number"
|
||||||
|
|
||||||
|
# the internal ip of this program, "0.0.0.0" is usually best
|
||||||
|
# internal_ip = "0.0.0.0"
|
||||||
|
|
||||||
|
# port number default: A:19990 B:19999 C:20000
|
||||||
|
# port = 20000 # default for mod C
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
log = {
|
||||||
|
# debuging and extra logging switches
|
||||||
|
# qso = true # 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 = ""
|
||||||
|
}
|
||||||
|
|
||||||
|
g2_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
|
||||||
|
# users = [ "CALL1", "CALL2", "CALL3" ] # if defined, only these users can use this gateway
|
||||||
|
# link_unlink = [ "CALL4", "CALL5", "CALL6" ] # if defined, only these users can link and unlink a repeater
|
||||||
|
# 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 # sent text acknowledgement on key-up
|
||||||
|
# max_dongles = 5 # maximum number of linked hotspots
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
||||||
|
# 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 = 2 # 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
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,192 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright (C) 2010, 2011, 2012 by Scott Lawson KI4LKF
|
|
||||||
#
|
|
||||||
# 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, write to the Free Software
|
|
||||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
||||||
|
|
||||||
#
|
|
||||||
# g2_ircddb.cfg configuration file for g2_ircddb gateway
|
|
||||||
|
|
||||||
# Your G2 Gateway callsign can be up to 6 characters
|
|
||||||
# This will also be used to connect to the remote ircDDB server
|
|
||||||
# and validate you on the DStar system
|
|
||||||
# YOU MUST SET THIS TO A VAILD CALLSIGN
|
|
||||||
|
|
||||||
OWNER =
|
|
||||||
|
|
||||||
# RPTR_X = Type | Frequency(MHz) | Offset(MHz) | Range(m) | above ground level(m) | latitude | longitude | description#1 | description#2 | URL
|
|
||||||
# If you do NOT want to define a parameter for a module, then leave the parameter BLANK, except...
|
|
||||||
# Type: 0 is DVAP, 1 is DVRPTR. YOU MUST SPECIFY THIS PARAMETER.
|
|
||||||
# only the first 20 characters of the descriptions and 64 characters of the URL will be used.
|
|
||||||
# Example for a 2m DVRPTR connected to an antenna 10 meters above ground level with a range of 10 miles
|
|
||||||
# RPTR_C = 1 | 146.5 | 0 | 16093.44 | 10 | 42.0000 | -73.0000 | Mytown, MyState | MyCountry or MyGridSquare | github.com/ac2ie/g2_ircddb
|
|
||||||
# YOU MUST DEFINE AT LEAST ONE REPEATER!
|
|
||||||
|
|
||||||
#RPTR_A = 1 | | | | | | | | | github.com/ac2ie/g2_ircddb
|
|
||||||
#RPTR_B = 1 | | | | | | | | | github.com/ac2ie/g2_ircddb
|
|
||||||
RPTR_C = 0 | | | | | | | | | github.com/ac2ie/g2_ircddb
|
|
||||||
|
|
||||||
###################################################################################################
|
|
||||||
# All other parameters are optional. Uncomment the assignments to set a different value.
|
|
||||||
# This is for APRS/GPS
|
|
||||||
|
|
||||||
#SEND_APRS = Y
|
|
||||||
|
|
||||||
# This is for the Live IRC site, or Quadnet
|
|
||||||
# if you don't want you frequency, location or url sent, set this to "N", or some of the RPTR_X fields empty.
|
|
||||||
|
|
||||||
#SEND_QRGS_MAPS = Y
|
|
||||||
|
|
||||||
# Which local address on your Linux box will be used
|
|
||||||
# to report to the remote IRC database server(group2, group1,...)
|
|
||||||
# For most installations it is 0.0.0.0 (which binds to all local IP addresses)
|
|
||||||
# If you have more than one ethernet card, then you may set it to a specific local IP
|
|
||||||
# that is assigned to that specific ethernet card
|
|
||||||
# If you have one ethernet card, you can use 0.0.0.0
|
|
||||||
|
|
||||||
#LOCAL_IRC_IP = 0.0.0.0
|
|
||||||
|
|
||||||
|
|
||||||
# You should NOT change the value for APRS_HOST
|
|
||||||
# Leave it set to: rotate.aprs.net
|
|
||||||
# The only time to change it is when you have your own APRS_HOST server
|
|
||||||
# or when you have a server that is closer to your QTH
|
|
||||||
|
|
||||||
#APRS_HOST = rotate.aprs.net
|
|
||||||
#APRS_PORT = 14580
|
|
||||||
# How often to report the aprs beacon, in minutes, Do NOT make it less than 40
|
|
||||||
#APRS_INTERVAL = 40
|
|
||||||
#APRS_FILTER=
|
|
||||||
|
|
||||||
# The G2 external port of this Gateway server
|
|
||||||
# Remote gateways will route data here
|
|
||||||
|
|
||||||
#G2_EXTERNAL_IP = 0.0.0.0
|
|
||||||
#G2_EXTERNAL_PORT = 40000
|
|
||||||
|
|
||||||
# The G2 internal port of this Gateway server
|
|
||||||
# Our local repeater modules will send data here
|
|
||||||
|
|
||||||
#G2_INTERNAL_IP = 0.0.0.0
|
|
||||||
#G2_INTERNAL_PORT = 19000
|
|
||||||
|
|
||||||
# Where is the g2_link running?
|
|
||||||
|
|
||||||
#TO_G2_LINK_IP = 127.0.0.1
|
|
||||||
#TO_G2_LINK_PORT = 18997
|
|
||||||
|
|
||||||
# The repeater modules of this repeater
|
|
||||||
#TO_RPTR_IP_A = 127.0.0.1
|
|
||||||
#TO_RPTR_PORT_A = 19998
|
|
||||||
|
|
||||||
#TO_RPTR_IP_B = 127.0.0.1
|
|
||||||
#TO_RPTR_PORT_B = 19999
|
|
||||||
|
|
||||||
#TO_RPTR_IP_C = 127.0.0.1
|
|
||||||
#TO_RPTR_PORT_C = 20000
|
|
||||||
|
|
||||||
# Timeouts in seconds
|
|
||||||
# We need these timeouts because the END-OF-AUDIO packet can get lost.
|
|
||||||
# Of course it can get lost, because everything about Dstar is on UDP
|
|
||||||
# UDP is notorious for losing packets.
|
|
||||||
# Each packet arrives normally 20ms after previous packet,
|
|
||||||
# so giving it 1 second is more than enough.
|
|
||||||
# This 1-second timeout was used internally in the g2_ircddb software,
|
|
||||||
# but now the user has a chance to change it.
|
|
||||||
# We do not believe that it should be changed,
|
|
||||||
# As mentioned before, more than 1 second is more than
|
|
||||||
# enough to make sure that we should stop waiting for more packets.
|
|
||||||
|
|
||||||
# Echotest-recording timeout:
|
|
||||||
# If after 1 second, audio stops coming in for echotest-recording,
|
|
||||||
# we will stop recording for ECHOTEST
|
|
||||||
|
|
||||||
#ECHOTEST_REC_TIMEOUT = 1
|
|
||||||
|
|
||||||
# Voicemail-recording timeout:
|
|
||||||
# If after 1 second, audio stops coming in for voicemail-recording,
|
|
||||||
# we will stop recording for voicemail
|
|
||||||
|
|
||||||
#VOICEMAIL_REC_TIMEOUT = 1
|
|
||||||
|
|
||||||
# If after 2 seconds, we do not receive any more packets from remote system,
|
|
||||||
# we will assume that the remote QSO has stopped
|
|
||||||
|
|
||||||
#FROM_REMOTE_G2_TIMEOUT = 2
|
|
||||||
|
|
||||||
# If after 1 second, we do not receive any more packets from
|
|
||||||
# our local repeater, we will assume that the local RF user has stopped talking.
|
|
||||||
|
|
||||||
#FROM_LOCAL_RPTR_TIMEOUT = 1
|
|
||||||
|
|
||||||
# print QSO details
|
|
||||||
|
|
||||||
#QSO_DETAILS = Y
|
|
||||||
|
|
||||||
# These 2 options limit the lines in the log.
|
|
||||||
# For production systems, we recommend: IRC_DEBUG=N
|
|
||||||
|
|
||||||
#IRC_DEBUG = N
|
|
||||||
#DTMF_DEBUG = N
|
|
||||||
|
|
||||||
# Do you want to re-generate the HEADER if there is a timeout from
|
|
||||||
# messages arriving from remote systems(reflectors, gateways, ...)
|
|
||||||
|
|
||||||
#REGEN_HDR = Y
|
|
||||||
|
|
||||||
# LINK STATUS file
|
|
||||||
# This file is created by g2_link
|
|
||||||
# This gateway will ONLY read that status file
|
|
||||||
# to determine if any module is linked to anything
|
|
||||||
|
|
||||||
#STATUS_FILE = /usr/local/etc/RPT_STATUS.txt
|
|
||||||
|
|
||||||
#DTMF_DIR = /tmp
|
|
||||||
|
|
||||||
# Directory of recorded files created in ECHOTEST/playback mode
|
|
||||||
|
|
||||||
#ECHOTEST_DIR = /tmp
|
|
||||||
|
|
||||||
# How many SECONDS to wait before starting to playback the recorded file.
|
|
||||||
# 1 second is enough, some repeaters require 2 seconds to re-initialize
|
|
||||||
# before they accept new streams again.
|
|
||||||
# must be between 1 and 10
|
|
||||||
|
|
||||||
# PLAY_WAIT = 2
|
|
||||||
|
|
||||||
# How many MILLIseconds to delay when playing back each of the recorded packets
|
|
||||||
# Normal VoIP is 20 milliseconds or a little less
|
|
||||||
# must be between 10 and 50
|
|
||||||
|
|
||||||
#PLAY_DELAY = 19
|
|
||||||
|
|
||||||
# The remote ircDDB database
|
|
||||||
# For US, Canada and North America
|
|
||||||
# IRC_DDB_HOST=group2-irc.ircddb.net
|
|
||||||
# For the German and EU
|
|
||||||
# IRC_DDB_HOST=group1-irc.ircddb.net
|
|
||||||
# For registration free routing, use OpenQuad's round-robin, rr.openquad.net
|
|
||||||
|
|
||||||
#IRC_DDB_HOST = rr.openquad.net
|
|
||||||
|
|
||||||
# The remote ircDDB port
|
|
||||||
|
|
||||||
#IRC_DDB_PORT = 9007
|
|
||||||
|
|
||||||
# Your ircDDB password given to you by the German ircDDB team.
|
|
||||||
# Put your correct password here.
|
|
||||||
# you will only need this with a club call using group1-irc
|
|
||||||
|
|
||||||
#IRC_PASS = 1111111111111111
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load Diff
@ -1,95 +0,0 @@
|
|||||||
# The ONLY values to change are: LOGIN_CALL, OWNER and ADMIN
|
|
||||||
#
|
|
||||||
|
|
||||||
# Callsign to use to login to remote REF reflector
|
|
||||||
# This is your personal user callsign
|
|
||||||
# Remove the # sign and set your callsign correctly
|
|
||||||
#
|
|
||||||
LOGIN_CALL=
|
|
||||||
|
|
||||||
# Because ONLY_ADMIN_LOGIN=Y
|
|
||||||
# only these 3 users can connect to your gateway
|
|
||||||
ADMIN=
|
|
||||||
ONLY_ADMIN_LOGIN=Y
|
|
||||||
|
|
||||||
# If you set ONLY_LINK_UNLINK=Y
|
|
||||||
# then ONLY user callsigns identified by the option LINK_UNLINK_USER
|
|
||||||
# can link or unlink your repeater.
|
|
||||||
# If you set ONLY_LINK_UNLINK=N
|
|
||||||
# then ANY user callsign can link or unlink your repeater.
|
|
||||||
#
|
|
||||||
ONLY_LINK_UNLINK=N
|
|
||||||
LINK_UNLINK_USER=XX0XXX
|
|
||||||
LINK_UNLINK_USER=YY0YYY
|
|
||||||
LINK_UNLINK_USER=ZZ0ZZZ
|
|
||||||
|
|
||||||
# Local gateway callsign
|
|
||||||
# This is your local G2 Gateway callsign
|
|
||||||
# You should register this with the remote irc database server
|
|
||||||
# Remove the # sign and set the gateway callsign correctly.
|
|
||||||
#
|
|
||||||
OWNER=
|
|
||||||
|
|
||||||
# remote friends
|
|
||||||
RMT_XRF_PORT=30001
|
|
||||||
RMT_REF_PORT=20001
|
|
||||||
RMT_DCS_PORT=30051
|
|
||||||
|
|
||||||
# Our server port so that the local g2 gateway can contact us
|
|
||||||
# our g2_link will create/open this UDP port as a server
|
|
||||||
MY_G2_LINK_IP=0.0.0.0
|
|
||||||
MY_G2_LINK_PORT=18997
|
|
||||||
|
|
||||||
# The external g2 port of the local G2
|
|
||||||
TO_G2_EXTERNAL_IP=127.0.0.1
|
|
||||||
TO_G2_EXTERNAL_PORT=40000
|
|
||||||
|
|
||||||
QSO_DETAILS=N
|
|
||||||
|
|
||||||
# The reflectors
|
|
||||||
GWYS=/usr/local/etc/gwys.txt
|
|
||||||
|
|
||||||
#LINK STATUS file
|
|
||||||
STATUS_FILE=/usr/local/etc/RPT_STATUS.txt
|
|
||||||
|
|
||||||
# SEND an AUDIO announcements on LINK/UNLINK/INFO ?
|
|
||||||
ANNOUNCE=Y
|
|
||||||
# The directory where the "*.dat" files are located
|
|
||||||
ANNOUNCE_DIR=/usr/local/etc
|
|
||||||
|
|
||||||
# Send a TEXT announcement on every key-up ?
|
|
||||||
RPTR_ACK=N
|
|
||||||
|
|
||||||
# While sending back the announcement,
|
|
||||||
# what is the delay in MILLISECONDS between each packet
|
|
||||||
DELAY_BETWEEN=19
|
|
||||||
|
|
||||||
# How many seconds to delay before sending the announcement
|
|
||||||
# Set it to 1
|
|
||||||
# If your local repeater requires more time to initialize after releasing PTT, then set it to 2
|
|
||||||
DELAY_BEFORE=1
|
|
||||||
|
|
||||||
# Try to link to this system after initialization
|
|
||||||
# Leave the option blank, if you do not want automatic linking at startup
|
|
||||||
#
|
|
||||||
# Link your local repeater mod B to the remote reflector XRF005 mod A
|
|
||||||
#
|
|
||||||
LINK_AT_STARTUP=CXRF901A
|
|
||||||
|
|
||||||
# Maximum number of incoming hotspotNode or dongle connections(r2g2_p, r2g2_x, HotSpotNode,...)
|
|
||||||
# If you do NOT want incoming HotSpotNode or dongle connections, set this to 0
|
|
||||||
MAX_DONGLES=5
|
|
||||||
|
|
||||||
# Each RF band has an inactivity timer, in minutes.
|
|
||||||
# If the timer is 0, then there is NO timer at all.
|
|
||||||
# If the timer is greater than 0 and that RF band is linked
|
|
||||||
# to a remote system, and no local RF activity has taken place
|
|
||||||
# in the last minutes as set in the timer, then
|
|
||||||
# automatically the RF band will unlink from the remote system.
|
|
||||||
# This is done to protect the owner from local RF users that
|
|
||||||
# link the RF band to a remote system,
|
|
||||||
# and then go away.
|
|
||||||
RF_INACTIVITY_TIMER_A=0
|
|
||||||
RF_INACTIVITY_TIMER_B=0
|
|
||||||
RF_INACTIVITY_TIMER_C=0
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,5 @@
|
|||||||
// version strings must be 55 characters or less!
|
// version strings must be 55 characters or less!
|
||||||
#define IRCDDB_VERSION "linux-g2_ircddb-4.1.0"
|
#define IRCDDB_VERSION "linux-g2_ircddb-4.1.0"
|
||||||
|
#define LINK_VERSION "4.00"
|
||||||
#define DVAP_VERSION "linux-dvap_rptr-3.0.0"
|
#define DVAP_VERSION "linux-dvap_rptr-3.0.0"
|
||||||
#define DVRPTR_VERSION "linux-dvrptr-2.0.0"
|
#define DVRPTR_VERSION "linux-dvrptr-2.0.0"
|
||||||
|
|||||||
Loading…
Reference in new issue