Re: Failure on Qngateway Service
Hi Colby,
It is working. Except it say "can't open 172.16.0.20:2000" and
"Failed to bind 172.16.0.20". I do not know how to stop the so I
could copy the rest.
On 09/09/2018 09:00 AM, Colby Ross
W1BSB wrote:
toggle quoted message
Show quoted text
Alternatively
you can put “ before /tmp and after qnvoice so it reads
qnvoicefile = “/tmp/qnvoice.txt”
|
Re: Failure on Qngateway Service
Nomis ? Put a # at the start of line 117, the qnvoice one, and see if it’ll boot. If it will, I can help you prune your qn.cfg file down to what it only needs so its much easier to read. What Tom is saying is the #s are just to show you what you CAN do, only a few of them have to be uncommented.? The # at line 117 should make it work. Try it, and issue systemctl restart qngateway qnlink ; journalctl -u qngateway -f ? Show me what it says. ? ?
toggle quoted message
Show quoted text
From: [email protected] <[email protected]> On Behalf Of Nomis Bayan Jr. Sent: Sunday, September 9, 2018 12:17 To: [email protected] Subject: Re: [QnetGateway] Failure on Qngateway Service? HI tom, Thank you for telling me. I was not aware that I can leave the #, comment on most of them. Just be to clear or as I understood what you provided. 1. Return the # as before. 2. Login enter Callsign, KM6VLB 3. Only module b ??????? b = { ??????????????? type = "icom" ??????????????? ip = "172.16.0.1" # all icom modules should have the same IP ad$ ??????????????? port = 20319?????? # all icom modules should have the same UDP $ ??????????????? frequency = 448.260 ??????????????? offset = 5 ??????????????? range = 15.0 ??????????????? agl = 30.0 ??????????????? latitude = 32.0 ??????????????? longitude = 127.0 ??????????????? desc1 = "La Mesa, CA" #?????????????? desc2 = "" 4. ??????? admin = [ "N0MIS" ]????????? # only these users can execute scripts, bl$ #????????????????????????????????????????????????????? # you probabaly want you$ ??????? link_unlink = [ "N0MIS" ]??? # if defined, only these users can link an$
What about the start to link? ? On 09/09/2018 08:59 AM, Tom Early wrote: Hi Nomis,
You're qn.cfg file is way too complicated, so it's hard to see what you've done. The example files I supplied, especially qn.everything.cfg and qn.icom.cfg define all of the config parameters you can change. The default values for those parameters are shown as comments (lines beginning with "#"). You don't need to uncomment those lines if the values of those config parameters are acceptable to you. In fact, for clarity, you can delete any lines that are just comments! For example your ircddb section just needs to be: ircddb = { ???????? login = "KM6VLB" }
It's also unnecessary to have an empty section. If you accept all the default values in a section (surrounded by parentheses), you can delete the section as well. For most configurations, this means that the qn.cfg file will usually be just a few lines.
In general the only thing you will need to define is your ircddb login, the module(s) (at a minimum you must define a type for each module) and usually a list of admins in the link section because these are the only callsigns that can execute the shutdown and reboot scripts.
?
|
Re: Failure on Qngateway Service
HI tom,
Thank you for telling me. I was not aware that I can leave the #,
comment on most of them. Just be to clear or as I understood what
you provided.
1. Return the # as before.
2. Login enter Callsign, KM6VLB
3. Only module b
??????? b = {
??????????????? type = "icom"
??????????????? ip = "172.16.0.1" # all icom modules should have
the same IP ad$
??????????????? port = 20319?????? # all icom modules should have
the same UDP $
??????????????? frequency = 448.260
??????????????? offset = 5
??????????????? range = 15.0
??????????????? agl = 30.0
??????????????? latitude = 32.0
??????????????? longitude = 127.0
??????????????? desc1 = "La Mesa, CA"
#?????????????? desc2 = ""
4. ??????? admin = [ "N0MIS" ]????????? # only these users can
execute scripts, bl$
#????????????????????????????????????????????????????? # you
probabaly want you$
??????? link_unlink = [ "N0MIS" ]??? # if defined, only these
users can link an$
What about the start to link?
On 09/09/2018 08:59 AM, Tom Early
wrote:
toggle quoted message
Show quoted text
Hi Nomis,
You're qn.cfg file is way too complicated, so it's hard to see
what you've done. The example files I supplied, especially
qn.everything.cfg and qn.icom.cfg define all of the config
parameters you can change. The default values for those parameters
are shown as comments (lines beginning with "#"). You don't need
to uncomment those lines if the values of those config parameters
are acceptable to you. In fact, for clarity, you can delete any
lines that are just comments! For example your ircddb section just
needs to be:
ircddb = {
???????? login = "KM6VLB"
}
It's also unnecessary to have an empty section. If you accept all
the default values in a section (surrounded by parentheses), you
can delete the section as well. For most configurations, this
means that the qn.cfg file will usually be just a few lines.
In general the only thing you will need to define is your ircddb
login, the module(s) (at a minimum you must define a type for each
module) and usually a list of admins in the link section because
these are the only callsigns that can execute the shutdown and
reboot scripts.
|
Re: Failure on Qngateway Service
Put a # in front of line 117 (this line: qnvoicefile = /tmp/qnvoice.txt), then do systemctl restart qngateway qnlink ? Alternatively you can put “ before /tmp and after qnvoice so it reads qnvoicefile = “/tmp/qnvoice.txt” ? Those lines do not need to be uncommented because they will accept their default values if they are commented out. ? Colby ? ? ?
toggle quoted message
Show quoted text
From: [email protected] <[email protected]> On Behalf Of Nomis Bayan Jr. Sent: Sunday, September 9, 2018 11:56 To: [email protected] Subject: Re: [QnetGateway] Failure on Qngateway Service? Hi Colby, here is the result. root@nolyn78dell:/home/nolyn1978/QnetGateway# systemctl restart qngateway qnlink ; journalctl -u qngateway -f -- Logs begin at Sat 2018-09-08 23:50:18 PDT. -- Sep 09 08:45:29 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 09 08:45:29 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'. Sep 09 08:53:18 nolyn78dell systemd[1]: Started QnetGateway. Sep 09 08:53:18 nolyn78dell qngateway[2663]: VERSION QnetGateway-7.0.1 Sep 09 08:53:18 nolyn78dell qngateway[2663]: Reading file /usr/local/etc/qn.cfg Sep 09 08:53:18 nolyn78dell qngateway[2663]: Parse error at /usr/local/etc/qn.cfg:117 - syntax error Sep 09 08:53:18 nolyn78dell qngateway[2663]: Failed to process config file /usr/local/etc/qn.cfg Sep 09 08:53:18 nolyn78dell systemd[1]: qngateway.service: Main process exited, code=killed, status=11/SEGV Sep 09 08:53:18 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 09 08:53:18 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'. Sep 09 08:53:18 nolyn78dell systemd[1]: qngateway.service: Service hold-off time over, scheduling restart. Sep 09 08:53:18 nolyn78dell systemd[1]: Stopped QnetGateway. Sep 09 08:53:18 nolyn78dell systemd[1]: Started QnetGateway. Sep 09 08:53:18 nolyn78dell qngateway[2668]: VERSION QnetGateway-7.0.1 Sep 09 08:53:18 nolyn78dell qngateway[2668]: Reading file /usr/local/etc/qn.cfg Sep 09 08:53:18 nolyn78dell qngateway[2668]: Parse error at /usr/local/etc/qn.cfg:117 - syntax error Sep 09 08:53:18 nolyn78dell qngateway[2668]: Failed to process config file /usr/local/etc/qn.cfg Sep 09 08:53:18 nolyn78dell systemd[1]: qngateway.service: Main process exited, code=killed, status=11/SEGV Sep 09 08:53:18 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 09 08:53:18 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'. Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Service hold-off time over, scheduling restart. Sep 09 08:53:19 nolyn78dell systemd[1]: Stopped QnetGateway. Sep 09 08:53:19 nolyn78dell systemd[1]: Started QnetGateway. Sep 09 08:53:19 nolyn78dell qngateway[2672]: VERSION QnetGateway-7.0.1 Sep 09 08:53:19 nolyn78dell qngateway[2672]: Reading file /usr/local/etc/qn.cfg Sep 09 08:53:19 nolyn78dell qngateway[2672]: Parse error at /usr/local/etc/qn.cfg:117 - syntax error Sep 09 08:53:19 nolyn78dell qngateway[2672]: Failed to process config file /usr/local/etc/qn.cfg Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Main process exited, code=killed, status=11/SEGV Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'. Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Service hold-off time over, scheduling restart. Sep 09 08:53:19 nolyn78dell systemd[1]: Stopped QnetGateway. Sep 09 08:53:19 nolyn78dell systemd[1]: Started QnetGateway. Sep 09 08:53:19 nolyn78dell qngateway[2676]: VERSION QnetGateway-7.0.1 Sep 09 08:53:19 nolyn78dell qngateway[2676]: Reading file /usr/local/etc/qn.cfg Sep 09 08:53:19 nolyn78dell qngateway[2676]: Parse error at /usr/local/etc/qn.cfg:117 - syntax error Sep 09 08:53:19 nolyn78dell qngateway[2676]: Failed to process config file /usr/local/etc/qn.cfg Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Main process exited, code=killed, status=11/SEGV Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'. Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Service hold-off time over, scheduling restart. Sep 09 08:53:19 nolyn78dell systemd[1]: Stopped QnetGateway. Sep 09 08:53:19 nolyn78dell systemd[1]: Started QnetGateway. Sep 09 08:53:19 nolyn78dell qngateway[2680]: VERSION QnetGateway-7.0.1 Sep 09 08:53:19 nolyn78dell qngateway[2680]: Reading file /usr/local/etc/qn.cfg Sep 09 08:53:19 nolyn78dell qngateway[2680]: Parse error at /usr/local/etc/qn.cfg:117 - syntax error Sep 09 08:53:19 nolyn78dell qngateway[2680]: Failed to process config file /usr/local/etc/qn.cfg Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Main process exited, code=killed, status=11/SEGV Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'. Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Service hold-off time over, scheduling restart. Sep 09 08:53:19 nolyn78dell systemd[1]: Stopped QnetGateway. Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Start request repeated too quickly. Sep 09 08:53:19 nolyn78dell systemd[1]: Failed to start QnetGateway. Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'.
? On 09/09/2018 08:42 AM, Colby Ross W1BSB wrote: systemctl restart qngateway qnlink ; journalctl -u qngateway -f
?
|
Re: Failure on Qngateway Service
Hi Nomis,
You're qn.cfg file is way too complicated, so it's hard to see what you've done. The example files I supplied, especially qn.everything.cfg and qn.icom.cfg define all of the config parameters you can change. The default values for those parameters are shown as comments (lines beginning with "#"). You don't need to uncomment those lines if the values of those config parameters are acceptable to you. In fact, for clarity, you can delete any lines that are just comments! For example your ircddb section just needs to be: ircddb = { ???????? login = "KM6VLB" }
It's also unnecessary to have an empty section. If you accept all the default values in a section (surrounded by parentheses), you can delete the section as well. For most configurations, this means that the qn.cfg file will usually be just a few lines.
In general the only thing you will need to define is your ircddb login, the module(s) (at a minimum you must define a type for each module) and usually a list of admins in the link section because these are the only callsigns that can execute the shutdown and reboot scripts.
|
Re: Failure on Qngateway Service
Hi Colby,
here is the result.
root@nolyn78dell:/home/nolyn1978/QnetGateway# systemctl restart
qngateway qnlink ; journalctl -u qngateway -f
-- Logs begin at Sat 2018-09-08 23:50:18 PDT. --
Sep 09 08:45:29 nolyn78dell systemd[1]: qngateway.service: Unit
entered failed state.
Sep 09 08:45:29 nolyn78dell systemd[1]: qngateway.service: Failed
with result 'signal'.
Sep 09 08:53:18 nolyn78dell systemd[1]: Started QnetGateway.
Sep 09 08:53:18 nolyn78dell qngateway[2663]: VERSION
QnetGateway-7.0.1
Sep 09 08:53:18 nolyn78dell qngateway[2663]: Reading file
/usr/local/etc/qn.cfg
Sep 09 08:53:18 nolyn78dell qngateway[2663]: Parse error at
/usr/local/etc/qn.cfg:117 - syntax error
Sep 09 08:53:18 nolyn78dell qngateway[2663]: Failed to process
config file /usr/local/etc/qn.cfg
Sep 09 08:53:18 nolyn78dell systemd[1]: qngateway.service: Main
process exited, code=killed, status=11/SEGV
Sep 09 08:53:18 nolyn78dell systemd[1]: qngateway.service: Unit
entered failed state.
Sep 09 08:53:18 nolyn78dell systemd[1]: qngateway.service: Failed
with result 'signal'.
Sep 09 08:53:18 nolyn78dell systemd[1]: qngateway.service: Service
hold-off time over, scheduling restart.
Sep 09 08:53:18 nolyn78dell systemd[1]: Stopped QnetGateway.
Sep 09 08:53:18 nolyn78dell systemd[1]: Started QnetGateway.
Sep 09 08:53:18 nolyn78dell qngateway[2668]: VERSION
QnetGateway-7.0.1
Sep 09 08:53:18 nolyn78dell qngateway[2668]: Reading file
/usr/local/etc/qn.cfg
Sep 09 08:53:18 nolyn78dell qngateway[2668]: Parse error at
/usr/local/etc/qn.cfg:117 - syntax error
Sep 09 08:53:18 nolyn78dell qngateway[2668]: Failed to process
config file /usr/local/etc/qn.cfg
Sep 09 08:53:18 nolyn78dell systemd[1]: qngateway.service: Main
process exited, code=killed, status=11/SEGV
Sep 09 08:53:18 nolyn78dell systemd[1]: qngateway.service: Unit
entered failed state.
Sep 09 08:53:18 nolyn78dell systemd[1]: qngateway.service: Failed
with result 'signal'.
Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Service
hold-off time over, scheduling restart.
Sep 09 08:53:19 nolyn78dell systemd[1]: Stopped QnetGateway.
Sep 09 08:53:19 nolyn78dell systemd[1]: Started QnetGateway.
Sep 09 08:53:19 nolyn78dell qngateway[2672]: VERSION
QnetGateway-7.0.1
Sep 09 08:53:19 nolyn78dell qngateway[2672]: Reading file
/usr/local/etc/qn.cfg
Sep 09 08:53:19 nolyn78dell qngateway[2672]: Parse error at
/usr/local/etc/qn.cfg:117 - syntax error
Sep 09 08:53:19 nolyn78dell qngateway[2672]: Failed to process
config file /usr/local/etc/qn.cfg
Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Main
process exited, code=killed, status=11/SEGV
Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Unit
entered failed state.
Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Failed
with result 'signal'.
Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Service
hold-off time over, scheduling restart.
Sep 09 08:53:19 nolyn78dell systemd[1]: Stopped QnetGateway.
Sep 09 08:53:19 nolyn78dell systemd[1]: Started QnetGateway.
Sep 09 08:53:19 nolyn78dell qngateway[2676]: VERSION
QnetGateway-7.0.1
Sep 09 08:53:19 nolyn78dell qngateway[2676]: Reading file
/usr/local/etc/qn.cfg
Sep 09 08:53:19 nolyn78dell qngateway[2676]: Parse error at
/usr/local/etc/qn.cfg:117 - syntax error
Sep 09 08:53:19 nolyn78dell qngateway[2676]: Failed to process
config file /usr/local/etc/qn.cfg
Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Main
process exited, code=killed, status=11/SEGV
Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Unit
entered failed state.
Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Failed
with result 'signal'.
Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Service
hold-off time over, scheduling restart.
Sep 09 08:53:19 nolyn78dell systemd[1]: Stopped QnetGateway.
Sep 09 08:53:19 nolyn78dell systemd[1]: Started QnetGateway.
Sep 09 08:53:19 nolyn78dell qngateway[2680]: VERSION
QnetGateway-7.0.1
Sep 09 08:53:19 nolyn78dell qngateway[2680]: Reading file
/usr/local/etc/qn.cfg
Sep 09 08:53:19 nolyn78dell qngateway[2680]: Parse error at
/usr/local/etc/qn.cfg:117 - syntax error
Sep 09 08:53:19 nolyn78dell qngateway[2680]: Failed to process
config file /usr/local/etc/qn.cfg
Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Main
process exited, code=killed, status=11/SEGV
Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Unit
entered failed state.
Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Failed
with result 'signal'.
Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Service
hold-off time over, scheduling restart.
Sep 09 08:53:19 nolyn78dell systemd[1]: Stopped QnetGateway.
Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Start
request repeated too quickly.
Sep 09 08:53:19 nolyn78dell systemd[1]: Failed to start
QnetGateway.
Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Unit
entered failed state.
Sep 09 08:53:19 nolyn78dell systemd[1]: qngateway.service: Failed
with result 'signal'.
On 09/09/2018 08:42 AM, Colby Ross
W1BSB wrote:
toggle quoted message
Show quoted text
systemctl restart qngateway qnlink ;
journalctl -u qngateway -f
|
Re: Failure on Qngateway Service
Same with the C module, there is a } right under the line #?????????????? url = "github.com/n7tae/QnetGateway" that needs a # before it, but not the 2nd one. The 2nd one is required to close the modules section. ? Put a # before the 1st } underneath the url line. ? Colby ? ? ?
toggle quoted message
Show quoted text
From: [email protected] <[email protected]> On Behalf Of Nomis Bayan Jr. Sent: Sunday, September 9, 2018 11:41 To: [email protected] Subject: Re: [QnetGateway] Failure on Qngateway Service? Its done. ? On 09/09/2018 08:37 AM, Colby Ross W1BSB wrote: Actually, this is much easier. Use this qn.cfg (I made all the edits) ? # Qnet Gateway Configuration ? ircddb = { ??????? login = "KM6VLB";???? # login callsign for the ircDDB network ? ??????host = "rr.openquad.net"??? # other include group1-irc.ircddb.net ??????? port = 9007???????????????????????????????????? # not a good idea to ch$ ??????? 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 ur$ ??????? local_irc_ip = "0.0.0.0"?? # 0.0.0.0 means accept any incoming connecti$ ??????? 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 unc$ #?????????????? ip = "172.16.0.1" # all icom modules should have the same IP ad$ #?????????????? port = 20000?????? # all icom modules should have the same UDP $ #?????????????? frequency = 0????? # in MHz, if you specify here, this frequenc$ #?????????????? offset = 0 #?????????????? range = 0????????? # the range of this repeater, in meters. 160$ #?????? agl = 0??????????? # the height above ground level for this repeater's $ #?????????????? latitude = 0?????? # you can leave this unspecified for a mobil$ #?????????????? longitude = 0????? # like the latitude #?????????????? desc1 = ""???????? # maximum of 20 characters, most special sym$ #?????????????? 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 ad$ ??????????????? port = 20319?????? # all icom modules should have the same UDP $ ??????????????? frequency = 448.260 ??????????????? offset = 5 ??????????????? range = 15 ??????????????? agl = 30 ??????????????? latitude = 32 ??????????????? longitude = 127 ??????????????? desc1 = "La Mesa, CA" #?????????????? desc2 = "" ??????????????? url = "github.com/n7tae/g2_ircddb" ??????? } ? #?????? c = { #?????????????? type = "icom" #?????????????? ip = "172.16.0.1" # all icom modules should have the same IP ad$ #?????????????? port = 20000?????? # all icom modules should have the same UDP $ #?????????????? 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 = "BXRF072A" # Link to a reflector at startup. #???????????????????????????? to link repeater module B to REF001 C, use "BREF0$ #?????? ref_login = "KM6VLB" ????????????# for loging into REF reflectors, if u$ ??????? admin = [ "N0MIS" ]????????? # only these users can execute scripts, bl$ #????????????????????????????????????????????????????? # you probabaly want you$ ??????? link_unlink = [ "N0MIS" ]??? # if defined, only these users can link an$ #?? no_link_unlink = [ "CALL7", "CALL8", "CALL9" ] # if defined, these users ca$ #????????????????????????????????????????????????????????????????????????????? $ ??????? incoming_ip = "0.0.0.0"???? # incoming ip address, "0.0.0.0" means acce$ ??????? 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 = 20??? # maximum number of linked hotspots } ? file = { ??????? status = "/usr/local/etc/rptr_status"? # where repeater status info is $ ??????? DTMF = "/tmp"????????????????????????? # ??????? echotest = "/tmp"????????????????????? # echo dat files will end up here ??????? qnvoicefile = /tmp/qnvoice.txt???????? # where qnvoice will create the $ ??????? gwys = "/usr/local/etc/gwys.txt"?????? # where the list of gateways and$ ??????? announce_dir = "/usr/local/etc"??????? # where are the *.dat files for $ } ? 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 $ ???????????????local_rptr = 1?? # local timeout, in seconds ??????? } ? ??????? play = { ??????????????? wait = 1????????? # seconds before playback occurs, between 1 a$ ??????????????? delay = 19??????? # microseconds between frames playback, if ec$ ??????? } ? ??????? inactivity = { ??????????????? a = 0???????????? # unlink repeater if no activity for this man$ ??????????????? b = 0???????????? # zero mean there will be no timer ??????????????? c = 0 ??????? } ? ? Hi Colby, Here is the qn.cfg file. # Qnet Gateway Configuration
ircddb = { ??????? login = "KM6VLB";???? # login callsign for the ircDDB network ??????? host = "rr.openquad.net"??? # other include group1-irc.ircddb.net ??????? port = 9007???????????????????????????????????? # not a good idea to ch$ ??????? 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 ur$ ??????? local_irc_ip = "0.0.0.0"?? # 0.0.0.0 means accept any incoming connecti$ ??????? 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 unc$ #?????????????? ip = "172.16.0.1" # all icom modules should have the same IP ad$ #?????????????? port = 20000?????? # all icom modules should have the same UDP $ #?????????????? frequency = 0????? # in MHz, if you specify here, this frequenc$ #?????????????? offset = 0 #?????????????? range = 0????????? # the range of this repeater, in meters. 160$ #?????? agl = 0??????????? # the height above ground level for this repeater's $ #?????????????? latitude = 0?????? # you can leave this unspecified for a mobil$ #?????????????? longitude = 0????? # like the latitude #?????????????? desc1 = ""???????? # maximum of 20 characters, most special sym$ #?????????????? 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 ad$ ??????????????? port = 20319?????? # all icom modules should have the same UDP $ ??????????????? frequency = 448.260 ??????????????? offset = 5 Mhz ??????????????? range = 15.0 miles ??????????????? agl = 30.0 ft ??????????????? latitude = 32.0 ??????????????? longitude = 127.0 ??????????????? desc1 = "La Mesa, CA" #?????????????? desc2 = "" ??????????????? url = "github.com/n7tae/g2_ircddb" ??????? }
#?????? c = { #?????????????? type = "icom" #?????????????? ip = "172.16.0.1" # all icom modules should have the same IP ad$ #?????????????? port = 20000?????? # all icom modules should have the same UDP $ #?????????????? 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 = "BXRF072A" # Link to a reflector at startup. #???????????????????????????? to link repeater module B to REF001 C, use "BREF0$ #?????? ref_login = "KM6VLB"???????????? # for loging into REF reflectors, if u$ ??????? admin = [ "N0MIS" ]????????? # only these users can execute scripts, bl$ #????????????????????????????????????????????????????? # you probabaly want you$ ??????? link_unlink = [ "N0MIS" ]??? # if defined, only these users can link an$ #?? no_link_unlink = [ "CALL7", "CALL8", "CALL9" ] # if defined, these users ca$ #????????????????????????????????????????????????????????????????????????????? $ ??????? incoming_ip = "0.0.0.0"???? # incoming ip address, "0.0.0.0" means acce$ ??????? 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 = 20??? # maximum number of linked hotspots }
file = { ??????? status = "/usr/local/etc/rptr_status"? # where repeater status info is $ ??????? DTMF = "/tmp"????????????????????????? # ??????? echotest = "/tmp"????????????????????? # echo dat files will end up here ??????? qnvoicefile = /tmp/qnvoice.txt???????? # where qnvoice will create the $ ??????? gwys = "/usr/local/etc/gwys.txt"?????? # where the list of gateways and$ ??????? announce_dir = "/usr/local/etc"??????? # where are the *.dat files for $ }
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 $ ??????????????? local_rptr = 1?? # local timeout, in seconds ??????? }
??????? play = { ??????????????? wait = 1????????? # seconds before playback occurs, between 1 a$ ??????????????? delay = 19??????? # microseconds between frames playback, if ec$ ??????? }
??????? inactivity = { ??????????????? a = 0???????????? # unlink repeater if no activity for this man$ ??????????????? b = 0???????????? # zero mean there will be no timer ??????????????? c = 0 ??????? }
?????????????????????????????????????????????????????????????????????????????
? On 09/09/2018 08:06 AM, Colby Ross W1BSB wrote: Ok. Send me your qn.cfg file.? ? On Sun, Sep 9, 2018, 10:53 Nomis Bayan Jr. <nolyn78@...> wrote: HI Colby, Good Morning. Here is the output. root@nolyn78dell:/usr/local/bin# ./qngateway /usr/local/etc/qn.cfg VERSION QnetGateway-7.0.1 Reading file /usr/local/etc/qn.cfg Parse error at /usr/local/etc/qn.cfg:54 - syntax error Failed to process config file /usr/local/etc/qn.cfg Segmentation fault ? On 09/09/2018 12:22 AM, Colby Ross W1BSB wrote: Type cd /usr/local/bin and enter the following command: ? ./qngateway /usr/local/etc/qn.cfg ? Provide the output here please, thanks – ? Colby ? ? From: [email protected] <[email protected]> On Behalf Of Nomis Bayan Jr. Sent: Sunday, September 9, 2018 01:01 To: [email protected] Subject: [QnetGateway] Failure on Qngateway Service ? Hello, I was able to set up the IP address for the 2nd NIC, as shown below "enp4s0". Ping Gateway 172.16.0.20 and controller 172.16.0.1 all okay. But failed qngateway.service shown below. Anyone could provide guidance. Thanks.
root@nolyn78dell:/home/nolyn1978/QnetGateway# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 ??? link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 ??? inet scope host lo ?????? valid_lft forever preferred_lft forever ??? inet6 ::1/128 scope host ?????? valid_lft forever preferred_lft forever 2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 ??? link/ether 18:0f:76:cc:18:fa brd ff:ff:ff:ff:ff:ff ??? inet brd 172.16.0.255 scope global enp4s0 ?????? valid_lft forever preferred_lft forever ??? inet6 fe80::2007:6e18:1a5f:56c9/64 scope link ?????? valid_lft forever preferred_lft forever 3: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 ??? link/ether 14:fe:b5:df:c6:c2 brd ff:ff:ff:ff:ff:ff ??? inet brd 192.168.1.255 scope global dynamic enp0s25 ?????? valid_lft 86186sec preferred_lft 86186sec ??? inet6 fe80::16fe:b5ff:fedf:c6c2/64 scope link ?????? valid_lft forever preferred_lft forever
root@nolyn78dell:/home/nolyn1978/QnetGateway# systemctl status qngateway ● qngateway.service - QnetGateway ?? Loaded: loaded (/lib/systemd/system/qngateway.service; enabled; vendor preset: enabled) ?? Active: failed (Result: signal) since Sat 2018-09-08 21:33:44 PDT; 6min ago ? Process: 1409 ExecStart=/usr/local/bin/qngateway /usr/local/etc/qn.cfg (code=killed, signal=SEGV) ?Main PID: 1409 (code=killed, signal=SEGV)
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Main process exited, code=killed, status=11/SEGV Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Service hold-off time over, scheduling restart. Sep 08 21:33:44 nolyn78dell systemd[1]: Stopped QnetGateway. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Start request repeated too quickly. Sep 08 21:33:44 nolyn78dell systemd[1]: Failed to start QnetGateway. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'.
?
?
?
|
Re: Failure on Qngateway Service
Tom pointed out (as I missed) there must be a # before the } above the b = { ? Make that change and do systemctl restart qngateway qnlink ; journalctl -u qngateway -f ? Things should start working. Let me know what you see. ? Colby ? ?
toggle quoted message
Show quoted text
From: [email protected] <[email protected]> On Behalf Of Nomis Bayan Jr. Sent: Sunday, September 9, 2018 11:41 To: [email protected] Subject: Re: [QnetGateway] Failure on Qngateway Service? Its done. ? On 09/09/2018 08:37 AM, Colby Ross W1BSB wrote: Actually, this is much easier. Use this qn.cfg (I made all the edits) ? # Qnet Gateway Configuration ? ircddb = { ??????? login = "KM6VLB";???? # login callsign for the ircDDB network ? ??????host = "rr.openquad.net"??? # other include group1-irc.ircddb.net ??????? port = 9007???????????????????????????????????? # not a good idea to ch$ ??????? 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 ur$ ??????? local_irc_ip = "0.0.0.0"?? # 0.0.0.0 means accept any incoming connecti$ ??????? 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 unc$ #?????????????? ip = "172.16.0.1" # all icom modules should have the same IP ad$ #?????????????? port = 20000?????? # all icom modules should have the same UDP $ #?????????????? frequency = 0????? # in MHz, if you specify here, this frequenc$ #?????????????? offset = 0 #?????????????? range = 0????????? # the range of this repeater, in meters. 160$ #?????? agl = 0??????????? # the height above ground level for this repeater's $ #?????????????? latitude = 0?????? # you can leave this unspecified for a mobil$ #?????????????? longitude = 0????? # like the latitude #?????????????? desc1 = ""???????? # maximum of 20 characters, most special sym$ #?????????????? 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 ad$ ??????????????? port = 20319?????? # all icom modules should have the same UDP $ ??????????????? frequency = 448.260 ??????????????? offset = 5 ??????????????? range = 15 ??????????????? agl = 30 ??????????????? latitude = 32 ??????????????? longitude = 127 ??????????????? desc1 = "La Mesa, CA" #?????????????? desc2 = "" ??????????????? url = "github.com/n7tae/g2_ircddb" ??????? } ? #?????? c = { #?????????????? type = "icom" #?????????????? ip = "172.16.0.1" # all icom modules should have the same IP ad$ #?????????????? port = 20000?????? # all icom modules should have the same UDP $ #?????????????? 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 = "BXRF072A" # Link to a reflector at startup. #???????????????????????????? to link repeater module B to REF001 C, use "BREF0$ #?????? ref_login = "KM6VLB" ????????????# for loging into REF reflectors, if u$ ??????? admin = [ "N0MIS" ]????????? # only these users can execute scripts, bl$ #????????????????????????????????????????????????????? # you probabaly want you$ ??????? link_unlink = [ "N0MIS" ]??? # if defined, only these users can link an$ #?? no_link_unlink = [ "CALL7", "CALL8", "CALL9" ] # if defined, these users ca$ #????????????????????????????????????????????????????????????????????????????? $ ??????? incoming_ip = "0.0.0.0"???? # incoming ip address, "0.0.0.0" means acce$ ??????? 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 = 20??? # maximum number of linked hotspots } ? file = { ??????? status = "/usr/local/etc/rptr_status"? # where repeater status info is $ ??????? DTMF = "/tmp"????????????????????????? # ??????? echotest = "/tmp"????????????????????? # echo dat files will end up here ??????? qnvoicefile = /tmp/qnvoice.txt???????? # where qnvoice will create the $ ??????? gwys = "/usr/local/etc/gwys.txt"?????? # where the list of gateways and$ ??????? announce_dir = "/usr/local/etc"??????? # where are the *.dat files for $ } ? 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 $ ???????????????local_rptr = 1?? # local timeout, in seconds ??????? } ? ??????? play = { ??????????????? wait = 1????????? # seconds before playback occurs, between 1 a$ ??????????????? delay = 19??????? # microseconds between frames playback, if ec$ ??????? } ? ??????? inactivity = { ??????????????? a = 0???????????? # unlink repeater if no activity for this man$ ??????????????? b = 0???????????? # zero mean there will be no timer ??????????????? c = 0 ??????? } ? ? Hi Colby, Here is the qn.cfg file. # Qnet Gateway Configuration
ircddb = { ??????? login = "KM6VLB";???? # login callsign for the ircDDB network ??????? host = "rr.openquad.net"??? # other include group1-irc.ircddb.net ??????? port = 9007???????????????????????????????????? # not a good idea to ch$ ??????? 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 ur$ ??????? local_irc_ip = "0.0.0.0"?? # 0.0.0.0 means accept any incoming connecti$ ??????? 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 unc$ #?????????????? ip = "172.16.0.1" # all icom modules should have the same IP ad$ #?????????????? port = 20000?????? # all icom modules should have the same UDP $ #?????????????? frequency = 0????? # in MHz, if you specify here, this frequenc$ #?????????????? offset = 0 #?????????????? range = 0????????? # the range of this repeater, in meters. 160$ #?????? agl = 0??????????? # the height above ground level for this repeater's $ #?????????????? latitude = 0?????? # you can leave this unspecified for a mobil$ #?????????????? longitude = 0????? # like the latitude #?????????????? desc1 = ""???????? # maximum of 20 characters, most special sym$ #?????????????? 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 ad$ ??????????????? port = 20319?????? # all icom modules should have the same UDP $ ??????????????? frequency = 448.260 ??????????????? offset = 5 Mhz ??????????????? range = 15.0 miles ??????????????? agl = 30.0 ft ??????????????? latitude = 32.0 ??????????????? longitude = 127.0 ??????????????? desc1 = "La Mesa, CA" #?????????????? desc2 = "" ??????????????? url = "github.com/n7tae/g2_ircddb" ??????? }
#?????? c = { #?????????????? type = "icom" #?????????????? ip = "172.16.0.1" # all icom modules should have the same IP ad$ #?????????????? port = 20000?????? # all icom modules should have the same UDP $ #?????????????? 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 = "BXRF072A" # Link to a reflector at startup. #???????????????????????????? to link repeater module B to REF001 C, use "BREF0$ #?????? ref_login = "KM6VLB"???????????? # for loging into REF reflectors, if u$ ??????? admin = [ "N0MIS" ]????????? # only these users can execute scripts, bl$ #????????????????????????????????????????????????????? # you probabaly want you$ ??????? link_unlink = [ "N0MIS" ]??? # if defined, only these users can link an$ #?? no_link_unlink = [ "CALL7", "CALL8", "CALL9" ] # if defined, these users ca$ #????????????????????????????????????????????????????????????????????????????? $ ??????? incoming_ip = "0.0.0.0"???? # incoming ip address, "0.0.0.0" means acce$ ??????? 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 = 20??? # maximum number of linked hotspots }
file = { ??????? status = "/usr/local/etc/rptr_status"? # where repeater status info is $ ??????? DTMF = "/tmp"????????????????????????? # ??????? echotest = "/tmp"????????????????????? # echo dat files will end up here ??????? qnvoicefile = /tmp/qnvoice.txt???????? # where qnvoice will create the $ ??????? gwys = "/usr/local/etc/gwys.txt"?????? # where the list of gateways and$ ??????? announce_dir = "/usr/local/etc"??????? # where are the *.dat files for $ }
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 $ ??????????????? local_rptr = 1?? # local timeout, in seconds ??????? }
??????? play = { ??????????????? wait = 1????????? # seconds before playback occurs, between 1 a$ ??????????????? delay = 19??????? # microseconds between frames playback, if ec$ ??????? }
??????? inactivity = { ??????????????? a = 0???????????? # unlink repeater if no activity for this man$ ??????????????? b = 0???????????? # zero mean there will be no timer ??????????????? c = 0 ??????? }
?????????????????????????????????????????????????????????????????????????????
? On 09/09/2018 08:06 AM, Colby Ross W1BSB wrote: Ok. Send me your qn.cfg file.? ? On Sun, Sep 9, 2018, 10:53 Nomis Bayan Jr. <nolyn78@...> wrote: HI Colby, Good Morning. Here is the output. root@nolyn78dell:/usr/local/bin# ./qngateway /usr/local/etc/qn.cfg VERSION QnetGateway-7.0.1 Reading file /usr/local/etc/qn.cfg Parse error at /usr/local/etc/qn.cfg:54 - syntax error Failed to process config file /usr/local/etc/qn.cfg Segmentation fault ? On 09/09/2018 12:22 AM, Colby Ross W1BSB wrote: Type cd /usr/local/bin and enter the following command: ? ./qngateway /usr/local/etc/qn.cfg ? Provide the output here please, thanks – ? Colby ? ? From: [email protected] <[email protected]> On Behalf Of Nomis Bayan Jr. Sent: Sunday, September 9, 2018 01:01 To: [email protected] Subject: [QnetGateway] Failure on Qngateway Service ? Hello, I was able to set up the IP address for the 2nd NIC, as shown below "enp4s0". Ping Gateway 172.16.0.20 and controller 172.16.0.1 all okay. But failed qngateway.service shown below. Anyone could provide guidance. Thanks.
root@nolyn78dell:/home/nolyn1978/QnetGateway# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 ??? link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 ??? inet scope host lo ?????? valid_lft forever preferred_lft forever ??? inet6 ::1/128 scope host ?????? valid_lft forever preferred_lft forever 2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 ??? link/ether 18:0f:76:cc:18:fa brd ff:ff:ff:ff:ff:ff ??? inet brd 172.16.0.255 scope global enp4s0 ?????? valid_lft forever preferred_lft forever ??? inet6 fe80::2007:6e18:1a5f:56c9/64 scope link ?????? valid_lft forever preferred_lft forever 3: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 ??? link/ether 14:fe:b5:df:c6:c2 brd ff:ff:ff:ff:ff:ff ??? inet brd 192.168.1.255 scope global dynamic enp0s25 ?????? valid_lft 86186sec preferred_lft 86186sec ??? inet6 fe80::16fe:b5ff:fedf:c6c2/64 scope link ?????? valid_lft forever preferred_lft forever
root@nolyn78dell:/home/nolyn1978/QnetGateway# systemctl status qngateway ● qngateway.service - QnetGateway ?? Loaded: loaded (/lib/systemd/system/qngateway.service; enabled; vendor preset: enabled) ?? Active: failed (Result: signal) since Sat 2018-09-08 21:33:44 PDT; 6min ago ? Process: 1409 ExecStart=/usr/local/bin/qngateway /usr/local/etc/qn.cfg (code=killed, signal=SEGV) ?Main PID: 1409 (code=killed, signal=SEGV)
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Main process exited, code=killed, status=11/SEGV Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Service hold-off time over, scheduling restart. Sep 08 21:33:44 nolyn78dell systemd[1]: Stopped QnetGateway. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Start request repeated too quickly. Sep 08 21:33:44 nolyn78dell systemd[1]: Failed to start QnetGateway. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'.
?
?
?
|
Re: Failure on Qngateway Service
Its done.
On 09/09/2018 08:37 AM, Colby Ross
W1BSB wrote:
toggle quoted message
Show quoted text
Actually,
this is much easier. Use this qn.cfg (I made all the edits)
?
# Qnet
Gateway Configuration
?
ircddb = {
???????
login = "KM6VLB";???? # login callsign for the ircDDB
network
? ??????host
= "rr.openquad.net"??? # other include group1-irc.ircddb.net
??????? port
= 9007???????????????????????????????????? # not a good idea
to ch$
???????
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 ur$
???????
local_irc_ip = "0.0.0.0"?? # 0.0.0.0 means accept any
incoming connecti$
???????
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
unc$
#??????????????
ip = "172.16.0.1" # all icom modules should have the same IP
ad$
#??????????????
port = 20000?????? # all icom modules should have the same
UDP $
#??????????????
frequency = 0????? # in MHz, if you specify here, this
frequenc$
#??????????????
offset = 0
#??????????????
range = 0????????? # the range of this repeater, in meters.
160$
#?????? agl
= 0??????????? # the height above ground level for this
repeater's $
#??????????????
latitude = 0?????? # you can leave this unspecified for a
mobil$
#??????????????
longitude = 0????? # like the latitude
#??????????????
desc1 = ""???????? # maximum of 20 characters, most special
sym$
#??????????????
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
ad$
???????????????
port = 20319?????? # all icom modules should have the same
UDP $
???????????????
frequency = 448.260
???????????????
offset = 5
???????????????
range = 15
???????????????
agl = 30
???????????????
latitude = 32
???????????????
longitude = 127
???????????????
desc1 = "La Mesa, CA"
#??????????????
desc2 = ""
???????????????
url = "github.com/n7tae/g2_ircddb"
??????? }
?
#?????? c =
{
#??????????????
type = "icom"
#??????????????
ip = "172.16.0.1" # all icom modules should have the same IP
ad$
#??????????????
port = 20000?????? # all icom modules should have the same
UDP $
#??????????????
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 = "BXRF072A" # Link to a reflector at startup.
#????????????????????????????
to link repeater module B to REF001 C, use "BREF0$
#??????
ref_login = "KM6VLB" ????????????# for loging into REF
reflectors, if u$
???????
admin = [ "N0MIS" ]????????? # only these users can execute
scripts, bl$
#?????????????????????????????????????????????????????
# you probabaly want you$
???????
link_unlink = [ "N0MIS" ]??? # if defined, only these users
can link an$
#??
no_link_unlink = [ "CALL7", "CALL8", "CALL9" ] # if defined,
these users ca$
#?????????????????????????????????????????????????????????????????????????????
$
???????
incoming_ip = "0.0.0.0"???? # incoming ip address, "0.0.0.0"
means acce$
??????? 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 = 20??? # maximum number of linked hotspots
}
?
file = {
???????
status = "/usr/local/etc/rptr_status"? # where repeater
status info is $
??????? DTMF
= "/tmp"????????????????????????? #
???????
echotest = "/tmp"????????????????????? # echo dat files will
end up here
???????
qnvoicefile = /tmp/qnvoice.txt???????? # where qnvoice will
create the $
??????? gwys
= "/usr/local/etc/gwys.txt"?????? # where the list of
gateways and$
???????
announce_dir = "/usr/local/etc"??????? # where are the *.dat
files for $
}
?
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 $
???????????????local_rptr = 1?? # local timeout, in seconds
??????? }
?
??????? play
= {
???????????????
wait = 1????????? # seconds before playback occurs, between
1 a$
???????????????
delay = 19??????? # microseconds between frames playback, if
ec$
??????? }
?
???????
inactivity = {
???????????????
a = 0???????????? # unlink repeater if no activity for this
man$
???????????????
b = 0???????????? # zero mean there will be no timer
???????????????
c = 0
??????? }
?
?
Hi Colby,
Here is the qn.cfg file.
# Qnet Gateway Configuration
ircddb = {
??????? login = "KM6VLB";???? # login callsign for the ircDDB
network
??????? host = "rr.openquad.net"??? # other include
group1-irc.ircddb.net
??????? port = 9007???????????????????????????????????? # not
a good idea to ch$
??????? 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 ur$
??????? local_irc_ip = "0.0.0.0"?? # 0.0.0.0 means accept any
incoming connecti$
??????? 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 unc$
#?????????????? ip = "172.16.0.1" # all icom modules should
have the same IP ad$
#?????????????? port = 20000?????? # all icom modules should
have the same UDP $
#?????????????? frequency = 0????? # in MHz, if you specify
here, this frequenc$
#?????????????? offset = 0
#?????????????? range = 0????????? # the range of this
repeater, in meters. 160$
#?????? agl = 0??????????? # the
height above ground level for this repeater's $
#?????????????? latitude = 0?????? # you can leave this
unspecified for a mobil$
#?????????????? longitude = 0????? # like the latitude
#?????????????? desc1 = ""???????? # maximum of 20 characters,
most special sym$
#?????????????? 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 ad$
??????????????? port = 20319?????? # all icom modules should
have the same UDP $
??????????????? frequency = 448.260
??????????????? offset = 5 Mhz
??????????????? range = 15.0 miles
??????????????? agl = 30.0 ft
??????????????? latitude = 32.0
??????????????? longitude = 127.0
??????????????? desc1 = "La Mesa, CA"
#?????????????? desc2 = ""
??????????????? url = "github.com/n7tae/g2_ircddb"
??????? }
#?????? c = {
#?????????????? type = "icom"
#?????????????? ip = "172.16.0.1" # all icom modules should
have the same IP ad$
#?????????????? port = 20000?????? # all icom modules should
have the same UDP $
#?????????????? 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 = "BXRF072A" # Link to a reflector at
startup.
#???????????????????????????? to link repeater module B to
REF001 C, use "BREF0$
#?????? ref_login = "KM6VLB"???????????? # for loging into REF
reflectors, if u$
??????? admin = [ "N0MIS" ]????????? # only these users can
execute scripts, bl$
#????????????????????????????????????????????????????? # you
probabaly want you$
??????? link_unlink = [ "N0MIS" ]??? # if defined, only these
users can link an$
#?? no_link_unlink = [ "CALL7", "CALL8", "CALL9" ] # if
defined, these users ca$
#?????????????????????????????????????????????????????????????????????????????
$
??????? incoming_ip = "0.0.0.0"???? # incoming ip address,
"0.0.0.0" means acce$
??????? 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 = 20??? # maximum number of linked
hotspots
}
file = {
??????? status = "/usr/local/etc/rptr_status"? # where
repeater status info is $
??????? DTMF = "/tmp"????????????????????????? #
??????? echotest = "/tmp"????????????????????? # echo dat
files will end up here
??????? qnvoicefile = /tmp/qnvoice.txt???????? # where qnvoice
will create the $
??????? gwys = "/usr/local/etc/gwys.txt"?????? # where the
list of gateways and$
??????? announce_dir = "/usr/local/etc"??????? # where are the
*.dat files for $
}
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 $
??????????????? local_rptr = 1?? # local timeout, in seconds
??????? }
??????? play = {
??????????????? wait = 1????????? # seconds before playback
occurs, between 1 a$
??????????????? delay = 19??????? # microseconds between
frames playback, if ec$
??????? }
??????? inactivity = {
??????????????? a = 0???????????? # unlink repeater if no
activity for this man$
??????????????? b = 0???????????? # zero mean there will be no
timer
??????????????? c = 0
??????? }
?????????????????????????????????????????????????????????????????????????????
?
On 09/09/2018 08:06 AM, Colby Ross W1BSB
wrote:
Ok. Send me your qn.cfg file.?
?
On Sun, Sep 9, 2018, 10:53 Nomis
Bayan Jr. <nolyn78@...>
wrote:
HI Colby,
Good Morning. Here is the output.
root@nolyn78dell:/usr/local/bin#
./qngateway /usr/local/etc/qn.cfg
VERSION QnetGateway-7.0.1
Reading file /usr/local/etc/qn.cfg
Parse error at /usr/local/etc/qn.cfg:54 - syntax
error
Failed to process config file /usr/local/etc/qn.cfg
Segmentation fault
?
On 09/09/2018 12:22 AM, Colby
Ross W1BSB wrote:
Type
cd /usr/local/bin and enter the following command:
?
./qngateway
/usr/local/etc/qn.cfg
?
Provide
the output here please, thanks –
?
Colby
?
?
From:
[email protected]
<[email protected]>
On Behalf Of Nomis Bayan Jr.
Sent: Sunday, September 9, 2018 01:01
To: [email protected]
Subject: [QnetGateway] Failure on Qngateway
Service
?
Hello,
I was able to set up the IP address for the 2nd
NIC, as shown below "enp4s0". Ping Gateway
172.16.0.20 and controller 172.16.0.1 all okay.
But failed qngateway.service shown below. Anyone
could provide guidance. Thanks.
root@nolyn78dell:/home/nolyn1978/QnetGateway# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536
qdisc noqueue state UNKNOWN group default qlen 1
??? link/loopback 00:00:00:00:00:00 brd
00:00:00:00:00:00
??? inet
scope host lo
?????? valid_lft forever preferred_lft forever
??? inet6 ::1/128 scope host
?????? valid_lft forever preferred_lft forever
2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP>
mtu 1500 qdisc pfifo_fast state UP group default
qlen 1000
??? link/ether 18:0f:76:cc:18:fa brd
ff:ff:ff:ff:ff:ff
??? inet
brd 172.16.0.255 scope global enp4s0
?????? valid_lft forever preferred_lft forever
??? inet6 fe80::2007:6e18:1a5f:56c9/64 scope link
?????? valid_lft forever preferred_lft forever
3: enp0s25:
<BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
qdisc pfifo_fast state UP group default qlen 1000
??? link/ether 14:fe:b5:df:c6:c2 brd
ff:ff:ff:ff:ff:ff
??? inet
brd 192.168.1.255 scope global dynamic enp0s25
?????? valid_lft 86186sec preferred_lft 86186sec
??? inet6 fe80::16fe:b5ff:fedf:c6c2/64 scope link
?????? valid_lft forever preferred_lft forever
root@nolyn78dell:/home/nolyn1978/QnetGateway#
systemctl status qngateway
● qngateway.service - QnetGateway
?? Loaded: loaded
(/lib/systemd/system/qngateway.service; enabled;
vendor preset: enabled)
?? Active: failed (Result: signal) since Sat
2018-09-08 21:33:44 PDT; 6min ago
? Process: 1409 ExecStart=/usr/local/bin/qngateway
/usr/local/etc/qn.cfg (code=killed, signal=SEGV)
?Main PID: 1409 (code=killed, signal=SEGV)
Sep 08 21:33:44 nolyn78dell systemd[1]:
qngateway.service: Main process exited,
code=killed, status=11/SEGV
Sep 08 21:33:44 nolyn78dell systemd[1]:
qngateway.service: Unit entered failed state.
Sep 08 21:33:44 nolyn78dell systemd[1]:
qngateway.service: Failed with result 'signal'.
Sep 08 21:33:44 nolyn78dell systemd[1]:
qngateway.service: Service hold-off time over,
scheduling restart.
Sep 08 21:33:44 nolyn78dell systemd[1]: Stopped
QnetGateway.
Sep 08 21:33:44 nolyn78dell systemd[1]:
qngateway.service: Start request repeated too
quickly.
Sep 08 21:33:44 nolyn78dell systemd[1]: Failed to
start QnetGateway.
Sep 08 21:33:44 nolyn78dell systemd[1]:
qngateway.service: Unit entered failed state.
Sep 08 21:33:44 nolyn78dell systemd[1]:
qngateway.service: Failed with result 'signal'.
?
?
|
Re: Failure on Qngateway Service
Actually, this is much easier. Use this qn.cfg (I made all the edits) ? # Qnet Gateway Configuration ? ircddb = { ??????? login = "KM6VLB";???? # login callsign for the ircDDB network ? ??????host = "rr.openquad.net"??? # other include group1-irc.ircddb.net ??????? port = 9007???????????????????????????????????? # not a good idea to ch$ ??????? 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 ur$ ??????? local_irc_ip = "0.0.0.0"?? # 0.0.0.0 means accept any incoming connecti$ ??????? 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 unc$ #?????????????? ip = "172.16.0.1" # all icom modules should have the same IP ad$ #?????????????? port = 20000?????? # all icom modules should have the same UDP $ #?????????????? frequency = 0????? # in MHz, if you specify here, this frequenc$ #?????????????? offset = 0 #?????????????? range = 0????????? # the range of this repeater, in meters. 160$ #?????? agl = 0??????????? # the height above ground level for this repeater's $ #?????????????? latitude = 0?????? # you can leave this unspecified for a mobil$ #?????????????? longitude = 0????? # like the latitude #?????????????? desc1 = ""???????? # maximum of 20 characters, most special sym$ #?????????????? 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 ad$ ??????????????? port = 20319?????? # all icom modules should have the same UDP $ ??????????????? frequency = 448.260 ??????????????? offset = 5 ??????????????? range = 15 ??????????????? agl = 30 ??????????????? latitude = 32 ??????????????? longitude = 127 ??????????????? desc1 = "La Mesa, CA" #?????????????? desc2 = "" ??????????????? url = "github.com/n7tae/g2_ircddb" ??????? } ? #?????? c = { #?????????????? type = "icom" #?????????????? ip = "172.16.0.1" # all icom modules should have the same IP ad$ #?????????????? port = 20000?????? # all icom modules should have the same UDP $ #?????????????? 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 = "BXRF072A" # Link to a reflector at startup. #???????????????????????????? to link repeater module B to REF001 C, use "BREF0$ #?????? ref_login = "KM6VLB" ????????????# for loging into REF reflectors, if u$ ??????? admin = [ "N0MIS" ]????????? # only these users can execute scripts, bl$ #????????????????????????????????????????????????????? # you probabaly want you$ ??????? link_unlink = [ "N0MIS" ]??? # if defined, only these users can link an$ #?? no_link_unlink = [ "CALL7", "CALL8", "CALL9" ] # if defined, these users ca$ #????????????????????????????????????????????????????????????????????????????? $ ??????? incoming_ip = "0.0.0.0"???? # incoming ip address, "0.0.0.0" means acce$ ??????? 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 = 20??? # maximum number of linked hotspots } ? file = { ??????? status = "/usr/local/etc/rptr_status"? # where repeater status info is $ ??????? DTMF = "/tmp"????????????????????????? # ??????? echotest = "/tmp"????????????????????? # echo dat files will end up here ??????? qnvoicefile = /tmp/qnvoice.txt???????? # where qnvoice will create the $ ??????? gwys = "/usr/local/etc/gwys.txt"?????? # where the list of gateways and$ ??????? announce_dir = "/usr/local/etc"??????? # where are the *.dat files for $ } ? 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 $ ???????????????local_rptr = 1?? # local timeout, in seconds ??????? } ? ??????? play = { ??????????????? wait = 1????????? # seconds before playback occurs, between 1 a$ ??????????????? delay = 19??????? # microseconds between frames playback, if ec$ ??????? } ? ??????? inactivity = { ??????????????? a = 0???????????? # unlink repeater if no activity for this man$ ??????????????? b = 0???????????? # zero mean there will be no timer ??????????????? c = 0 ??????? } ?
toggle quoted message
Show quoted text
From: [email protected] <[email protected]> On Behalf Of Nomis Bayan Jr. Sent: Sunday, September 9, 2018 11:34 To: [email protected] Subject: Re: [QnetGateway] Failure on Qngateway Service? Hi Colby, Here is the qn.cfg file. # Qnet Gateway Configuration
ircddb = { ??????? login = "KM6VLB";???? # login callsign for the ircDDB network ??????? host = "rr.openquad.net"??? # other include group1-irc.ircddb.net ??????? port = 9007???????????????????????????????????? # not a good idea to ch$ ??????? 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 ur$ ??????? local_irc_ip = "0.0.0.0"?? # 0.0.0.0 means accept any incoming connecti$ ??????? 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 unc$ #?????????????? ip = "172.16.0.1" # all icom modules should have the same IP ad$ #?????????????? port = 20000?????? # all icom modules should have the same UDP $ #?????????????? frequency = 0????? # in MHz, if you specify here, this frequenc$ #?????????????? offset = 0 #?????????????? range = 0????????? # the range of this repeater, in meters. 160$ #?????? agl = 0??????????? # the height above ground level for this repeater's $ #?????????????? latitude = 0?????? # you can leave this unspecified for a mobil$ #?????????????? longitude = 0????? # like the latitude #?????????????? desc1 = ""???????? # maximum of 20 characters, most special sym$ #?????????????? 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 ad$ ??????????????? port = 20319?????? # all icom modules should have the same UDP $ ??????????????? frequency = 448.260 ??????????????? offset = 5 Mhz ??????????????? range = 15.0 miles ??????????????? agl = 30.0 ft ??????????????? latitude = 32.0 ??????????????? longitude = 127.0 ??????????????? desc1 = "La Mesa, CA" #?????????????? desc2 = "" ??????????????? url = "github.com/n7tae/g2_ircddb" ??????? }
#?????? c = { #?????????????? type = "icom" #?????????????? ip = "172.16.0.1" # all icom modules should have the same IP ad$ #?????????????? port = 20000?????? # all icom modules should have the same UDP $ #?????????????? 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 = "BXRF072A" # Link to a reflector at startup. #???????????????????????????? to link repeater module B to REF001 C, use "BREF0$ #?????? ref_login = "KM6VLB"???????????? # for loging into REF reflectors, if u$ ??????? admin = [ "N0MIS" ]????????? # only these users can execute scripts, bl$ #????????????????????????????????????????????????????? # you probabaly want you$ ??????? link_unlink = [ "N0MIS" ]??? # if defined, only these users can link an$ #?? no_link_unlink = [ "CALL7", "CALL8", "CALL9" ] # if defined, these users ca$ #????????????????????????????????????????????????????????????????????????????? $ ??????? incoming_ip = "0.0.0.0"???? # incoming ip address, "0.0.0.0" means acce$ ??????? 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 = 20??? # maximum number of linked hotspots }
file = { ??????? status = "/usr/local/etc/rptr_status"? # where repeater status info is $ ??????? DTMF = "/tmp"????????????????????????? # ??????? echotest = "/tmp"????????????????????? # echo dat files will end up here ??????? qnvoicefile = /tmp/qnvoice.txt???????? # where qnvoice will create the $ ??????? gwys = "/usr/local/etc/gwys.txt"?????? # where the list of gateways and$ ??????? announce_dir = "/usr/local/etc"??????? # where are the *.dat files for $ }
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 $ ??????????????? local_rptr = 1?? # local timeout, in seconds ??????? }
??????? play = { ??????????????? wait = 1????????? # seconds before playback occurs, between 1 a$ ??????????????? delay = 19??????? # microseconds between frames playback, if ec$ ??????? }
??????? inactivity = { ??????????????? a = 0???????????? # unlink repeater if no activity for this man$ ??????????????? b = 0???????????? # zero mean there will be no timer ??????????????? c = 0 ??????? }
?????????????????????????????????????????????????????????????????????????????
? On 09/09/2018 08:06 AM, Colby Ross W1BSB wrote: Ok. Send me your qn.cfg file.? ? On Sun, Sep 9, 2018, 10:53 Nomis Bayan Jr. <nolyn78@...> wrote: HI Colby, Good Morning. Here is the output. root@nolyn78dell:/usr/local/bin# ./qngateway /usr/local/etc/qn.cfg VERSION QnetGateway-7.0.1 Reading file /usr/local/etc/qn.cfg Parse error at /usr/local/etc/qn.cfg:54 - syntax error Failed to process config file /usr/local/etc/qn.cfg Segmentation fault ? On 09/09/2018 12:22 AM, Colby Ross W1BSB wrote: Type cd /usr/local/bin and enter the following command: ? ./qngateway /usr/local/etc/qn.cfg ? Provide the output here please, thanks – ? Colby ? ? From: [email protected] <[email protected]> On Behalf Of Nomis Bayan Jr. Sent: Sunday, September 9, 2018 01:01 To: [email protected] Subject: [QnetGateway] Failure on Qngateway Service ? Hello, I was able to set up the IP address for the 2nd NIC, as shown below "enp4s0". Ping Gateway 172.16.0.20 and controller 172.16.0.1 all okay. But failed qngateway.service shown below. Anyone could provide guidance. Thanks.
root@nolyn78dell:/home/nolyn1978/QnetGateway# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 ??? link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 ??? inet scope host lo ?????? valid_lft forever preferred_lft forever ??? inet6 ::1/128 scope host ?????? valid_lft forever preferred_lft forever 2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 ??? link/ether 18:0f:76:cc:18:fa brd ff:ff:ff:ff:ff:ff ??? inet brd 172.16.0.255 scope global enp4s0 ?????? valid_lft forever preferred_lft forever ??? inet6 fe80::2007:6e18:1a5f:56c9/64 scope link ?????? valid_lft forever preferred_lft forever 3: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 ??? link/ether 14:fe:b5:df:c6:c2 brd ff:ff:ff:ff:ff:ff ??? inet brd 192.168.1.255 scope global dynamic enp0s25 ?????? valid_lft 86186sec preferred_lft 86186sec ??? inet6 fe80::16fe:b5ff:fedf:c6c2/64 scope link ?????? valid_lft forever preferred_lft forever
root@nolyn78dell:/home/nolyn1978/QnetGateway# systemctl status qngateway ● qngateway.service - QnetGateway ?? Loaded: loaded (/lib/systemd/system/qngateway.service; enabled; vendor preset: enabled) ?? Active: failed (Result: signal) since Sat 2018-09-08 21:33:44 PDT; 6min ago ? Process: 1409 ExecStart=/usr/local/bin/qngateway /usr/local/etc/qn.cfg (code=killed, signal=SEGV) ?Main PID: 1409 (code=killed, signal=SEGV)
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Main process exited, code=killed, status=11/SEGV Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Service hold-off time over, scheduling restart. Sep 08 21:33:44 nolyn78dell systemd[1]: Stopped QnetGateway. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Start request repeated too quickly. Sep 08 21:33:44 nolyn78dell systemd[1]: Failed to start QnetGateway. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'.
?
?
|
Re: Failure on Qngateway Service
toggle quoted message
Show quoted text
From: [email protected] <[email protected]> On Behalf Of Nomis Bayan Jr. Sent: Sunday, September 9, 2018 11:34 To: [email protected] Subject: Re: [QnetGateway] Failure on Qngateway Service? Hi Colby, Here is the qn.cfg file. # Qnet Gateway Configuration
ircddb = { ??????? login = "KM6VLB";???? # login callsign for the ircDDB network ??????? host = "rr.openquad.net"??? # other include group1-irc.ircddb.net ??????? port = 9007???????????????????????????????????? # not a good idea to ch$ ??????? 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 ur$ ??????? local_irc_ip = "0.0.0.0"?? # 0.0.0.0 means accept any incoming connecti$ ??????? 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 unc$ #?????????????? ip = "172.16.0.1" # all icom modules should have the same IP ad$ #?????????????? port = 20000?????? # all icom modules should have the same UDP $ #?????????????? frequency = 0????? # in MHz, if you specify here, this frequenc$ #?????????????? offset = 0 #?????????????? range = 0????????? # the range of this repeater, in meters. 160$ #?????? agl = 0??????????? # the height above ground level for this repeater's $ #?????????????? latitude = 0?????? # you can leave this unspecified for a mobil$ #?????????????? longitude = 0????? # like the latitude #?????????????? desc1 = ""???????? # maximum of 20 characters, most special sym$ #?????????????? 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 ad$ ??????????????? port = 20319?????? # all icom modules should have the same UDP $ ??????????????? frequency = 448.260 ??????????????? offset = 5 Mhz ??????????????? range = 15.0 miles ??????????????? agl = 30.0 ft ??????????????? latitude = 32.0 ??????????????? longitude = 127.0 ??????????????? desc1 = "La Mesa, CA" #?????????????? desc2 = "" ??????????????? url = "github.com/n7tae/g2_ircddb" ??????? }
#?????? c = { #?????????????? type = "icom" #?????????????? ip = "172.16.0.1" # all icom modules should have the same IP ad$ #?????????????? port = 20000?????? # all icom modules should have the same UDP $ #?????????????? 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 = "BXRF072A" # Link to a reflector at startup. #???????????????????????????? to link repeater module B to REF001 C, use "BREF0$ #?????? ref_login = "KM6VLB"???????????? # for loging into REF reflectors, if u$ ??????? admin = [ "N0MIS" ]????????? # only these users can execute scripts, bl$ #????????????????????????????????????????????????????? # you probabaly want you$ ??????? link_unlink = [ "N0MIS" ]??? # if defined, only these users can link an$ #?? no_link_unlink = [ "CALL7", "CALL8", "CALL9" ] # if defined, these users ca$ #????????????????????????????????????????????????????????????????????????????? $ ??????? incoming_ip = "0.0.0.0"???? # incoming ip address, "0.0.0.0" means acce$ ??????? 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 = 20??? # maximum number of linked hotspots }
file = { ??????? status = "/usr/local/etc/rptr_status"? # where repeater status info is $ ??????? DTMF = "/tmp"????????????????????????? # ??????? echotest = "/tmp"????????????????????? # echo dat files will end up here ??????? qnvoicefile = /tmp/qnvoice.txt???????? # where qnvoice will create the $ ??????? gwys = "/usr/local/etc/gwys.txt"?????? # where the list of gateways and$ ??????? announce_dir = "/usr/local/etc"??????? # where are the *.dat files for $ }
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 $ ??????????????? local_rptr = 1?? # local timeout, in seconds ??????? }
??????? play = { ??????????????? wait = 1????????? # seconds before playback occurs, between 1 a$ ??????????????? delay = 19??????? # microseconds between frames playback, if ec$ ??????? }
??????? inactivity = { ??????????????? a = 0???????????? # unlink repeater if no activity for this man$ ??????????????? b = 0???????????? # zero mean there will be no timer ??????????????? c = 0 ??????? }
?????????????????????????????????????????????????????????????????????????????
? On 09/09/2018 08:06 AM, Colby Ross W1BSB wrote: Ok. Send me your qn.cfg file.? ? On Sun, Sep 9, 2018, 10:53 Nomis Bayan Jr. <nolyn78@...> wrote: HI Colby, Good Morning. Here is the output. root@nolyn78dell:/usr/local/bin# ./qngateway /usr/local/etc/qn.cfg VERSION QnetGateway-7.0.1 Reading file /usr/local/etc/qn.cfg Parse error at /usr/local/etc/qn.cfg:54 - syntax error Failed to process config file /usr/local/etc/qn.cfg Segmentation fault ? On 09/09/2018 12:22 AM, Colby Ross W1BSB wrote: Type cd /usr/local/bin and enter the following command: ? ./qngateway /usr/local/etc/qn.cfg ? Provide the output here please, thanks – ? Colby ? ? From: [email protected] <[email protected]> On Behalf Of Nomis Bayan Jr. Sent: Sunday, September 9, 2018 01:01 To: [email protected] Subject: [QnetGateway] Failure on Qngateway Service ? Hello, I was able to set up the IP address for the 2nd NIC, as shown below "enp4s0". Ping Gateway 172.16.0.20 and controller 172.16.0.1 all okay. But failed qngateway.service shown below. Anyone could provide guidance. Thanks.
root@nolyn78dell:/home/nolyn1978/QnetGateway# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 ??? link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 ??? inet scope host lo ?????? valid_lft forever preferred_lft forever ??? inet6 ::1/128 scope host ?????? valid_lft forever preferred_lft forever 2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 ??? link/ether 18:0f:76:cc:18:fa brd ff:ff:ff:ff:ff:ff ??? inet brd 172.16.0.255 scope global enp4s0 ?????? valid_lft forever preferred_lft forever ??? inet6 fe80::2007:6e18:1a5f:56c9/64 scope link ?????? valid_lft forever preferred_lft forever 3: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 ??? link/ether 14:fe:b5:df:c6:c2 brd ff:ff:ff:ff:ff:ff ??? inet brd 192.168.1.255 scope global dynamic enp0s25 ?????? valid_lft 86186sec preferred_lft 86186sec ??? inet6 fe80::16fe:b5ff:fedf:c6c2/64 scope link ?????? valid_lft forever preferred_lft forever
root@nolyn78dell:/home/nolyn1978/QnetGateway# systemctl status qngateway ● qngateway.service - QnetGateway ?? Loaded: loaded (/lib/systemd/system/qngateway.service; enabled; vendor preset: enabled) ?? Active: failed (Result: signal) since Sat 2018-09-08 21:33:44 PDT; 6min ago ? Process: 1409 ExecStart=/usr/local/bin/qngateway /usr/local/etc/qn.cfg (code=killed, signal=SEGV) ?Main PID: 1409 (code=killed, signal=SEGV)
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Main process exited, code=killed, status=11/SEGV Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Service hold-off time over, scheduling restart. Sep 08 21:33:44 nolyn78dell systemd[1]: Stopped QnetGateway. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Start request repeated too quickly. Sep 08 21:33:44 nolyn78dell systemd[1]: Failed to start QnetGateway. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'.
?
?
|
Re: Failure on Qngateway Service
Also, remove MHz after the frequency. ? ?
toggle quoted message
Show quoted text
From: [email protected] <[email protected]> On Behalf Of Nomis Bayan Jr. Sent: Sunday, September 9, 2018 11:34 To: [email protected] Subject: Re: [QnetGateway] Failure on Qngateway Service? Hi Colby, Here is the qn.cfg file. # Qnet Gateway Configuration
ircddb = { ??????? login = "KM6VLB";???? # login callsign for the ircDDB network ??????? host = "rr.openquad.net"??? # other include group1-irc.ircddb.net ??????? port = 9007???????????????????????????????????? # not a good idea to ch$ ??????? 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 ur$ ??????? local_irc_ip = "0.0.0.0"?? # 0.0.0.0 means accept any incoming connecti$ ??????? 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 unc$ #?????????????? ip = "172.16.0.1" # all icom modules should have the same IP ad$ #?????????????? port = 20000?????? # all icom modules should have the same UDP $ #?????????????? frequency = 0????? # in MHz, if you specify here, this frequenc$ #?????????????? offset = 0 #?????????????? range = 0????????? # the range of this repeater, in meters. 160$ #?????? agl = 0??????????? # the height above ground level for this repeater's $ #?????????????? latitude = 0?????? # you can leave this unspecified for a mobil$ #?????????????? longitude = 0????? # like the latitude #?????????????? desc1 = ""???????? # maximum of 20 characters, most special sym$ #?????????????? 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 ad$ ??????????????? port = 20319?????? # all icom modules should have the same UDP $ ??????????????? frequency = 448.260 ??????????????? offset = 5 Mhz ??????????????? range = 15.0 miles ??????????????? agl = 30.0 ft ??????????????? latitude = 32.0 ??????????????? longitude = 127.0 ??????????????? desc1 = "La Mesa, CA" #?????????????? desc2 = "" ??????????????? url = "github.com/n7tae/g2_ircddb" ??????? }
#?????? c = { #?????????????? type = "icom" #?????????????? ip = "172.16.0.1" # all icom modules should have the same IP ad$ #?????????????? port = 20000?????? # all icom modules should have the same UDP $ #?????????????? 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 = "BXRF072A" # Link to a reflector at startup. #???????????????????????????? to link repeater module B to REF001 C, use "BREF0$ #?????? ref_login = "KM6VLB"???????????? # for loging into REF reflectors, if u$ ??????? admin = [ "N0MIS" ]????????? # only these users can execute scripts, bl$ #????????????????????????????????????????????????????? # you probabaly want you$ ??????? link_unlink = [ "N0MIS" ]??? # if defined, only these users can link an$ #?? no_link_unlink = [ "CALL7", "CALL8", "CALL9" ] # if defined, these users ca$ #????????????????????????????????????????????????????????????????????????????? $ ??????? incoming_ip = "0.0.0.0"???? # incoming ip address, "0.0.0.0" means acce$ ??????? 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 = 20??? # maximum number of linked hotspots }
file = { ??????? status = "/usr/local/etc/rptr_status"? # where repeater status info is $ ??????? DTMF = "/tmp"????????????????????????? # ??????? echotest = "/tmp"????????????????????? # echo dat files will end up here ??????? qnvoicefile = /tmp/qnvoice.txt???????? # where qnvoice will create the $ ??????? gwys = "/usr/local/etc/gwys.txt"?????? # where the list of gateways and$ ??????? announce_dir = "/usr/local/etc"??????? # where are the *.dat files for $ }
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 $ ??????????????? local_rptr = 1?? # local timeout, in seconds ??????? }
??????? play = { ??????????????? wait = 1????????? # seconds before playback occurs, between 1 a$ ??????????????? delay = 19??????? # microseconds between frames playback, if ec$ ??????? }
??????? inactivity = { ??????????????? a = 0???????????? # unlink repeater if no activity for this man$ ??????????????? b = 0???????????? # zero mean there will be no timer ??????????????? c = 0 ??????? }
?????????????????????????????????????????????????????????????????????????????
? On 09/09/2018 08:06 AM, Colby Ross W1BSB wrote: Ok. Send me your qn.cfg file.? ? On Sun, Sep 9, 2018, 10:53 Nomis Bayan Jr. <nolyn78@...> wrote: HI Colby, Good Morning. Here is the output. root@nolyn78dell:/usr/local/bin# ./qngateway /usr/local/etc/qn.cfg VERSION QnetGateway-7.0.1 Reading file /usr/local/etc/qn.cfg Parse error at /usr/local/etc/qn.cfg:54 - syntax error Failed to process config file /usr/local/etc/qn.cfg Segmentation fault ? On 09/09/2018 12:22 AM, Colby Ross W1BSB wrote: Type cd /usr/local/bin and enter the following command: ? ./qngateway /usr/local/etc/qn.cfg ? Provide the output here please, thanks – ? Colby ? ? From: [email protected] <[email protected]> On Behalf Of Nomis Bayan Jr. Sent: Sunday, September 9, 2018 01:01 To: [email protected] Subject: [QnetGateway] Failure on Qngateway Service ? Hello, I was able to set up the IP address for the 2nd NIC, as shown below "enp4s0". Ping Gateway 172.16.0.20 and controller 172.16.0.1 all okay. But failed qngateway.service shown below. Anyone could provide guidance. Thanks.
root@nolyn78dell:/home/nolyn1978/QnetGateway# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 ??? link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 ??? inet scope host lo ?????? valid_lft forever preferred_lft forever ??? inet6 ::1/128 scope host ?????? valid_lft forever preferred_lft forever 2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 ??? link/ether 18:0f:76:cc:18:fa brd ff:ff:ff:ff:ff:ff ??? inet brd 172.16.0.255 scope global enp4s0 ?????? valid_lft forever preferred_lft forever ??? inet6 fe80::2007:6e18:1a5f:56c9/64 scope link ?????? valid_lft forever preferred_lft forever 3: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 ??? link/ether 14:fe:b5:df:c6:c2 brd ff:ff:ff:ff:ff:ff ??? inet brd 192.168.1.255 scope global dynamic enp0s25 ?????? valid_lft 86186sec preferred_lft 86186sec ??? inet6 fe80::16fe:b5ff:fedf:c6c2/64 scope link ?????? valid_lft forever preferred_lft forever
root@nolyn78dell:/home/nolyn1978/QnetGateway# systemctl status qngateway ● qngateway.service - QnetGateway ?? Loaded: loaded (/lib/systemd/system/qngateway.service; enabled; vendor preset: enabled) ?? Active: failed (Result: signal) since Sat 2018-09-08 21:33:44 PDT; 6min ago ? Process: 1409 ExecStart=/usr/local/bin/qngateway /usr/local/etc/qn.cfg (code=killed, signal=SEGV) ?Main PID: 1409 (code=killed, signal=SEGV)
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Main process exited, code=killed, status=11/SEGV Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Service hold-off time over, scheduling restart. Sep 08 21:33:44 nolyn78dell systemd[1]: Stopped QnetGateway. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Start request repeated too quickly. Sep 08 21:33:44 nolyn78dell systemd[1]: Failed to start QnetGateway. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'.
?
?
|
Re: Failure on Qngateway Service
On line 54 (nano +54 /usr/local/etc/qn.cfg, remove “miles” after 15, it can only be a number. Then, save and exit, and do systemctl restart qngateway qnlink ; journalctl -u qngateway -f and watch it boot up. It should start normally. ? Colby ? ?
toggle quoted message
Show quoted text
From: [email protected] <[email protected]> On Behalf Of Nomis Bayan Jr. Sent: Sunday, September 9, 2018 11:34 To: [email protected] Subject: Re: [QnetGateway] Failure on Qngateway Service? Hi Colby, Here is the qn.cfg file. # Qnet Gateway Configuration
ircddb = { ??????? login = "KM6VLB";???? # login callsign for the ircDDB network ??????? host = "rr.openquad.net"??? # other include group1-irc.ircddb.net ??????? port = 9007???????????????????????????????????? # not a good idea to ch$ ??????? 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 ur$ ??????? local_irc_ip = "0.0.0.0"?? # 0.0.0.0 means accept any incoming connecti$ ??????? 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 unc$ #?????????????? ip = "172.16.0.1" # all icom modules should have the same IP ad$ #?????????????? port = 20000?????? # all icom modules should have the same UDP $ #?????????????? frequency = 0????? # in MHz, if you specify here, this frequenc$ #?????????????? offset = 0 #?????????????? range = 0????????? # the range of this repeater, in meters. 160$ #?????? agl = 0??????????? # the height above ground level for this repeater's $ #?????????????? latitude = 0?????? # you can leave this unspecified for a mobil$ #?????????????? longitude = 0????? # like the latitude #?????????????? desc1 = ""???????? # maximum of 20 characters, most special sym$ #?????????????? 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 ad$ ??????????????? port = 20319?????? # all icom modules should have the same UDP $ ??????????????? frequency = 448.260 ??????????????? offset = 5 Mhz ??????????????? range = 15.0 miles ??????????????? agl = 30.0 ft ??????????????? latitude = 32.0 ??????????????? longitude = 127.0 ??????????????? desc1 = "La Mesa, CA" #?????????????? desc2 = "" ??????????????? url = "github.com/n7tae/g2_ircddb" ??????? }
#?????? c = { #?????????????? type = "icom" #?????????????? ip = "172.16.0.1" # all icom modules should have the same IP ad$ #?????????????? port = 20000?????? # all icom modules should have the same UDP $ #?????????????? 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 = "BXRF072A" # Link to a reflector at startup. #???????????????????????????? to link repeater module B to REF001 C, use "BREF0$ #?????? ref_login = "KM6VLB"???????????? # for loging into REF reflectors, if u$ ??????? admin = [ "N0MIS" ]????????? # only these users can execute scripts, bl$ #????????????????????????????????????????????????????? # you probabaly want you$ ??????? link_unlink = [ "N0MIS" ]??? # if defined, only these users can link an$ #?? no_link_unlink = [ "CALL7", "CALL8", "CALL9" ] # if defined, these users ca$ #????????????????????????????????????????????????????????????????????????????? $ ??????? incoming_ip = "0.0.0.0"???? # incoming ip address, "0.0.0.0" means acce$ ??????? 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 = 20??? # maximum number of linked hotspots }
file = { ??????? status = "/usr/local/etc/rptr_status"? # where repeater status info is $ ??????? DTMF = "/tmp"????????????????????????? # ??????? echotest = "/tmp"????????????????????? # echo dat files will end up here ??????? qnvoicefile = /tmp/qnvoice.txt???????? # where qnvoice will create the $ ??????? gwys = "/usr/local/etc/gwys.txt"?????? # where the list of gateways and$ ??????? announce_dir = "/usr/local/etc"??????? # where are the *.dat files for $ }
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 $ ??????????????? local_rptr = 1?? # local timeout, in seconds ??????? }
??????? play = { ??????????????? wait = 1????????? # seconds before playback occurs, between 1 a$ ??????????????? delay = 19??????? # microseconds between frames playback, if ec$ ??????? }
??????? inactivity = { ??????????????? a = 0???????????? # unlink repeater if no activity for this man$ ??????????????? b = 0???????????? # zero mean there will be no timer ??????????????? c = 0 ??????? }
?????????????????????????????????????????????????????????????????????????????
? On 09/09/2018 08:06 AM, Colby Ross W1BSB wrote: Ok. Send me your qn.cfg file.? ? On Sun, Sep 9, 2018, 10:53 Nomis Bayan Jr. <nolyn78@...> wrote: HI Colby, Good Morning. Here is the output. root@nolyn78dell:/usr/local/bin# ./qngateway /usr/local/etc/qn.cfg VERSION QnetGateway-7.0.1 Reading file /usr/local/etc/qn.cfg Parse error at /usr/local/etc/qn.cfg:54 - syntax error Failed to process config file /usr/local/etc/qn.cfg Segmentation fault ? On 09/09/2018 12:22 AM, Colby Ross W1BSB wrote: Type cd /usr/local/bin and enter the following command: ? ./qngateway /usr/local/etc/qn.cfg ? Provide the output here please, thanks – ? Colby ? ? From: [email protected] <[email protected]> On Behalf Of Nomis Bayan Jr. Sent: Sunday, September 9, 2018 01:01 To: [email protected] Subject: [QnetGateway] Failure on Qngateway Service ? Hello, I was able to set up the IP address for the 2nd NIC, as shown below "enp4s0". Ping Gateway 172.16.0.20 and controller 172.16.0.1 all okay. But failed qngateway.service shown below. Anyone could provide guidance. Thanks.
root@nolyn78dell:/home/nolyn1978/QnetGateway# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 ??? link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 ??? inet scope host lo ?????? valid_lft forever preferred_lft forever ??? inet6 ::1/128 scope host ?????? valid_lft forever preferred_lft forever 2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 ??? link/ether 18:0f:76:cc:18:fa brd ff:ff:ff:ff:ff:ff ??? inet brd 172.16.0.255 scope global enp4s0 ?????? valid_lft forever preferred_lft forever ??? inet6 fe80::2007:6e18:1a5f:56c9/64 scope link ?????? valid_lft forever preferred_lft forever 3: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 ??? link/ether 14:fe:b5:df:c6:c2 brd ff:ff:ff:ff:ff:ff ??? inet brd 192.168.1.255 scope global dynamic enp0s25 ?????? valid_lft 86186sec preferred_lft 86186sec ??? inet6 fe80::16fe:b5ff:fedf:c6c2/64 scope link ?????? valid_lft forever preferred_lft forever
root@nolyn78dell:/home/nolyn1978/QnetGateway# systemctl status qngateway ● qngateway.service - QnetGateway ?? Loaded: loaded (/lib/systemd/system/qngateway.service; enabled; vendor preset: enabled) ?? Active: failed (Result: signal) since Sat 2018-09-08 21:33:44 PDT; 6min ago ? Process: 1409 ExecStart=/usr/local/bin/qngateway /usr/local/etc/qn.cfg (code=killed, signal=SEGV) ?Main PID: 1409 (code=killed, signal=SEGV)
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Main process exited, code=killed, status=11/SEGV Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Service hold-off time over, scheduling restart. Sep 08 21:33:44 nolyn78dell systemd[1]: Stopped QnetGateway. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Start request repeated too quickly. Sep 08 21:33:44 nolyn78dell systemd[1]: Failed to start QnetGateway. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'.
?
?
|
Re: Failure on Qngateway Service
Hi Colby,
Here is the qn.cfg file.
# Qnet Gateway Configuration
ircddb = {
??????? login = "KM6VLB";???? # login callsign for the ircDDB
network
??????? host = "rr.openquad.net"??? # other include
group1-irc.ircddb.net
??????? port = 9007???????????????????????????????????? # not a
good idea to ch$
??????? 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 ur$
??????? local_irc_ip = "0.0.0.0"?? # 0.0.0.0 means accept any
incoming connecti$
??????? 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 unc$
#?????????????? ip = "172.16.0.1" # all icom modules should have
the same IP ad$
#?????????????? port = 20000?????? # all icom modules should have
the same UDP $
#?????????????? frequency = 0????? # in MHz, if you specify here,
this frequenc$
#?????????????? offset = 0
#?????????????? range = 0????????? # the range of this repeater,
in meters. 160$
#?????? agl = 0??????????? # the height above ground level for
this repeater's $
#?????????????? latitude = 0?????? # you can leave this
unspecified for a mobil$
#?????????????? longitude = 0????? # like the latitude
#?????????????? desc1 = ""???????? # maximum of 20 characters,
most special sym$
#?????????????? 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 ad$
??????????????? port = 20319?????? # all icom modules should have
the same UDP $
??????????????? frequency = 448.260
??????????????? offset = 5 Mhz
??????????????? range = 15.0 miles
??????????????? agl = 30.0 ft
??????????????? latitude = 32.0
??????????????? longitude = 127.0
??????????????? desc1 = "La Mesa, CA"
#?????????????? desc2 = ""
??????????????? url = "github.com/n7tae/g2_ircddb"
??????? }
#?????? c = {
#?????????????? type = "icom"
#?????????????? ip = "172.16.0.1" # all icom modules should have
the same IP ad$
#?????????????? port = 20000?????? # all icom modules should have
the same UDP $
#?????????????? 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 = "BXRF072A" # Link to a reflector at
startup.
#???????????????????????????? to link repeater module B to REF001
C, use "BREF0$
#?????? ref_login = "KM6VLB"???????????? # for loging into REF
reflectors, if u$
??????? admin = [ "N0MIS" ]????????? # only these users can
execute scripts, bl$
#????????????????????????????????????????????????????? # you
probabaly want you$
??????? link_unlink = [ "N0MIS" ]??? # if defined, only these
users can link an$
#?? no_link_unlink = [ "CALL7", "CALL8", "CALL9" ] # if defined,
these users ca$
#?????????????????????????????????????????????????????????????????????????????
$
??????? incoming_ip = "0.0.0.0"???? # incoming ip address,
"0.0.0.0" means acce$
??????? 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 = 20??? # maximum number of linked hotspots
}
file = {
??????? status = "/usr/local/etc/rptr_status"? # where repeater
status info is $
??????? DTMF = "/tmp"????????????????????????? #
??????? echotest = "/tmp"????????????????????? # echo dat files
will end up here
??????? qnvoicefile = /tmp/qnvoice.txt???????? # where qnvoice
will create the $
??????? gwys = "/usr/local/etc/gwys.txt"?????? # where the list of
gateways and$
??????? announce_dir = "/usr/local/etc"??????? # where are the
*.dat files for $
}
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 $
??????????????? local_rptr = 1?? # local timeout, in seconds
??????? }
??????? play = {
??????????????? wait = 1????????? # seconds before playback
occurs, between 1 a$
??????????????? delay = 19??????? # microseconds between frames
playback, if ec$
??????? }
??????? inactivity = {
??????????????? a = 0???????????? # unlink repeater if no activity
for this man$
??????????????? b = 0???????????? # zero mean there will be no
timer
??????????????? c = 0
??????? }
?????????????????????????????????????????????????????????????????????????????
On 09/09/2018 08:06 AM, Colby Ross
W1BSB wrote:
toggle quoted message
Show quoted text
Ok. Send me your qn.cfg file.?
On Sun, Sep 9, 2018, 10:53 Nomis Bayan Jr. < nolyn78@...>
wrote:
HI Colby,
Good Morning. Here is the output.
root@nolyn78dell:/usr/local/bin# ./qngateway
/usr/local/etc/qn.cfg
VERSION QnetGateway-7.0.1
Reading file /usr/local/etc/qn.cfg
Parse error at /usr/local/etc/qn.cfg:54 - syntax error
Failed to process config file /usr/local/etc/qn.cfg
Segmentation fault
On
09/09/2018 12:22 AM, Colby Ross W1BSB wrote:
Type cd /usr/local/bin and enter
the following command:
?
./qngateway /usr/local/etc/qn.cfg
?
Provide the output here please,
thanks –
?
Colby
?
?
From: [email protected]
<[email protected]>
On Behalf Of Nomis Bayan Jr.
Sent: Sunday, September 9, 2018 01:01
To: [email protected]
Subject: [QnetGateway] Failure on Qngateway
Service
?
Hello,
I was able to set up the IP address for the 2nd NIC,
as shown below "enp4s0". Ping Gateway 172.16.0.20 and
controller 172.16.0.1 all okay. But failed
qngateway.service shown below. Anyone could provide
guidance. Thanks.
root@nolyn78dell:/home/nolyn1978/QnetGateway# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc
noqueue state UNKNOWN group default qlen 1
??? link/loopback 00:00:00:00:00:00 brd
00:00:00:00:00:00
??? inet
scope host lo
?????? valid_lft forever preferred_lft forever
??? inet6 ::1/128 scope host
?????? valid_lft forever preferred_lft forever
2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu
1500 qdisc pfifo_fast state UP group default qlen 1000
??? link/ether 18:0f:76:cc:18:fa brd ff:ff:ff:ff:ff:ff
??? inet brd
172.16.0.255 scope global enp4s0
?????? valid_lft forever preferred_lft forever
??? inet6 fe80::2007:6e18:1a5f:56c9/64 scope link
?????? valid_lft forever preferred_lft forever
3: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP>
mtu 1500 qdisc pfifo_fast state UP group default qlen
1000
??? link/ether 14:fe:b5:df:c6:c2 brd ff:ff:ff:ff:ff:ff
??? inet brd
192.168.1.255 scope global dynamic enp0s25
?????? valid_lft 86186sec preferred_lft 86186sec
??? inet6 fe80::16fe:b5ff:fedf:c6c2/64 scope link
?????? valid_lft forever preferred_lft forever
root@nolyn78dell:/home/nolyn1978/QnetGateway#
systemctl status qngateway
● qngateway.service - QnetGateway
?? Loaded: loaded
(/lib/systemd/system/qngateway.service; enabled;
vendor preset: enabled)
?? Active: failed (Result: signal) since Sat
2018-09-08 21:33:44 PDT; 6min ago
? Process: 1409 ExecStart=/usr/local/bin/qngateway
/usr/local/etc/qn.cfg (code=killed, signal=SEGV)
?Main PID: 1409 (code=killed, signal=SEGV)
Sep 08 21:33:44 nolyn78dell systemd[1]:
qngateway.service: Main process exited, code=killed,
status=11/SEGV
Sep 08 21:33:44 nolyn78dell systemd[1]:
qngateway.service: Unit entered failed state.
Sep 08 21:33:44 nolyn78dell systemd[1]:
qngateway.service: Failed with result 'signal'.
Sep 08 21:33:44 nolyn78dell systemd[1]:
qngateway.service: Service hold-off time over,
scheduling restart.
Sep 08 21:33:44 nolyn78dell systemd[1]: Stopped
QnetGateway.
Sep 08 21:33:44 nolyn78dell systemd[1]:
qngateway.service: Start request repeated too quickly.
Sep 08 21:33:44 nolyn78dell systemd[1]: Failed to
start QnetGateway.
Sep 08 21:33:44 nolyn78dell systemd[1]:
qngateway.service: Unit entered failed state.
Sep 08 21:33:44 nolyn78dell systemd[1]:
qngateway.service: Failed with result 'signal'.
|
Re: Failure on Qngateway Service
Ok. Send me your qn.cfg file.?
toggle quoted message
Show quoted text
On Sun, Sep 9, 2018, 10:53 Nomis Bayan Jr. < nolyn78@...> wrote:
HI Colby,
Good Morning. Here is the output.
root@nolyn78dell:/usr/local/bin# ./qngateway
/usr/local/etc/qn.cfg
VERSION QnetGateway-7.0.1
Reading file /usr/local/etc/qn.cfg
Parse error at /usr/local/etc/qn.cfg:54 - syntax error
Failed to process config file /usr/local/etc/qn.cfg
Segmentation fault
On 09/09/2018 12:22 AM, Colby Ross
W1BSB wrote:
Type cd /usr/local/bin and enter the
following command:
?
./qngateway /usr/local/etc/qn.cfg
?
Provide the output here please, thanks –
?
Colby
?
?
From: [email protected]
<[email protected]> On Behalf Of Nomis
Bayan Jr.
Sent: Sunday, September 9, 2018 01:01
To: [email protected]
Subject: [QnetGateway] Failure on Qngateway Service
?
Hello,
I was able to set up the IP address for the 2nd NIC, as shown
below "enp4s0". Ping Gateway 172.16.0.20 and controller
172.16.0.1 all okay. But failed qngateway.service shown below.
Anyone could provide guidance. Thanks.
root@nolyn78dell:/home/nolyn1978/QnetGateway# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue
state UNKNOWN group default qlen 1
??? link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
??? inet scope host lo
?????? valid_lft forever preferred_lft forever
??? inet6 ::1/128 scope host
?????? valid_lft forever preferred_lft forever
2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
qdisc pfifo_fast state UP group default qlen 1000
??? link/ether 18:0f:76:cc:18:fa brd ff:ff:ff:ff:ff:ff
??? inet brd 172.16.0.255 scope global enp4s0
?????? valid_lft forever preferred_lft forever
??? inet6 fe80::2007:6e18:1a5f:56c9/64 scope link
?????? valid_lft forever preferred_lft forever
3: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
qdisc pfifo_fast state UP group default qlen 1000
??? link/ether 14:fe:b5:df:c6:c2 brd ff:ff:ff:ff:ff:ff
??? inet brd 192.168.1.255 scope global
dynamic enp0s25
?????? valid_lft 86186sec preferred_lft 86186sec
??? inet6 fe80::16fe:b5ff:fedf:c6c2/64 scope link
?????? valid_lft forever preferred_lft forever
root@nolyn78dell:/home/nolyn1978/QnetGateway# systemctl status
qngateway
● qngateway.service - QnetGateway
?? Loaded: loaded (/lib/systemd/system/qngateway.service;
enabled; vendor preset: enabled)
?? Active: failed (Result: signal) since Sat 2018-09-08
21:33:44 PDT; 6min ago
? Process: 1409 ExecStart=/usr/local/bin/qngateway
/usr/local/etc/qn.cfg (code=killed, signal=SEGV)
?Main PID: 1409 (code=killed, signal=SEGV)
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service:
Main process exited, code=killed, status=11/SEGV
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service:
Unit entered failed state.
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service:
Failed with result 'signal'.
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service:
Service hold-off time over, scheduling restart.
Sep 08 21:33:44 nolyn78dell systemd[1]: Stopped QnetGateway.
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service:
Start request repeated too quickly.
Sep 08 21:33:44 nolyn78dell systemd[1]: Failed to start
QnetGateway.
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service:
Unit entered failed state.
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service:
Failed with result 'signal'.
|
Re: Failure on Qngateway Service
HI Colby,
Good Morning. Here is the output.
root@nolyn78dell:/usr/local/bin# ./qngateway
/usr/local/etc/qn.cfg
VERSION QnetGateway-7.0.1
Reading file /usr/local/etc/qn.cfg
Parse error at /usr/local/etc/qn.cfg:54 - syntax error
Failed to process config file /usr/local/etc/qn.cfg
Segmentation fault
On 09/09/2018 12:22 AM, Colby Ross
W1BSB wrote:
toggle quoted message
Show quoted text
Type cd /usr/local/bin and enter the
following command:
?
./qngateway /usr/local/etc/qn.cfg
?
Provide the output here please, thanks –
?
Colby
?
?
From: [email protected]
<[email protected]> On Behalf Of Nomis
Bayan Jr.
Sent: Sunday, September 9, 2018 01:01
To: [email protected]
Subject: [QnetGateway] Failure on Qngateway Service
?
Hello,
I was able to set up the IP address for the 2nd NIC, as shown
below "enp4s0". Ping Gateway 172.16.0.20 and controller
172.16.0.1 all okay. But failed qngateway.service shown below.
Anyone could provide guidance. Thanks.
root@nolyn78dell:/home/nolyn1978/QnetGateway# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue
state UNKNOWN group default qlen 1
??? link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
??? inet 127.0.0.1/8 scope host lo
?????? valid_lft forever preferred_lft forever
??? inet6 ::1/128 scope host
?????? valid_lft forever preferred_lft forever
2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
qdisc pfifo_fast state UP group default qlen 1000
??? link/ether 18:0f:76:cc:18:fa brd ff:ff:ff:ff:ff:ff
??? inet 172.16.0.20/24 brd 172.16.0.255 scope global enp4s0
?????? valid_lft forever preferred_lft forever
??? inet6 fe80::2007:6e18:1a5f:56c9/64 scope link
?????? valid_lft forever preferred_lft forever
3: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
qdisc pfifo_fast state UP group default qlen 1000
??? link/ether 14:fe:b5:df:c6:c2 brd ff:ff:ff:ff:ff:ff
??? inet 192.168.1.170/24 brd 192.168.1.255 scope global
dynamic enp0s25
?????? valid_lft 86186sec preferred_lft 86186sec
??? inet6 fe80::16fe:b5ff:fedf:c6c2/64 scope link
?????? valid_lft forever preferred_lft forever
root@nolyn78dell:/home/nolyn1978/QnetGateway# systemctl status
qngateway
● qngateway.service - QnetGateway
?? Loaded: loaded (/lib/systemd/system/qngateway.service;
enabled; vendor preset: enabled)
?? Active: failed (Result: signal) since Sat 2018-09-08
21:33:44 PDT; 6min ago
? Process: 1409 ExecStart=/usr/local/bin/qngateway
/usr/local/etc/qn.cfg (code=killed, signal=SEGV)
?Main PID: 1409 (code=killed, signal=SEGV)
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service:
Main process exited, code=killed, status=11/SEGV
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service:
Unit entered failed state.
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service:
Failed with result 'signal'.
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service:
Service hold-off time over, scheduling restart.
Sep 08 21:33:44 nolyn78dell systemd[1]: Stopped QnetGateway.
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service:
Start request repeated too quickly.
Sep 08 21:33:44 nolyn78dell systemd[1]: Failed to start
QnetGateway.
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service:
Unit entered failed state.
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service:
Failed with result 'signal'.
|
Re: Failure on Qngateway Service
Type cd /usr/local/bin and enter the following command: ? ./qngateway /usr/local/etc/qn.cfg ? Provide the output here please, thanks – ? Colby ? ?
toggle quoted message
Show quoted text
From: [email protected] <[email protected]> On Behalf Of Nomis Bayan Jr. Sent: Sunday, September 9, 2018 01:01 To: [email protected] Subject: [QnetGateway] Failure on Qngateway Service ? Hello, I was able to set up the IP address for the 2nd NIC, as shown below "enp4s0". Ping Gateway 172.16.0.20 and controller 172.16.0.1 all okay. But failed qngateway.service shown below. Anyone could provide guidance. Thanks.
root@nolyn78dell:/home/nolyn1978/QnetGateway# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 ??? link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 ??? inet 127.0.0.1/8 scope host lo ?????? valid_lft forever preferred_lft forever ??? inet6 ::1/128 scope host ?????? valid_lft forever preferred_lft forever 2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 ??? link/ether 18:0f:76:cc:18:fa brd ff:ff:ff:ff:ff:ff ??? inet 172.16.0.20/24 brd 172.16.0.255 scope global enp4s0 ?????? valid_lft forever preferred_lft forever ??? inet6 fe80::2007:6e18:1a5f:56c9/64 scope link ?????? valid_lft forever preferred_lft forever 3: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 ??? link/ether 14:fe:b5:df:c6:c2 brd ff:ff:ff:ff:ff:ff ??? inet 192.168.1.170/24 brd 192.168.1.255 scope global dynamic enp0s25 ?????? valid_lft 86186sec preferred_lft 86186sec ??? inet6 fe80::16fe:b5ff:fedf:c6c2/64 scope link ?????? valid_lft forever preferred_lft forever
root@nolyn78dell:/home/nolyn1978/QnetGateway# systemctl status qngateway ● qngateway.service - QnetGateway ?? Loaded: loaded (/lib/systemd/system/qngateway.service; enabled; vendor preset: enabled) ?? Active: failed (Result: signal) since Sat 2018-09-08 21:33:44 PDT; 6min ago ? Process: 1409 ExecStart=/usr/local/bin/qngateway /usr/local/etc/qn.cfg (code=killed, signal=SEGV) ?Main PID: 1409 (code=killed, signal=SEGV)
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Main process exited, code=killed, status=11/SEGV Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Service hold-off time over, scheduling restart. Sep 08 21:33:44 nolyn78dell systemd[1]: Stopped QnetGateway. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Start request repeated too quickly. Sep 08 21:33:44 nolyn78dell systemd[1]: Failed to start QnetGateway. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'.
|
Failure on Qngateway Service
Hello, I was able to set up the IP address for the 2nd NIC, as shown below "enp4s0". Ping Gateway 172.16.0.20 and controller 172.16.0.1 all okay. But failed qngateway.service shown below. Anyone could provide guidance. Thanks.
root@nolyn78dell:/home/nolyn1978/QnetGateway# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 ??? link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 ??? inet 127.0.0.1/8 scope host lo ?????? valid_lft forever preferred_lft forever ??? inet6 ::1/128 scope host ?????? valid_lft forever preferred_lft forever 2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 ??? link/ether 18:0f:76:cc:18:fa brd ff:ff:ff:ff:ff:ff ??? inet 172.16.0.20/24 brd 172.16.0.255 scope global enp4s0 ?????? valid_lft forever preferred_lft forever ??? inet6 fe80::2007:6e18:1a5f:56c9/64 scope link ?????? valid_lft forever preferred_lft forever 3: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 ??? link/ether 14:fe:b5:df:c6:c2 brd ff:ff:ff:ff:ff:ff ??? inet 192.168.1.170/24 brd 192.168.1.255 scope global dynamic enp0s25 ?????? valid_lft 86186sec preferred_lft 86186sec ??? inet6 fe80::16fe:b5ff:fedf:c6c2/64 scope link ?????? valid_lft forever preferred_lft forever
root@nolyn78dell:/home/nolyn1978/QnetGateway# systemctl status qngateway ● qngateway.service - QnetGateway ?? Loaded: loaded (/lib/systemd/system/qngateway.service; enabled; vendor preset: enabled) ?? Active: failed (Result: signal) since Sat 2018-09-08 21:33:44 PDT; 6min ago ? Process: 1409 ExecStart=/usr/local/bin/qngateway /usr/local/etc/qn.cfg (code=killed, signal=SEGV) ?Main PID: 1409 (code=killed, signal=SEGV)
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Main process exited, code=killed, status=11/SEGV Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Service hold-off time over, scheduling restart. Sep 08 21:33:44 nolyn78dell systemd[1]: Stopped QnetGateway. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Start request repeated too quickly. Sep 08 21:33:44 nolyn78dell systemd[1]: Failed to start QnetGateway. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state. Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'.
|
Re: Gateway - Raspberry Pi 3 -need help
Hi Colby,
Good morning. Here is the info on the etc/network/interfaces. I
will in and out from my computer room, doing honey do's? on the
weekend and make sure my radio privileges is not taken
away...Delay on my response. Thanks you.
# This file describes the network interfaces available on your
system
# and how to activate them. For more information, see
interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
On 09/07/2018 11:26 PM, Colby Ross
W1BSB wrote:
toggle quoted message
Show quoted text
Show me your /etc/network/interfaces
?
Enp4s0 has no ip address assigned to it, so
this will have to happen before your setup will work. ?This
typically takes place in /etc/network/interfaces so send me
the contents and I’ll modify it and send it back to you.
?
Colby
?
?
From: [email protected]
<[email protected]> On Behalf Of Nomis
Bayan Jr.
Sent: Saturday, September 8, 2018 01:18
To: [email protected]
Subject: Re: [QnetGateway] Gateway - Raspberry Pi 3
-need help
?
I was
able to get another computer and set up the QnetGateway
and here are the "ip a". The enp0s25 was connected from
the router to the gateway and the enp4s0 was connected
from controller to the gateway.
root@nolyn78dell:/home/nolyn1978# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc
noqueue state UNKNOWN group default qlen 1
??? link/loopback 00:00:00:00:00:00 brd
00:00:00:00:00:00
??? inet scope host lo
?????? valid_lft forever preferred_lft forever
??? inet6 ::1/128 scope host
?????? valid_lft forever preferred_lft forever
2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu
1500 qdisc pfifo_fast state UP group default qlen 1000
??? link/ether 18:0f:76:cc:18:fa brd ff:ff:ff:ff:ff:ff
3: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu
1500 qdisc pfifo_fast state UP group default qlen 1000
??? link/ether 14:fe:b5:df:c6:c2 brd ff:ff:ff:ff:ff:ff
??? inet brd
192.168.1.255 scope global dynamic enp0s25
?????? valid_lft 85833sec preferred_lft 85833sec
??? inet6 fe80::16fe:b5ff:fedf:c6c2/64 scope link
?????? valid_lft forever preferred_lft forever
root@nolyn78dell:/home/nolyn1978/QnetGateway# make
installicom
######### QnetGateway #########
/bin/cp -f qngateway /usr/local/bin
/bin/cp -f qnremote qnvoice /usr/local/bin
/bin/ln -s /home/nolyn1978/QnetGateway/qn.cfg
/usr/local/etc
/bin/cp -f system/qngateway.service /lib/systemd/system
systemctl enable qngateway.service
Created symlink
/etc/systemd/system/multi-user.target.wants/qngateway.service
→ /lib/systemd/system/qngateway.service.
systemctl daemon-reload
systemctl start qngateway.service
######### QnetLink #########
/bin/cp -f qnlink /usr/local/bin
/bin/cp -f announce/*.dat /usr/local/etc
/bin/ln -s /home/nolyn1978/QnetGateway/gwys.txt
/usr/local/etc
/bin/cp -f exec_?.sh /usr/local/etc
/bin/cp -f system/qnlink.service /lib/systemd/system
systemctl enable qnlink.service
Created symlink
/etc/systemd/system/multi-user.target.wants/qnlink.service
→ /lib/systemd/system/qnlink.service.
systemctl daemon-reload
systemctl start qnlink.service
root@nolyn78dell:/home/nolyn1978/QnetGateway#
?
On Wed, Sep 5, 2018 at 9:20 PM Colby
Ross W1BSB <colbypr@...> wrote:
Try
sudo make uninstallicom and then sudo make installicom
?
From:
[email protected]
<[email protected]>
On Behalf Of Nomis Bayan Jr.
Sent: Thursday, September 6, 2018 00:19
To: [email protected]
Subject: [QnetGateway] Gateway - Raspberry Pi 3
-need help
?
Results
after running sudo make installicom:
pi@raspberrypi:~/QnetGateway $ sudo make installicom
#########
QnetGateway #########
/bin/cp
-f qngateway /usr/local/bin
/bin/cp
-f qnremote qnvoice /usr/local/bin
/bin/ln
-s /home/pi/QnetGateway/qn.cfg /usr/local/etc
/bin/ln:
failed to create symbolic link
'/usr/local/etc/qn.cfg': File exists
Makefile:139:
recipe for target 'installicom' failed
make:
*** [installicom] Error 1
pi@raspberrypi:~/QnetGateway
$?
--
|
Re: Gateway - Raspberry Pi 3 -need help
Show me your /etc/network/interfaces ? Enp4s0 has no ip address assigned to it, so this will have to happen before your setup will work. ?This typically takes place in /etc/network/interfaces so send me the contents and I’ll modify it and send it back to you. ? Colby ? ?
toggle quoted message
Show quoted text
From: [email protected] <[email protected]> On Behalf Of Nomis Bayan Jr. Sent: Saturday, September 8, 2018 01:18 To: [email protected] Subject: Re: [QnetGateway] Gateway - Raspberry Pi 3 -need help ? I was able to get another computer and set up the QnetGateway and here are the "ip a". The enp0s25 was connected from the router to the gateway and the enp4s0 was connected from controller to the gateway.
root@nolyn78dell:/home/nolyn1978# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 ??? link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 ??? inet scope host lo ?????? valid_lft forever preferred_lft forever ??? inet6 ::1/128 scope host ?????? valid_lft forever preferred_lft forever 2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 ??? link/ether 18:0f:76:cc:18:fa brd ff:ff:ff:ff:ff:ff 3: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 ??? link/ether 14:fe:b5:df:c6:c2 brd ff:ff:ff:ff:ff:ff ??? inet brd 192.168.1.255 scope global dynamic enp0s25 ?????? valid_lft 85833sec preferred_lft 85833sec ??? inet6 fe80::16fe:b5ff:fedf:c6c2/64 scope link ?????? valid_lft forever preferred_lft forever
root@nolyn78dell:/home/nolyn1978/QnetGateway# make installicom ######### QnetGateway ######### /bin/cp -f qngateway /usr/local/bin /bin/cp -f qnremote qnvoice /usr/local/bin /bin/ln -s /home/nolyn1978/QnetGateway/qn.cfg /usr/local/etc /bin/cp -f system/qngateway.service /lib/systemd/system systemctl enable qngateway.service Created symlink /etc/systemd/system/multi-user.target.wants/qngateway.service → /lib/systemd/system/qngateway.service. systemctl daemon-reload systemctl start qngateway.service ######### QnetLink ######### /bin/cp -f qnlink /usr/local/bin /bin/cp -f announce/*.dat /usr/local/etc /bin/ln -s /home/nolyn1978/QnetGateway/gwys.txt /usr/local/etc /bin/cp -f exec_?.sh /usr/local/etc /bin/cp -f system/qnlink.service /lib/systemd/system systemctl enable qnlink.service Created symlink /etc/systemd/system/multi-user.target.wants/qnlink.service → /lib/systemd/system/qnlink.service. systemctl daemon-reload systemctl start qnlink.service root@nolyn78dell:/home/nolyn1978/QnetGateway#
? On Wed, Sep 5, 2018 at 9:20 PM Colby Ross W1BSB <colbypr@...> wrote: Try sudo make uninstallicom and then sudo make installicom ? From: [email protected] <[email protected]> On Behalf Of Nomis Bayan Jr. Sent: Thursday, September 6, 2018 00:19 To: [email protected] Subject: [QnetGateway] Gateway - Raspberry Pi 3 -need help ? Results after running sudo make installicom:
pi@raspberrypi:~/QnetGateway $ sudo make installicom ######### QnetGateway ######### /bin/cp -f qngateway /usr/local/bin /bin/cp -f qnremote qnvoice /usr/local/bin /bin/ln -s /home/pi/QnetGateway/qn.cfg /usr/local/etc /bin/ln: failed to create symbolic link '/usr/local/etc/qn.cfg': File exists Makefile:139: recipe for target 'installicom' failed make: *** [installicom] Error 1 pi@raspberrypi:~/QnetGateway $?
--
|