Update gps_data.cfg
This commit is contained in:
parent
5af30925c3
commit
eeb4afeb4a
262
gps_data.cfg
262
gps_data.cfg
|
|
@ -1,41 +1,40 @@
|
||||||
# PROGRAM-WIDE PARAMETERS GO HERE
|
###################################################################################
|
||||||
# PATH - working path for files, leave it alone unless you NEED to change it
|
# Datos igate
|
||||||
# PING_TIME - the interval that peers will ping the master, and re-try registraion
|
|
||||||
# - how often the Master maintenance loop runs
|
|
||||||
# MAX_MISSED - how many pings are missed before we give up and re-register
|
|
||||||
# - number of times the master maintenance loop runs before de-registering a peer
|
|
||||||
#
|
#
|
||||||
# ACLs:
|
# como referencia de que parametros debe cambiar , este igate esta preconfigurado con los
|
||||||
|
# siguientes datos:
|
||||||
#
|
#
|
||||||
# Access Control Lists are a very powerful tool for administering your system.
|
# Indicativo : HP3ICC-10
|
||||||
# But they consume packet processing time. Disable them if you are not using them.
|
# APRSPASSCODE : 19384
|
||||||
# But be aware that, as of now, the configuration stanzas still need the ACL
|
# ID IGATE : 700999
|
||||||
# sections configured even if you're not using them.
|
# Beacon : D-APRS FreeDMR
|
||||||
#
|
#
|
||||||
# REGISTRATION ACLS ARE ALWAYS USED, ONLY SUBSCRIBER AND TGID MAY BE DISABLED!!!
|
# Este es el beacon predeterminado, que cada usuario podra personalizar desde su radio)
|
||||||
#
|
#
|
||||||
# The 'action' May be PERMIT|DENY
|
# Radio id y data dmr id , deben ser iguales, ejemplo: RADIO_ID: 700999 DATA_DMR_ID: 700999
|
||||||
# Each entry may be a single radio id, or a hypenated range (e.g. 1-2999)
|
#
|
||||||
# Format:
|
# Importante cambie estos datos por los suyos, si desconoce cual es su aprspasscode
|
||||||
# ACL = 'action:id|start-end|,id|start-end,....'
|
# entre al siguiente link para conocerlos , escriba su indicativo enminuscula y da click en generar
|
||||||
# --for example--
|
|
||||||
# SUB_ACL: DENY:1,1000-2000,4500-60000,17
|
|
||||||
#
|
#
|
||||||
# ACL Types:
|
# http://n5dux.com/ham/aprs-passcode/
|
||||||
# REG_ACL: peer radio IDs for registration (only used on HBP master systems)
|
|
||||||
# SUB_ACL: subscriber IDs for end-users
|
|
||||||
# TGID_TS1_ACL: destination talkgroup IDs on Timeslot 1
|
|
||||||
# TGID_TS2_ACL: destination talkgroup IDs on Timeslot 2
|
|
||||||
#
|
#
|
||||||
# ACLs may be repeated for individual systems if needed for granularity
|
# ##################################################################################
|
||||||
# Global ACLs will be processed BEFORE the system level ACLs
|
# Datos conexion al server
|
||||||
# Packets will be matched against all ACLs, GLOBAL first. If a packet 'passes'
|
|
||||||
# All elements, processing continues. Packets are discarded at the first
|
|
||||||
# negative match, or 'reject' from an ACL element.
|
|
||||||
#
|
#
|
||||||
# If you do not wish to use ACLs, set them to 'PERMIT:ALL'
|
# si instalo este igate en la misma maquina donde esta el server freedmr , en la configuracion de su server freedmr :
|
||||||
# TGID_TS1_ACL in the global stanza is used for OPENBRIDGE systems, since all
|
#
|
||||||
# traffic is passed as TS 1 between OpenBridges
|
# cambiar el valor de GENERATOR: 100 y colocar GENERATOR: 102 en su server
|
||||||
|
#
|
||||||
|
# utilizar el puerto 54101 en la coneccion del igate ( ya esta configurado asi como referencia )
|
||||||
|
#
|
||||||
|
# si instalo este igate en un equipo distinto a donde esta su server fredmr , los datos de coneccion seran los mismos
|
||||||
|
# que utilizaria para conectar un hotspot a su server
|
||||||
|
#
|
||||||
|
# si este es su caso cambiar puerto 54101 por 62031
|
||||||
|
#
|
||||||
|
####################################################################################
|
||||||
|
|
||||||
|
|
||||||
[GLOBAL]
|
[GLOBAL]
|
||||||
PATH: ./
|
PATH: ./
|
||||||
PING_TIME: 5
|
PING_TIME: 5
|
||||||
|
|
@ -46,55 +45,18 @@ SUB_ACL: DENY:1
|
||||||
TGID_TS1_ACL: PERMIT:ALL
|
TGID_TS1_ACL: PERMIT:ALL
|
||||||
TGID_TS2_ACL: PERMIT:ALL
|
TGID_TS2_ACL: PERMIT:ALL
|
||||||
|
|
||||||
|
|
||||||
# NOT YET WORKING: NETWORK REPORTING CONFIGURATION
|
|
||||||
# Enabling "REPORT" will configure a socket-based reporting
|
|
||||||
# system that will send the configuration and other items
|
|
||||||
# to a another process (local or remote) that may process
|
|
||||||
# the information for some useful purpose, like a web dashboard.
|
|
||||||
#
|
|
||||||
# REPORT - True to enable, False to disable
|
|
||||||
# REPORT_INTERVAL - Seconds between reports
|
|
||||||
# REPORT_PORT - TCP port to listen on if "REPORT_NETWORKS" = NETWORK
|
|
||||||
# REPORT_CLIENTS - comma separated list of IPs you will allow clients
|
|
||||||
# to connect on. Entering a * will allow all.
|
|
||||||
#
|
|
||||||
# ****FOR NOW MUST BE TRUE - USE THE LOOPBACK IF YOU DON'T USE THIS!!!****
|
|
||||||
[REPORTS]
|
[REPORTS]
|
||||||
REPORT: False
|
REPORT: False
|
||||||
REPORT_INTERVAL: 60
|
REPORT_INTERVAL: 60
|
||||||
REPORT_PORT: 4323
|
REPORT_PORT: 4323
|
||||||
REPORT_CLIENTS: 127.0.0.1
|
REPORT_CLIENTS: 127.0.0.1
|
||||||
|
|
||||||
|
|
||||||
# SYSTEM LOGGER CONFIGURAITON
|
|
||||||
# This allows the logger to be configured without chaning the individual
|
|
||||||
# python logger stuff. LOG_FILE should be a complete path/filename for *your*
|
|
||||||
# system -- use /dev/null for non-file handlers.
|
|
||||||
# LOG_HANDLERS may be any of the following, please, no spaces in the
|
|
||||||
# list if you use several:
|
|
||||||
# null
|
|
||||||
# console
|
|
||||||
# console-timed
|
|
||||||
# file
|
|
||||||
# file-timed
|
|
||||||
# syslog
|
|
||||||
# LOG_LEVEL may be any of the standard syslog logging levels, though
|
|
||||||
# as of now, DEBUG, INFO, WARNING and CRITICAL are the only ones
|
|
||||||
# used.
|
|
||||||
#
|
|
||||||
[LOGGER]
|
[LOGGER]
|
||||||
LOG_FILE: /tmp/gps_data.log
|
LOG_FILE: /tmp/gps_data.log
|
||||||
LOG_HANDLERS: console-timed
|
LOG_HANDLERS: console-timed
|
||||||
LOG_LEVEL: DEBUG
|
LOG_LEVEL: DEBUG
|
||||||
LOG_NAME: HBlink3 GPS/Data
|
LOG_NAME: HBlink3 GPS/Data
|
||||||
|
|
||||||
# DOWNLOAD AND IMPORT SUBSCRIBER, PEER and TGID ALIASES
|
|
||||||
# Ok, not the TGID, there's no master list I know of to download
|
|
||||||
# This is intended as a facility for other applcations built on top of
|
|
||||||
# HBlink to use, and will NOT be used in HBlink directly.
|
|
||||||
# STALE_DAYS is the number of days since the last download before we
|
|
||||||
# download again. Don't be an ass and change this to less than a few days.
|
|
||||||
[ALIASES]
|
[ALIASES]
|
||||||
TRY_DOWNLOAD: True
|
TRY_DOWNLOAD: True
|
||||||
PATH: ./
|
PATH: ./
|
||||||
|
|
@ -105,46 +67,35 @@ PEER_URL: https://www.radioid.net/static/rptrs.json
|
||||||
SUBSCRIBER_URL: https://www.radioid.net/static/users.json
|
SUBSCRIBER_URL: https://www.radioid.net/static/users.json
|
||||||
STALE_DAYS: 1
|
STALE_DAYS: 1
|
||||||
|
|
||||||
#####################################################################
|
######################################################################
|
||||||
# GPS/Data Application - by KF7EEL
|
# configurar aqui sus datos de aprs igate #
|
||||||
# Configure the settings for the DMR GPS to APRS position application here.
|
######################################################################
|
||||||
#
|
|
||||||
# DATA_DMR_ID - This is the DMR ID that users send DMR GPS data.
|
|
||||||
# CALL_TYPE - group, unit, or both. Group if you want users to send data to a talkgroup,
|
|
||||||
# unit if you want users to send data as a private call, or both if you want both options.
|
|
||||||
# USER_APRS_SSID - Default APRS SSID assigned to user APRS positions.
|
|
||||||
# USER_APRS_COMMENT - Default Comment attached to user APRS positions.
|
|
||||||
# APRS_LOGIN_CALL, PASSCODE, SERVER, and PORT - Login settings for APRS-IS.
|
|
||||||
|
|
||||||
[GPS_DATA]
|
[GPS_DATA]
|
||||||
# Cambiar el numero de id 700 por su numero de MCC o servidor, ejemplo panama 714999
|
# Cambiar el numero de id 700 por su numero de MCC o servidor, ejemplo panama 714999
|
||||||
|
# el mismo numero de id que configure sera el mismo que colocara en radio id del igate
|
||||||
DATA_DMR_ID: 700999
|
DATA_DMR_ID: 700999
|
||||||
CALL_TYPE: both
|
CALL_TYPE: both
|
||||||
USER_APRS_SSID: 15
|
USER_APRS_SSID: 15
|
||||||
# Cambiar comment por el beacon predeterminado de su preferencia
|
######################################################################
|
||||||
|
# configurar aqui su beacon predeterminado #
|
||||||
|
######################################################################
|
||||||
USER_APRS_COMMENT: D-APRS FreeDMR /
|
USER_APRS_COMMENT: D-APRS FreeDMR /
|
||||||
|
|
||||||
# Setting APRS_LOGIN_CALL to N0CALL will cause the gateway to not upload packets to APRS server.
|
######################################################################
|
||||||
APRS_LOGIN_CALL: HP3ICC-6
|
# configurar aqui sus datos de conexion aprs #
|
||||||
|
######################################################################
|
||||||
|
APRS_LOGIN_CALL: HP3ICC-10
|
||||||
APRS_LOGIN_PASSCODE: 19384
|
APRS_LOGIN_PASSCODE: 19384
|
||||||
APRS_SERVER: noam.aprs2.net
|
APRS_SERVER: noam.aprs2.net
|
||||||
APRS_PORT: 14580
|
APRS_PORT: 14580
|
||||||
|
########################################################################
|
||||||
|
|
||||||
# The APRS filter below is used for the message received script. See http://www.aprs-is.net/javAPRSFilter.aspx for details
|
|
||||||
# about APRS filters.
|
|
||||||
#APRS_RECEIVE_LOGIN_CALL: N0CALL-1
|
|
||||||
#APRS_FILTER: r/47/-120/500 t/m
|
|
||||||
|
|
||||||
# The following settings are only applicable if you are using the gps_data_beacon_igate script.
|
|
||||||
# They do not affect the operation gps_data itself.
|
|
||||||
# Time in minutes.
|
|
||||||
IGATE_BEACON_TIME = 45
|
IGATE_BEACON_TIME = 45
|
||||||
IGATE_BEACON_COMMENT = D-APRS FreeDMR
|
IGATE_BEACON_COMMENT = D-APRS FreeDMR
|
||||||
IGATE_BEACON_ICON = #I
|
IGATE_BEACON_ICON = #I
|
||||||
IGATE_LATITUDE = 0000.00N
|
IGATE_LATITUDE = 0000.00N
|
||||||
IGATE_LONGITUDE = 00000.00W
|
IGATE_LONGITUDE = 00000.00W
|
||||||
|
|
||||||
# User settings file, MUST configure using absolute path.
|
|
||||||
USER_SETTINGS_FILE: /opt/hbnet/user_settings.txt
|
USER_SETTINGS_FILE: /opt/hbnet/user_settings.txt
|
||||||
|
|
||||||
# The email gateway settingns below are OPTIONAL. They are NOT REQUIRED if you don't want
|
# The email gateway settingns below are OPTIONAL. They are NOT REQUIRED if you don't want
|
||||||
|
|
@ -162,119 +113,7 @@ BULLETIN_BOARD_FILE: /tmp/gps_data_user_bb.txt
|
||||||
MAILBOX_FILE: /tmp/gps_data_user_mailbox.txt
|
MAILBOX_FILE: /tmp/gps_data_user_mailbox.txt
|
||||||
EMERGENCY_SOS_FILE: /tmp/gps_data_user_sos.txt
|
EMERGENCY_SOS_FILE: /tmp/gps_data_user_sos.txt
|
||||||
|
|
||||||
# The following options are used for the dashboard. The dashboard is optional.
|
#################################################################################
|
||||||
# Title of the Dashboard
|
|
||||||
###DASHBOARD_TITLE: HBLink3 D-APRS Dashboard
|
|
||||||
|
|
||||||
# Logo used on dashboard page
|
|
||||||
###LOGO: https://raw.githubusercontent.com/kf7eel/hblink3/gps/HBlink.png
|
|
||||||
|
|
||||||
# Port to run server
|
|
||||||
###DASH_PORT: 8092
|
|
||||||
|
|
||||||
# IP to run server on
|
|
||||||
###DASH_HOST: 127.0.0.1
|
|
||||||
|
|
||||||
#Description of dashboard to show on main page
|
|
||||||
###DESCRIPTION: Welcome to the dashboard.
|
|
||||||
|
|
||||||
# Gateway contact info displayed on about page.
|
|
||||||
###CONTACT_NAME: your name
|
|
||||||
###CONTACT_CALL: N0CALL
|
|
||||||
###CONTACT_EMAIL: email@example.org
|
|
||||||
###CONTACT_WEBSITE: https://hbl.ink
|
|
||||||
|
|
||||||
# Time format for display
|
|
||||||
###TIME_FORMAT: %%H:%%M:%%S - %%m/%%d/%%y
|
|
||||||
|
|
||||||
# Center dashboard map over these coordinates
|
|
||||||
###MAP_CENTER_LAT: 47.00
|
|
||||||
###MAP_CENTER_LON: -120.00
|
|
||||||
###ZOOM_LEVEL: 7
|
|
||||||
|
|
||||||
# List and preview of some map themes at http://leaflet-extras.github.io/leaflet-providers/preview/
|
|
||||||
# The following are options for map themes and just work, you should use one of these: “OpenStreetMap”, “Stamen” (Terrain, Toner, and Watercolor),
|
|
||||||
####MAP_THEME: Stamen Toner
|
|
||||||
|
|
||||||
# RSS feed link, shows in the link section of each RSS item.
|
|
||||||
####RSS_LINK: http://localhost:8092
|
|
||||||
|
|
||||||
#####################################################################
|
|
||||||
# OPENBRIDGE INSTANCES - DUPLICATE SECTION FOR MULTIPLE CONNECTIONS
|
|
||||||
# OpenBridge is a protocol originall created by DMR+ for connection between an
|
|
||||||
# IPSC2 server and Brandmeister. It has been implemented here at the suggestion
|
|
||||||
# of the Brandmeister team as a way to legitimately connect HBlink to the
|
|
||||||
# Brandemiester network.
|
|
||||||
# It is recommended to name the system the ID of the Brandmeister server that
|
|
||||||
# it connects to, but is not necessary. TARGET_IP and TARGET_PORT are of the
|
|
||||||
# Brandmeister or IPSC2 server you are connecting to. PASSPHRASE is the password
|
|
||||||
# that must be agreed upon between you and the operator of the server you are
|
|
||||||
# connecting to. NETWORK_ID is a number in the format of a DMR Radio ID that
|
|
||||||
# will be sent to the other server to identify this connection.
|
|
||||||
# other parameters follow the other system types.
|
|
||||||
#
|
|
||||||
# ACLs:
|
|
||||||
# OpenBridge does not 'register', so registration ACL is meaningless.
|
|
||||||
# Proper OpenBridge passes all traffic on TS1.
|
|
||||||
# HBlink can extend OPB to use both slots for unit calls only.
|
|
||||||
# Setting "BOTH_SLOTS" True ONLY affects unit traffic!
|
|
||||||
# Otherwise ACLs work as described in the global stanza
|
|
||||||
|
|
||||||
##[OBP-1]
|
|
||||||
##MODE: OPENBRIDGE
|
|
||||||
##ENABLED: True
|
|
||||||
##IP:
|
|
||||||
##PORT: 62035
|
|
||||||
##NETWORK_ID: 3129100
|
|
||||||
##PASSPHRASE: password
|
|
||||||
##TARGET_IP: 1.2.3.4
|
|
||||||
##TARGET_PORT: 62035
|
|
||||||
##BOTH_SLOTS: True
|
|
||||||
##USE_ACL: True
|
|
||||||
##SUB_ACL: DENY:1
|
|
||||||
##TGID_ACL: PERMIT:ALL
|
|
||||||
|
|
||||||
# MASTER INSTANCES - DUPLICATE SECTION FOR MULTIPLE MASTERS
|
|
||||||
# HomeBrew Protocol Master instances go here.
|
|
||||||
# IP may be left blank if there's one interface on your system.
|
|
||||||
# Port should be the port you want this master to listen on. It must be unique
|
|
||||||
# and unused by anything else.
|
|
||||||
# Repeat - if True, the master repeats traffic to peers, False, it does nothing.
|
|
||||||
#
|
|
||||||
# MAX_PEERS -- maximun number of peers that may be connect to this master
|
|
||||||
# at any given time. This is very handy if you're allowing hotspots to
|
|
||||||
# connect, or using a limited computer like a Raspberry Pi.
|
|
||||||
#
|
|
||||||
# ACLs:
|
|
||||||
# See comments in the GLOBAL stanza
|
|
||||||
#[MASTER-1]
|
|
||||||
#MODE: MASTER
|
|
||||||
#ENABLED: False
|
|
||||||
#REPEAT: True
|
|
||||||
#MAX_PEERS: 10
|
|
||||||
#EXPORT_AMBE: False
|
|
||||||
#IP:
|
|
||||||
#PORT: 54000
|
|
||||||
#PASSPHRASE: password
|
|
||||||
#GROUP_HANGTIME: 5
|
|
||||||
#USE_ACL: True
|
|
||||||
#REG_ACL: DENY:1
|
|
||||||
#SUB_ACL: DENY:1
|
|
||||||
#TGID_TS1_ACL: PERMIT:ALL
|
|
||||||
#TGID_TS2_ACL: PERMIT:ALL
|
|
||||||
|
|
||||||
# PEER INSTANCES - DUPLICATE SECTION FOR MULTIPLE PEERS
|
|
||||||
# There are a LOT of errors in the HB Protocol specifications on this one!
|
|
||||||
# MOST of these items are just strings and will be properly dealt with by the program
|
|
||||||
# The TX & RX Frequencies are 9-digit numbers, and are the frequency in Hz.
|
|
||||||
# Latitude is an 8-digit unsigned floating point number.
|
|
||||||
# Longitude is a 9-digit signed floating point number.
|
|
||||||
# Height is in meters
|
|
||||||
# Setting Loose to True relaxes the validation on packets received from the master.
|
|
||||||
# This will allow HBlink to connect to a non-compliant system such as XLXD, DMR+ etc.
|
|
||||||
#
|
|
||||||
# ACLs:
|
|
||||||
# See comments in the GLOBAL stanza
|
|
||||||
|
|
||||||
[IGATE]
|
[IGATE]
|
||||||
MODE: PEER
|
MODE: PEER
|
||||||
|
|
@ -285,17 +124,26 @@ IP:
|
||||||
PORT: 54271
|
PORT: 54271
|
||||||
# Si va instalar igate de aprs en un equipo distinto
|
# Si va instalar igate de aprs en un equipo distinto
|
||||||
# al que esta instalado su server freedmmr
|
# al que esta instalado su server freedmmr
|
||||||
#cambiar localhost por el ip o dns de su server
|
# cambiar 127.0.0.1 por el ip o dns de su server
|
||||||
MASTER_IP: 10.3.77.11
|
#################################################################################
|
||||||
#localhost
|
# configurar aqui dns o ip de su server freedmr en caso que este en otro equipo #
|
||||||
|
#################################################################################
|
||||||
|
MASTER_IP: 127.0.0.1
|
||||||
# Si va instalar igate de aprs en un equipo distinto
|
# Si va instalar igate de aprs en un equipo distinto
|
||||||
# al que esta instalado su server freedmmr
|
# al que esta instalado su server freedmmr
|
||||||
#cambiar 54101 por 62031
|
#cambiar 54101 por 62031
|
||||||
|
#########################################################################
|
||||||
|
# configurar aqui puerto 62031 si su server freedmr esta en otro equipo #
|
||||||
|
#########################################################################
|
||||||
MASTER_PORT: 54101
|
MASTER_PORT: 54101
|
||||||
PASSPHRASE: passw0rd
|
PASSPHRASE: passw0rd
|
||||||
CALLSIGN: APRS
|
CALLSIGN: APRS
|
||||||
# Cambiar el numero de id 700 por su numero de MCC o servidor,
|
# Cambiar el numero de id 700 por su numero de MCC o servidor,
|
||||||
# ejemplo de panama: 714999
|
# ejemplo de panama: 714999
|
||||||
|
##########################################################################
|
||||||
|
# configurar aqui su id dmr del igate , debe ser igual al configurado en #
|
||||||
|
# en los datos de GPS DATA ejemplo: DATA_DMR_ID: 700999 #
|
||||||
|
##########################################################################
|
||||||
RADIO_ID: 700999
|
RADIO_ID: 700999
|
||||||
RX_FREQ: 144390000
|
RX_FREQ: 144390000
|
||||||
TX_FREQ: 144390000
|
TX_FREQ: 144390000
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue