Keyboard Shortcuts
Likes
- QnetGateway
- Messages
Search
Recent git pull fails to install
I did a git pull today to see if there were any updates. Foolish, I know.? Anyway, it now fails to compile and install. I use ./qnadmin to compile and it clears the screen so I don't have much to go on other than nothing being installed. Is there a logfile I should look for or can I just run make from the main directory and pastebin the output? What I know about programming would fit in a thimble with room to spare, otherwise I could go hunting for the error and offer up a fix.
Thanks Fred - N2NRV |
Re: New pi dvap install can't link with radio
The 2820 call sign menu has YOUR=CQCQCQ, RPT1=N0KBL ?C, RPT2=N0KBL ?G, MY= N0KBL ? ?/2820 and it's in simplex mode, no DUP+ or DUP-. ?
I'll give it a try with my ID-51. I think I'll have to get the programming software out to set that up. ?I haven't been able to figure out how to set RPT1 and RPT2 through the radio interface. Thanks -Brian |
Re: New pi dvap install can't link with radio
Ah, okay. Those "DIRECT" on rpt1 and rpt2 on your 2820 means you using "Local CQ" in your To field. You should be using the Repeater->Use Repeater CQCQCQ on your 2820. And you need to make sure that your From hot-spot setup is using either DUP+ or DUP- with a zero offset, otherwise your 2820 will revert back to DIRECT. I've never used a 2820, so I'm not sure of the specifics for that radio.
On newer Icom radios there is a "Call Sign" menu item in the main menu that will show you UR, R1, R2, and My so you can see what will be in your header packet. qngateway is suppose to automatically fix DIRECT repeater entries in the header packet, but I see there is a bug in it, so it's not working for you. I pushed up a new qndvap version that should fix this, but you should properly configure your 2820 to use your dvap properly. |
Re: New pi dvap install can't link with radio
I forgot to include some some traffic in the log: Mar 20 17:19:25 raspberrypi systemd[1]: Started QnetDVAP. Mar 20 17:19:25 raspberrypi qndvap[29907]: QnetDVAP-20307 Mar 20 17:19:25 raspberrypi qndvap[29907]: Reading file /usr/local/etc/qn.cfg Mar 20 17:19:25 raspberrypi qndvap[29907]: module_c = 'dvap' Mar 20 17:19:25 raspberrypi qndvap[29907]: gateway_tomodemc = 'tomodemc' Mar 20 17:19:25 raspberrypi qndvap[29907]: module_c_callsign = 'N0KBL' Mar 20 17:19:25 raspberrypi qndvap[29907]: ircddb_login = 'N0KBL' Mar 20 17:19:25 raspberrypi qndvap[29907]: module_c_serial_number = 'AP062470' Mar 20 17:19:25 raspberrypi qndvap[29907]: module_c_device = '' Mar 20 17:19:25 raspberrypi qndvap[29907]: module_c_frequency = 145.635 Mar 20 17:19:25 raspberrypi qndvap[29907]: module_c_power = 10 Mar 20 17:19:25 raspberrypi qndvap[29907]: module_c_squelch = -100 Mar 20 17:19:25 raspberrypi qndvap[29907]: module_c_offset = 0 Mar 20 17:19:25 raspberrypi qndvap[29907]: module_c_packet_wait = 25 Mar 20 17:19:25 raspberrypi qndvap[29907]: module_c_acknowledge = false Mar 20 17:19:25 raspberrypi qndvap[29907]: timing_timeout_remote_g2 = 2 Mar 20 17:19:25 raspberrypi qndvap[29907]: timing_timeout_local_rptr = 1 Mar 20 17:19:25 raspberrypi qndvap[29907]: timing_play_delay = 19 Mar 20 17:19:25 raspberrypi qndvap[29907]: timing_play_wait = 1 Mar 20 17:19:25 raspberrypi qndvap[29907]: Max loops = 80 Mar 20 17:19:25 raspberrypi qndvap[29907]: log_qso = true Mar 20 17:19:25 raspberrypi qndvap[29907]: log_debug = true Mar 20 17:19:25 raspberrypi qndvap[29907]: Trying device /dev/ttyUSB0... Mar 20 17:19:25 raspberrypi qndvap[29907]: Device /dev/ttyUSB0 is now locked for exclusive use Mar 20 17:19:25 raspberrypi qndvap[29907]: Using /dev/ttyUSB0:? AP062470, because serial number matches your configuration file Mar 20 17:19:25 raspberrypi qndvap[29907]: Device name: DVAP Dongle Mar 20 17:19:25 raspberrypi qndvap[29907]: dvap fw ver: 1.7 Mar 20 17:19:25 raspberrypi qndvap[29907]: DVAP squelch is -100 dB Mar 20 17:19:25 raspberrypi qndvap[29907]: DVAP power is 10 dB Mar 20 17:19:25 raspberrypi qndvap[29907]: DVAP offset is 0 Hz Mar 20 17:19:25 raspberrypi qndvap[29907]: DVAP Frequency limits are from 144000000 to 148000000 Hz Mar 20 17:19:25 raspberrypi qndvap[29907]: DVAP frequency is 145635000 Hz Mar 20 17:19:25 raspberrypi qndvap[29907]: DVAP opened and initialized! Mar 20 17:19:25 raspberrypi qndvap[29907]: Started ReadDVAPThread() Mar 20 17:23:09 raspberrypi qndvap[29907]: From DVAP: flags=00:00:00, my=N0KBL ? , sfx=2820, ur=CQCQCQ? , rpt1=DIRECT? , rpt2=DIRECT Mar 20 17:23:11 raspberrypi qndvap[29907]: End of dvap audio,? ber=0.34 Mar 20 17:24:06 raspberrypi qndvap[29907]: From DVAP: flags=00:00:00, my=N0KBL ? , sfx=2820, ur=CQCQCQ? , rpt1=DIRECT? , rpt2=DIRECT Mar 20 17:24:09 raspberrypi qndvap[29907]: End of dvap audio,? ber=0.20 Mar 20 17:24:10 raspberrypi qndvap[29907]: Start G2: streamid=1fc4, flags=01:00:00, my=N0KBL? C, sfx=RPTR, ur=CQCQCQ? , rpt1=N0KBL? C, rpt2=N0KBL? G Mar 20 17:24:10 raspberrypi qndvap[29907]: End G2: streamid=1fc4 Mar 20 17:25:20 raspberrypi qndvap[29907]: Start G2: streamid=35d1, flags=00:00:00, my=KE8TVR? , sfx=5100, ur=CQCQCQ? , rpt1=N0KBL? C, rpt2=N0KBL? G Mar 20 17:25:27 raspberrypi qndvap[29907]: End G2: streamid=35d1 Mar 20 17:25:49 raspberrypi qndvap[29907]: Start G2: streamid=a8b9, flags=00:00:00, my=VA3KSF? , sfx=DVAP, ur=CQCQCQ? , rpt1=N0KBL? C, rpt2=N0KBL? G Mar 20 17:25:49 raspberrypi qndvap[29907]: End G2: streamid=a8b9 Mar 20 17:26:10 raspberrypi qndvap[29907]: Start G2: streamid=be09, flags=00:00:00, my=KE8TVR? , sfx=5100, ur=CQCQCQ? , rpt1=N0KBL? C, rpt2=N0KBL? G Mar 20 17:26:16 raspberrypi qndvap[29907]: End G2: streamid=be09 Mar 20 17:30:53 raspberrypi qndvap[29907]: Start G2: streamid=f673, flags=00:00:00, my=N0KBL ? , sfx=RPTR, ur=CQCQCQ? , rpt1=N0KBL? C, rpt2=N0KBL? G Mar 20 17:30:54 raspberrypi qndvap[29907]: End G2: streamid=f673 Mar 20 17:32:04 raspberrypi qndvap[29907]: Start G2: streamid=1a8c, flags=00:00:00, my=N0KBL ? , sfx=RPTR, ur=CQCQCQ? , rpt1=N0KBL? C, rpt2=N0KBL? G Mar 20 17:32:10 raspberrypi qndvap[29907]: End G2: streamid=1a8c Mar 20 17:32:17 raspberrypi qndvap[29907]: From DVAP: flags=00:00:00, my=N0KBL ? , sfx=2820, ur=CQCQCQ? , rpt1=DIRECT? , rpt2=DIRECT Mar 20 17:32:22 raspberrypi qndvap[29907]: End of dvap audio,? ber=0.13 Mar 20 17:32:23 raspberrypi qndvap[29907]: Start G2: streamid=326d, flags=01:00:00, my=N0KBL? C, sfx=RPTR, ur=CQCQCQ? , rpt1=N0KBL? C, rpt2=N0KBL? G Mar 20 17:32:23 raspberrypi qndvap[29907]: End G2: streamid=326d Mar 20 17:33:24 raspberrypi qndvap[29907]: From DVAP: flags=00:00:00, my=N0KBL ? , sfx=2820, ur=CQCQCQ? , rpt1=DIRECT? , rpt2=DIRECT Mar 20 17:33:33 raspberrypi qndvap[29907]: End of dvap audio,? ber=0.07 Mar 20 17:33:34 raspberrypi qndvap[29907]: Start G2: streamid=a522, flags=01:00:00, my=N0KBL? C, sfx=RPTR, ur=CQCQCQ? , rpt1=N0KBL? C, rpt2=N0KBL? G Mar 20 17:33:34 raspberrypi qndvap[29907]: End G2: streamid=a522 On Sun, Mar 20, 2022 at 5:21 PM Brian Lakeman - N?KBL via <brian=[email protected]> wrote: qndvap log: |
Re: New pi dvap install can't link with radio
qndvap log:
Mar 20 17:19:25 raspberrypi systemd[1]: Started QnetDVAP. Mar 20 17:19:25 raspberrypi qndvap[29907]: QnetDVAP-20307 Mar 20 17:19:25 raspberrypi qndvap[29907]: Reading file /usr/local/etc/qn.cfg Mar 20 17:19:25 raspberrypi qndvap[29907]: module_c = 'dvap' Mar 20 17:19:25 raspberrypi qndvap[29907]: gateway_tomodemc = 'tomodemc' Mar 20 17:19:25 raspberrypi qndvap[29907]: module_c_callsign = 'N0KBL' Mar 20 17:19:25 raspberrypi qndvap[29907]: ircddb_login = 'N0KBL' Mar 20 17:19:25 raspberrypi qndvap[29907]: module_c_serial_number = 'AP062470' Mar 20 17:19:25 raspberrypi qndvap[29907]: module_c_device = '' Mar 20 17:19:25 raspberrypi qndvap[29907]: module_c_frequency = 145.635 Mar 20 17:19:25 raspberrypi qndvap[29907]: module_c_power = 10 Mar 20 17:19:25 raspberrypi qndvap[29907]: module_c_squelch = -100 Mar 20 17:19:25 raspberrypi qndvap[29907]: module_c_offset = 0 Mar 20 17:19:25 raspberrypi qndvap[29907]: module_c_packet_wait = 25 Mar 20 17:19:25 raspberrypi qndvap[29907]: module_c_acknowledge = false Mar 20 17:19:25 raspberrypi qndvap[29907]: timing_timeout_remote_g2 = 2 Mar 20 17:19:25 raspberrypi qndvap[29907]: timing_timeout_local_rptr = 1 Mar 20 17:19:25 raspberrypi qndvap[29907]: timing_play_delay = 19 Mar 20 17:19:25 raspberrypi qndvap[29907]: timing_play_wait = 1 Mar 20 17:19:25 raspberrypi qndvap[29907]: Max loops = 80 Mar 20 17:19:25 raspberrypi qndvap[29907]: log_qso = true Mar 20 17:19:25 raspberrypi qndvap[29907]: log_debug = true Mar 20 17:19:25 raspberrypi qndvap[29907]: Trying device /dev/ttyUSB0... Mar 20 17:19:25 raspberrypi qndvap[29907]: Device /dev/ttyUSB0 is now locked for exclusive use Mar 20 17:19:25 raspberrypi qndvap[29907]: Using /dev/ttyUSB0:? AP062470, because serial number matches your configuration file Mar 20 17:19:25 raspberrypi qndvap[29907]: Device name: DVAP Dongle Mar 20 17:19:25 raspberrypi qndvap[29907]: dvap fw ver: 1.7 Mar 20 17:19:25 raspberrypi qndvap[29907]: DVAP squelch is -100 dB Mar 20 17:19:25 raspberrypi qndvap[29907]: DVAP power is 10 dB Mar 20 17:19:25 raspberrypi qndvap[29907]: DVAP offset is 0 Hz Mar 20 17:19:25 raspberrypi qndvap[29907]: DVAP Frequency limits are from 144000000 to 148000000 Hz Mar 20 17:19:25 raspberrypi qndvap[29907]: DVAP frequency is 145635000 Hz Mar 20 17:19:25 raspberrypi qndvap[29907]: DVAP opened and initialized! Mar 20 17:19:25 raspberrypi qndvap[29907]: Started ReadDVAPThread() -Brian |
New pi dvap install can't link with radio
I'm setting up QNetGateway on a pi with a dvap. ?I get the Welcome to QuadNet greeting when the gateway starts up, I can link and unlink with qnremote just fine, and I can unlink with my IC-2820, but I can't link with the radio.
I've heard traffic on a linked reflector, but so far I haven't been able to make any contacts so I'm not confident my audio is getting out. Looking at the logs I find that my rpt2 is empty in the qnlink log and r2 is empty in the qngateway log when I attempt to link from the radio, but does show up in the qngateway log if I'm linked. ?Is that normal? qnlink log: Mar 20 15:22:10 raspberrypi qnlink[13357]: START from local g2: streamID=1674, flags=00:00:00, my=N0KBL ? /2820, ur=REF001CL, rpt1=N0KBL ?C, rpt2= ? ? ? ?, 56 bytes on tolink
Mar 20 15:22:12 raspberrypi qnlink[13357]: END from local g2: streamID=1674, 27 bytes
Mar 20 15:22:13 raspberrypi qnlink[13357]: sending ACK+text, mod:[C], RADIO_ID=[NOT LINKED ? ? ? ? ?]
Mar 20 15:25:12 raspberrypi qnlink[13357]: START from local g2: streamID=52ea, flags=00:00:00, my=N0KBL ? /2820, ur=CQCQCQ ?, rpt1=N0KBL ?C, rpt2= ? ? ? ?, 56 bytes on tolink
Mar 20 15:25:13 raspberrypi qnlink[13357]: END from local g2: streamID=52ea, 27 bytes
Mar 20 15:25:14 raspberrypi qnlink[13357]: sending ACK+text, mod:[C], RADIO_ID=[NOT LINKED ? ? ? ? ?]
Mar 20 15:25:29 raspberrypi qnlink[13357]: START from local g2: streamID=bb3b, flags=00:00:00, my=N0KBL ? /QNET, ur=XLX632AL, rpt1=N0KBL ?C, rpt2=N0KBL ?G, 56 bytes on tolink
Mar 20 15:25:29 raspberrypi qnlink[13357]: sending link request from mod C to link with: [XLX632 ?] mod A [64.91.238.36]:30001
Mar 20 15:25:29 raspberrypi qnlink[13357]: Connected from: XLX632 ? A [64.91.238.36]:30001
Mar 20 15:25:29 raspberrypi qnlink[13357]: END from local g2: streamID=bb3b, 27 bytes
Mar 20 15:25:30 raspberrypi qnlink[13357]: sending File:[/usr/local/etc/linked.dat], mod:[C], RADIO_ID=[LINKED XLX632 A ? ? ]
Mar 20 15:25:48 raspberrypi qnlink[13357]: START from local g2: streamID=905e, flags=00:00:00, my=N0KBL ? /2820, ur=CQCQCQ ?, rpt1=N0KBL ?C, rpt2= ? ? ? ?, 56 bytes on tolink
Mar 20 15:25:49 raspberrypi qnlink[13357]: END from local g2: streamID=905e, 27 bytes
Mar 20 15:25:50 raspberrypi qnlink[13357]: sending ACK+text, mod:[C], RADIO_ID=[LINKED TO XLX632 ?A ]
qngateway log: Mar 20 15:22:10 raspberrypi qngateway[13327]: id=1674 start RPTR flag0=00 ur=REF001CL r1=N0KBL? C r2= ? ? ? ? my=N0KBL ? /2820 Mar 20 15:22:12 raspberrypi qngateway[13327]: id=1674 END RPTR Mar 20 15:22:13 raspberrypi qngateway[13327]: id=4673 flags=01:00:00 ur=CQCQCQ ? r1=N0KBL? C r2=N0KBL? G my=N0KBL? C/RPTR UnixSock=tolink Mar 20 15:22:13 raspberrypi qngateway[13327]: Final[C]: #ABCDEFGHI Mar 20 15:22:13 raspberrypi qngateway[13327]: id=4673 END Mar 20 15:25:12 raspberrypi qngateway[13327]: id=52ea start RPTR flag0=00 ur=CQCQCQ ? r1=N0KBL? C r2= ? ? ? ? my=N0KBL ? /2820 Mar 20 15:25:13 raspberrypi qngateway[13327]: set_dest_rptr() returned 0 link sets Mar 20 15:25:13 raspberrypi qngateway[13327]: id=52ea END RPTR Mar 20 15:25:14 raspberrypi qngateway[13327]: id=9e49 flags=01:00:00 ur=CQCQCQ ? r1=N0KBL? C r2=N0KBL? G my=N0KBL? C/RPTR UnixSock=tolink Mar 20 15:25:15 raspberrypi qngateway[13327]: Final[C]: #ABCDEFGHI Mar 20 15:25:15 raspberrypi qngateway[13327]: id=9e49 END Mar 20 15:25:28 raspberrypi qngateway[13327]: id=bb3b start RPTR flag0=00 ur=XLX632AL r1=N0KBL? C r2=N0KBL? G my=N0KBL ? /QNET Mar 20 15:25:29 raspberrypi qngateway[13327]: id=bb3b END RPTR Mar 20 15:25:30 raspberrypi qngateway[13327]: id=b16d flags=00:00:00 ur=CQCQCQ ? r1=N0KBL? C r2=N0KBL? G my=N0KBL ? /RPTR UnixSock=tolink Mar 20 15:25:32 raspberrypi qngateway[13327]: Frame[C]: #ABCDEFGHIJKLMNOPQRST#ABCDEFGHIJKLMNOPQRST#ABCDEFGHIJKLMNOPQRST#ABCDEFGHIJKLMNOPQRST Mar 20 15:25:33 raspberrypi qngateway[13327]: Frame[C]: #ABCDEFGHIJKLMNOPQRST#ABCDEFGHIJKLMNOPQRST#ABCDEFGHIJKLMNOPQRST#ABCDEFGHIJKLMNOPQRST Mar 20 15:25:35 raspberrypi qngateway[13327]: Frame[C]: #ABCDEFGHIJKLMNOPQRST#ABCDEFGHIJKLMNOPQRST#ABCDEFGHIJKLMNOPQRST#ABCDEFGHIJKLMNOPQRST Mar 20 15:25:37 raspberrypi qngateway[13327]: Frame[C]: #ABCDEFGHIJKLMNOPQRST#ABCDEFGHIJKLMNOPQRST#ABCDEFGHIJKLMNOPQRST#ABCDEFGHIJKLMNOPQRST Mar 20 15:25:37 raspberrypi qngateway[13327]: Final[C]: #ABC Mar 20 15:25:37 raspberrypi qngateway[13327]: id=b16d END Mar 20 15:25:46 raspberrypi qngateway[13327]: id=905e start RPTR flag0=00 ur=CQCQCQ ? r1=N0KBL? C r2= ? ? ? ? my=N0KBL ? /2820 Mar 20 15:25:48 raspberrypi qngateway[13327]: Inactivity from local rptr module C, removing stream id 905e Mar 20 15:25:49 raspberrypi qngateway[13327]: id=905e END RPTR Mar 20 15:25:50 raspberrypi qngateway[13327]: id=0d2c flags=01:00:00 ur=CQCQCQ ? r1=N0KBL? C r2=N0KBL? G my=N0KBL? C/RPTR UnixSock=tolink Mar 20 15:25:50 raspberrypi qngateway[13327]: Final[C]: #ABCDEFGHI Mar 20 15:25:50 raspberrypi qngateway[13327]: id=0d2c END ?
qn.cfg:
# Created on Sat 19 Mar 16:15:00 CDT 2022 ircddb_login='N0KBL' module_c=dvap module_c_callsign='N0KBL' module_c_offset=0 module_c_range=50 module_c_frequency=145.635 module_c_serial_number='AP062470' gateway_latitude=45.2 gateway_longitude=-93.2 log_qso=true log_irc=false log_debug=true dplus_authorize=true Any suggestions? -Brian |
Re: IcomGateway Quirks
¿ªÔÆÌåÓýThanks, Tom.? I plan to try your
suggestions out in the next few days.? I'll let you know what I
find...
73
Keith/KI5US
On 3/2/22 14:42, Tom Early wrote:
I suspected this might be true, so I read the journalctl man page. You can specify just exactly what you want to watch. Try:
|
Re: IcomGateway Quirks
Hi Keith (and Ryan),
If your link fails and the module's auto_link is on (the default value for auto_link is on), it will try to re-establish the link about every 50 seconds. If it fails, it will let you know with the "module is unlinked" prompt. You can send a "?????? U" to unlink and that should stop the relink attempts. How you can help debug your problems: There are three main process in IcomGateway:
When you submit your problem report, please include your qn.cfg file as well as a short description of what you did to generate the problem. Also, I don't want to drive everyone in this groups.io over the edge with a lot of emails with boring logs, so please send your report directly to me at n7tae (at) tearly (dot) net. |
Re: IcomGateway Quirks
I have been encountering the exact same behavior, but not all the time.
My experience has also been that actual voice traffic over the repeater or to and from a connected reflector appears to work flawlessly. One additional issue not enumerated above is that my hotspots are no longer able to link to the gateway with IcomGateway.? This worked flawlessly with QnetICOMGateway.? This is useful so that I can monitor the repeater at work or while traveling. |
IcomGateway Quirks
Tom
Thanks very much for your efforts to provide a viable alternative to G3.? I'm new to managing a D-Star gateway, so I'm bound to ask some dumb questions, but here goes... We've installed your latest gateway software on a Raspberry Pi3 to run our B & C module W1SCC repeaters.? It works - sometimes - and I wanted to provide you with some "operational" feedback. Perhaps we've done something wrong or the Pi3 is underpowered for the task(?)...I plan to substitute the Pi with an Intel-based laptop running Mint 20.3 later this week to check that theory. Quirks we're seeing are: - log shows a reflector link being established but the voice announcement doesn't always occur (maybe 50% of the time). - Radio-initiated commands don't always seem to work.? I find myself having to repeat the commands to finally link or unlink a reflector.? Signal level isn't an issue since I've been doing this very close to the repeaters.? Both B & C modules show the same behavior. - Unlink shows in the log but also (sometimes) fails to announce.? Issuing a new link command (sometimes) causes the unlink voice, followed by linked voice announcement. - linking to reflector XLX658 (our local reflector) doesn't seem to work...it is in the gwys.txt file. - linking to other gateways....am I correct in assuming that I need to add the gateways to the gwys.txt file? - keeps repeating "module is unlinked"...how do I make it stop this behavior (currently, I link it to something). - log shows /usr/local/etc/linked.dat being sent but (sometimes) can't be heard. Suggestions? Thanks & 73! Keith/KI5US Sun City Center, FL |
Re: New Icom Repeater Gateway
¿ªÔÆÌåÓýThanks Dan! Not a dumb question at all. The reflector and gateway suffixes are reversed on an Icom repeater depending on whether the stream is going into the repeater or out of the repeater. I "think" this is because Icom considers rpt1 the source of the stream and rpt2 the destination of the stream. This is actually how M17 works. As a programming hacker, I just try things 'till they work! /var/local should be owned by root. qngateway, qnlink and
qnistack all run with root privileges. On 2/24/22 14:51, Dan Ozment wrote:
-- ___________________________ 73 n7tae (at) tearly (dot) net |
Re: New Icom Repeater Gateway
I thought I posted a dumb question about the position of the "B" and "G" in Ryan's logs.? If it ever shows up, it wasn't me!? Some dummy wrote it! ? I pulled the latest code and did a successful echo test..
? Tom, probably another dumb question by that same guy, but are permissions right on /var/local?? Is root writing to the folder? dozment@raspberrypi:/var/local$ ls -la
?
? |
Re: New Icom Repeater Gateway
Sorry this is taking so long, Ryan. I have pushed up a new version. Some weird things I don't understand. See the comments below:
On 2/22/22 17:06, Ryan Matthew Headley wrote: Feb 22 18:57:59 QNIG qngateway[6055]: Finding Routes for...These b values are the problem. I don't understand why I didn't catch this in Dan W4DTO's debugging session. These voice messages originate from qnlink so the new version of qnlink is 20223. Dan can you test the new version and make sure I didn't break something for you? Feb 22 18:58:03 QNIG qngateway[6055]: id=cec8 ENDI don't understand this failure to open the echotest file. There are very few reasons why a root-process couldn't open file in /var/local. This new version now includes the specific reason why the open() call failed. The new qngateway version is now 20223. Ryan, if this new version is still having problems opening the file, then the new error message may be sufficient for you to figure out how to fix the problem. If not, post your logs and we'll figure it out together. ___________________________ 73 n7tae (at) tearly (dot) net |
Re: New Icom Repeater Gateway
As Tom noted, I have been doing a good bit of testing the new IcomGateway repo, but I have yet to get it working properly.?
The hardware is an ID-RP4000V and an ID-RP2C.? Everything works exactly as expected with the old QnetIcomGateway repo. The two remaining problems are: 1) I get nothing back from an echotest (I am 100ft from the repeater). 2) An unlink command does unlink the reflector, but there is no acknowledgement.? I do get a response from the info request. Neither of these problems are catastrophic, but I would like to get everything working.? I would greatly appreciate any help.? Here are my logs: Gateway: -- Logs begin at Tue 2022-02-22 00:00:06 EST. -- Feb 22 18:57:34 QNIG qngateway[6055]: Connecting to qnistack at to_icom Feb 22 18:57:35 QNIG qngateway[6055]: Repeater callsigns: [W4EAE-A] [W4EAE-B] [W4EAE-C] Feb 22 18:57:35 QNIG qngateway[6055]: aprs hash code=[9367] for W4EAE Feb 22 18:57:35 QNIG qngateway[6055]: starting CIRCDDB Feb 22 18:57:35 QNIG qngateway[6055]: starting CIRCDDB Feb 22 18:57:35 QNIG qngateway[6055]: Waiting for ircv6.openquad.net connection status of 2 Feb 22 18:57:35 QNIG qngateway[6055]: ircv6.openquad.net status=0 Feb 22 18:57:38 QNIG qngateway[6055]: Successfully connected to ircv6.openquad.net at [2604:a880:800:c1::14e:c001]:9007 Feb 22 18:57:38 QNIG qngateway[6055]: Successfully connected to ircv4.openquad.net at [167.71.182.245]:9007 Feb 22 18:57:40 QNIG qngateway[6055]: ircv6.openquad.net status=0 Feb 22 18:57:45 QNIG qngateway[6055]: ircv6.openquad.net status=0 Feb 22 18:57:46 QNIG qngateway[6055]: IRCDDBApp::setBestServer s-grp1s1 Feb 22 18:57:46 QNIG qngateway[6055]: IRCDDBApp::setCurrentNick w4eae-4 Feb 22 18:57:49 QNIG qngateway[6055]: IRCDDBApp: state=2 choose new 's-'-user Feb 22 18:57:50 QNIG qngateway[6055]: IRCDDBApp: state=3 tableID=1 Feb 22 18:57:50 QNIG qngateway[6055]: IRC server ircv6.openquad.net is using IPV6 Feb 22 18:57:50 QNIG qngateway[6055]: Waiting for ircv4.openquad.net connection status of 2 Feb 22 18:57:50 QNIG qngateway[6055]: ircv4.openquad.net status=0 Feb 22 18:57:51 QNIG qngateway[6055]: IRCDDBApp::setBestServer s-grp1s1 Feb 22 18:57:51 QNIG qngateway[6055]: IRCDDBApp::setCurrentNick w4eae-3 Feb 22 18:57:52 QNIG qngateway[6055]: IRCDDBApp: state=3 tableID=0 Feb 22 18:57:54 QNIG qngateway[6055]: IRCDDBApp: state=2 choose new 's-'-user Feb 22 18:57:55 QNIG qngateway[6055]: IRCDDBApp: state=6 initialization completed Feb 22 18:57:55 QNIG qngateway[6055]: IRC server ircv4.openquad.net is using IPV4 Feb 22 18:57:55 QNIG qngateway[6055]: QnetGateway...entering processing loop Feb 22 18:57:55 QNIG qngateway[6055]: IRCDDBApp: state=3 tableID=1 Feb 22 18:57:55 QNIG qngateway[6055]: APRS beacon thread started Feb 22 18:57:55 QNIG qngateway[6055]: get_irc_data thread[0] started Feb 22 18:57:55 QNIG qngateway[6055]: Finding Routes for... Feb 22 18:57:55 QNIG qngateway[6055]: get_irc_data thread[1] started Feb 22 18:57:55 QNIG qngateway[6055]: id=c85c b=57c2b6 f=000000 ur=CQCQCQ?? r1=W4EAE? B r2=W4EAE? G my=W4EAE?? /RPTR UnixSock=to_link Feb 22 18:57:57 QNIG qngateway[6055]: IRCDDBApp: state=3 tableID=0 Feb 22 18:57:59 QNIG qngateway[6055]: Successfully connected to rotate.aprs2.net at [2a01:4f9:c010:33d9::1]:14580 Feb 22 18:57:59 QNIG qngateway[6055]: Finding Routes for... Feb 22 18:58:00 QNIG qngateway[6055]: IRCDDBApp: state=6 initialization completed Feb 22 18:58:01 QNIG qngateway[6055]: id=c85c END Feb 22 18:58:02 QNIG qngateway[6055]: id=cec8 b=57c2b6 f=000000 ur=CQCQCQ?? r1=W4EAE? B r2=W4EAE? G my=W4EAE?? /RPTR UnixSock=to_link Feb 22 18:58:03 QNIG qngateway[6055]: id=cec8 END Feb 22 18:58:04 QNIG qngateway[6055]: id=e9f2 b=57c2b6 f=000000 ur=CQCQCQ?? r1=W4EAE? B r2=W4EAE? G my=W4EAE?? /RPTR UnixSock=to_link Feb 22 18:58:06 QNIG qngateway[6055]: id=e9f2 END Feb 22 18:58:24 QNIG qngateway[6055]: id=ab1f start RPTR b=000101 f=000000 ur=?????? E r1=W4EAE? B r2=W4EAE? G my=W4EAE?? / Feb 22 18:58:24 QNIG qngateway[6055]: Failed to create file /var/local/B_echotest.dat for echotest Feb 22 18:58:26 QNIG qngateway[6055]: id=ab1f END RPTR Feb 22 18:58:27 QNIG qngateway[6055]: id=3e89 b=000100 f=010000 ur=CQCQCQ?? r1=W4EAE? B r2=W4EAE? G my=W4EAE? B/RPTR UnixSock=to_link Feb 22 18:58:27 QNIG qngateway[6055]: id=3e89 END Feb 22 18:58:35 QNIG qngateway[6055]: id=1a6f start RPTR b=000101 f=000000 ur=?????? E r1=W4EAE? B r2=W4EAE? G my=W4EAE?? / Feb 22 18:58:35 QNIG qngateway[6055]: Failed to create file /var/local/B_echotest.dat for echotest Feb 22 18:58:37 QNIG qngateway[6055]: id=1a6f END RPTR Feb 22 18:58:38 QNIG qngateway[6055]: id=b393 b=000100 f=010000 ur=CQCQCQ?? r1=W4EAE? B r2=W4EAE? G my=W4EAE? B/RPTR UnixSock=to_link Feb 22 18:58:38 QNIG qngateway[6055]: id=b393 END Feb 22 18:58:45 QNIG qngateway[6055]: irc status=7, probable connect... Feb 22 18:58:45 QNIG qngateway[6055]: irc status=7, probable connect... Feb 22 18:58:50 QNIG qngateway[6055]: id=8f37 start RPTR b=000101 f=000000 ur=?????? I r1=W4EAE? B r2=W4EAE? G my=W4EAE?? / Feb 22 18:58:51 QNIG qngateway[6055]: id=8f37 END RPTR Feb 22 18:58:52 QNIG qngateway[6055]: id=6e72 b=57c2b6 f=000000 ur=CQCQCQ?? r1=W4EAE? B r2=W4EAE? G my=W4EAE?? /RPTR UnixSock=to_link Feb 22 18:58:59 QNIG qngateway[6055]: id=6e72 END Feb 22 18:59:06 QNIG qngateway[6055]: id=9689 start RPTR b=000101 f=000000 ur=?????? E r1=W4EAE? B r2=W4EAE? G my=W4EAE?? / Feb 22 18:59:06 QNIG qngateway[6055]: Failed to create file /var/local/B_echotest.dat for echotest Feb 22 18:59:07 QNIG qngateway[6055]: id=9689 END RPTR Feb 22 18:59:08 QNIG qngateway[6055]: id=2781 b=000100 f=010000 ur=CQCQCQ?? r1=W4EAE? B r2=W4EAE? G my=W4EAE? B/RPTR UnixSock=to_link Feb 22 18:59:08 QNIG qngateway[6055]: id=2781 END Feb 22 18:59:40 QNIG qngateway[6055]: id=f1c3 start RPTR b=000101 f=000000 ur=?????? U r1=W4EAE? B r2=W4EAE? G my=W4EAE?? / Feb 22 18:59:42 QNIG qngateway[6055]: Inactivity from local rptr module B, removing stream id f1c3 Feb 22 19:00:00 QNIG qngateway[6055]: id=85b9 start RPTR b=000101 f=000000 ur=?????? I r1=W4EAE? B r2=W4EAE? G my=W4EAE?? / Feb 22 19:00:01 QNIG qngateway[6055]: id=85b9 END RPTR Feb 22 19:00:02 QNIG qngateway[6055]: id=b679 b=57c2b6 f=000000 ur=CQCQCQ?? r1=W4EAE? B r2=W4EAE? G my=W4EAE?? /RPTR UnixSock=to_link Feb 22 19:00:03 QNIG qngateway[6055]: id=b679 END Feb 22 19:00:22 QNIG qngateway[6055]: id=2991 start RPTR b=000101 f=000000 ur=REF006AL r1=W4EAE? B r2=W4EAE? G my=W4EAE?? / Feb 22 19:00:23 QNIG qngateway[6055]: id=2991 END RPTR Feb 22 19:00:24 QNIG qngateway[6055]: id=3a75 b=57c2b6 f=000000 ur=CQCQCQ?? r1=W4EAE? B r2=W4EAE? G my=W4EAE?? /RPTR UnixSock=to_link Feb 22 19:00:30 QNIG qngateway[6055]: id=3a75 END Feb 22 19:00:37 QNIG qngateway[6055]: id=a0a0 start RPTR b=000101 f=000000 ur=?????? U r1=W4EAE? B r2=W4EAE? G my=W4EAE?? / Feb 22 19:00:39 QNIG qngateway[6055]: Inactivity from local rptr module B, removing stream id a0a0 Feb 22 19:00:52 QNIG qngateway[6055]: id=3a1f start RPTR b=000101 f=000000 ur=REF054CL r1=W4EAE? B r2=W4EAE? G my=W4EAE?? / Feb 22 19:00:52 QNIG qngateway[6055]: id=3a1f END RPTR Feb 22 19:00:53 QNIG qngateway[6055]: id=209f b=57c2b6 f=000000 ur=CQCQCQ?? r1=W4EAE? B r2=W4EAE? G my=W4EAE?? /RPTR UnixSock=to_link Feb 22 19:01:00 QNIG qngateway[6055]: id=209f END qnistack: -- Logs begin at Tue 2022-02-22 00:00:06 EST. -- Feb 22 18:57:35 QNIG qnistack[6129]: log_qso = true Feb 22 18:57:35 QNIG qnistack[6129]: gateway_to_icom = 'to_icom' Feb 22 18:57:35 QNIG qnistack[6129]: icom_internal_ip = '0.0.0.0' Feb 22 18:57:35 QNIG qnistack[6129]: icom_external_ip = '172.16.0.1' Feb 22 18:57:35 QNIG qnistack[6129]: icom_port = 20000 Feb 22 18:57:35 QNIG qnistack[6129]: Open the UDP socket to the icom stack Feb 22 18:57:35 QNIG qnistack[6129]: Connecting to the gateway at to_icom Feb 22 18:57:35 QNIG qnistack[6129]: File descriptors: icom=3, gateway=4 Feb 22 18:57:35 QNIG qnistack[6129]: Initializing the Icom controller... Feb 22 18:57:35 QNIG qnistack[6129]: Detected the Icom controller! Counter=1 Feb 22 18:57:55 QNIG qnistack[6129]: id=c85c to RPTR count=1 f=731200 icmid=2057c2b6 flag=000000 ur=CQCQCQ?? r1=W4EAE? B r2=W4EAE? G my=W4EAE?? /RPTR Feb 22 18:58:01 QNIG qnistack[6129]: id=c85c to RPTR count=295 end of transmission Feb 22 18:58:02 QNIG qnistack[6129]: id=cec8 to RPTR count=296 f=731200 icmid=2057c2b6 flag=000000 ur=CQCQCQ?? r1=W4EAE? B r2=W4EAE? G my=W4EAE?? /RPTR Feb 22 18:58:03 QNIG qnistack[6129]: id=cec8 to RPTR count=369 end of transmission Feb 22 18:58:04 QNIG qnistack[6129]: id=e9f2 to RPTR count=370 f=731200 icmid=2057c2b6 flag=000000 ur=CQCQCQ?? r1=W4EAE? B r2=W4EAE? G my=W4EAE?? /RPTR Feb 22 18:58:06 QNIG qnistack[6129]: id=e9f2 to RPTR count=443 end of transmission Feb 22 18:58:24 QNIG qnistack[6129]: id=ab1f from RPTR count=1 f=731200 icmid=20000101 flag=000000 ur=?????? E r1=W4EAE? G r2=W4EAE? B my=W4EAE?? / Feb 22 18:58:26 QNIG qnistack[6129]: id=ab1f from RPTR count=117 end of transmission Feb 22 18:58:27 QNIG qnistack[6129]: id=3e89 to RPTR count=444 f=731200 icmid=20000100 flag=010000 ur=CQCQCQ?? r1=W4EAE? B r2=W4EAE? G my=W4EAE? B/RPTR Feb 22 18:58:27 QNIG qnistack[6129]: id=3e89 to RPTR count=454 end of transmission Feb 22 18:58:35 QNIG qnistack[6129]: id=1a6f from RPTR count=118 f=731200 icmid=20000101 flag=000000 ur=?????? E r1=W4EAE? G r2=W4EAE? B my=W4EAE?? / Feb 22 18:58:37 QNIG qnistack[6129]: id=1a6f from RPTR count=219 end of transmission Feb 22 18:58:38 QNIG qnistack[6129]: id=b393 to RPTR count=455 f=731200 icmid=20000100 flag=010000 ur=CQCQCQ?? r1=W4EAE? B r2=W4EAE? G my=W4EAE? B/RPTR Feb 22 18:58:38 QNIG qnistack[6129]: id=b393 to RPTR count=465 end of transmission Feb 22 18:58:50 QNIG qnistack[6129]: id=8f37 from RPTR count=220 f=731200 icmid=20000101 flag=000000 ur=?????? I r1=W4EAE? G r2=W4EAE? B my=W4EAE?? / Feb 22 18:58:51 QNIG qnistack[6129]: id=8f37 from RPTR count=262 end of transmission Feb 22 18:58:52 QNIG qnistack[6129]: id=6e72 to RPTR count=466 f=731200 icmid=2057c2b6 flag=000000 ur=CQCQCQ?? r1=W4EAE? B r2=W4EAE? G my=W4EAE?? /RPTR Feb 22 18:58:59 QNIG qnistack[6129]: id=6e72 to RPTR count=802 end of transmission Feb 22 18:59:06 QNIG qnistack[6129]: id=9689 from RPTR count=263 f=731200 icmid=20000101 flag=000000 ur=?????? E r1=W4EAE? G r2=W4EAE? B my=W4EAE?? / Feb 22 18:59:07 QNIG qnistack[6129]: id=9689 from RPTR count=305 end of transmission Feb 22 18:59:08 QNIG qnistack[6129]: id=2781 to RPTR count=803 f=731200 icmid=20000100 flag=010000 ur=CQCQCQ?? r1=W4EAE? B r2=W4EAE? G my=W4EAE? B/RPTR Feb 22 18:59:08 QNIG qnistack[6129]: id=2781 to RPTR count=813 end of transmission Feb 22 18:59:40 QNIG qnistack[6129]: id=f1c3 from RPTR count=306 f=731200 icmid=20000101 flag=000000 ur=?????? U r1=W4EAE? G r2=W4EAE? B my=W4EAE?? / Feb 22 19:00:00 QNIG qnistack[6129]: id=85b9 from RPTR count=310 f=731200 icmid=20000101 flag=000000 ur=?????? I r1=W4EAE? G r2=W4EAE? B my=W4EAE?? / Feb 22 19:00:01 QNIG qnistack[6129]: id=85b9 from RPTR count=352 end of transmission Feb 22 19:00:02 QNIG qnistack[6129]: id=b679 to RPTR count=814 f=731200 icmid=2057c2b6 flag=000000 ur=CQCQCQ?? r1=W4EAE? B r2=W4EAE? G my=W4EAE?? /RPTR Feb 22 19:00:03 QNIG qnistack[6129]: id=b679 to RPTR count=876 end of transmission Feb 22 19:00:22 QNIG qnistack[6129]: id=2991 from RPTR count=353 f=731200 icmid=20000101 flag=000000 ur=REF006AL r1=W4EAE? G r2=W4EAE? B my=W4EAE?? / Feb 22 19:00:23 QNIG qnistack[6129]: id=2991 from RPTR count=395 end of transmission Feb 22 19:00:24 QNIG qnistack[6129]: id=3a75 to RPTR count=877 f=731200 icmid=2057c2b6 flag=000000 ur=CQCQCQ?? r1=W4EAE? B r2=W4EAE? G my=W4EAE?? /RPTR Feb 22 19:00:30 QNIG qnistack[6129]: id=3a75 to RPTR count=1210 end of transmission Feb 22 19:00:37 QNIG qnistack[6129]: id=a0a0 from RPTR count=396 f=731200 icmid=20000101 flag=000000 ur=?????? U r1=W4EAE? G r2=W4EAE? B my=W4EAE?? / Feb 22 19:00:52 QNIG qnistack[6129]: id=3a1f from RPTR count=400 f=731200 icmid=20000101 flag=000000 ur=REF054CL r1=W4EAE? G r2=W4EAE? B my=W4EAE?? / Feb 22 19:00:52 QNIG qnistack[6129]: id=3a1f from RPTR count=442 end of transmission Feb 22 19:00:53 QNIG qnistack[6129]: id=209f to RPTR count=1211 f=731200 icmid=2057c2b6 flag=000000 ur=CQCQCQ?? r1=W4EAE? B r2=W4EAE? G my=W4EAE?? /RPTR Feb 22 19:01:00 QNIG qnistack[6129]: id=209f to RPTR count=1547 end of transmission |
Re: New Icom Repeater Gateway
Tom, ? ? Thank you BIG TIME...I KNOW Dan W4DTO was a huge help. A lot of us here are really working the system on WX4PCA C using all the functions. So far looks and is working FANTASTIC. We are reporting back to Dan if we see anything so he can pass it along to you. ? ?Again thanks for all the Hard work on the code and Dan is a GREAT asset for testing. 73 Lee WB4QOJ ---------- ¡°The work of volunteer groups throughout our country represents the very heart and soul of America. They have helped make this the most compassionate, generous, and humane society that ever existed on the face of this earth.¡± ¡ª?Ronald Reagan On Sat, Feb 19, 2022, 12:00 PM Tom Early <n7tae@...> wrote: Thanks to a couple of hams from 4-land, there is a new IRC gateway especially for Icom repeaters. Ryan W4EAE helped me start the debugging process and Dan W4DTO helped me finish it. Dan provided key tcpdump files that were critical in helping me identify the final few catastrophic bugs in this new project. The original repo at has been archived and is now a public, read-only repo. |
New Icom Repeater Gateway
Thanks to a couple of hams from 4-land, there is a new IRC gateway especially for Icom repeaters. Ryan W4EAE helped me start the debugging process and Dan W4DTO helped me finish it. Dan provided key tcpdump files that were critical in helping me identify the final few catastrophic bugs in this new project. The original repo at has been archived and is now a public, read-only repo.
The new code is at . This new version is now very close to the QnetGateway code-base and includes the latest features of QnetGateway, like IPv6 routing/linking and sql-based state memory, required by the new dashboard. |
Re: gwys.txt
Thanks for letting me know. I should probably remove that option if he's not keeping it up.
Legacy REF reflectors are suppose to be automatically downloaded from the auth.dstargateway.org round-robin server. The last time I checked, this system didn't work very well. Depending on which of the round-robin servers you connected to, you might get 2 reflector definitions or you might get 500. Remember that you have to turn on the legacy authorization (it's off by default). So even if you have it turned on, you may or may not get data for 037 or 046 or anything else, for that matter. However, there is a solution to this problem, but you have to supply the connection info to your favorite reflector and repeaters... As explained in the CONFIG+INSTALL file, you can create your own entries to be added to gwys.txt. In your build directory, create a My_Hosts.txt file containing your favorite connections. There is an example shown in that file explaining how it works. Your definitions will override any previous defines found by other sources, except for one condition: If you configure your system with "DPlus priority" turned on, it will load gwys.txt first and then authorize against auth.dstargateway.org. If DPlus Priority is off, it will load auth.dstargateway.org data first, and then gwys.txt. |
gwys.txt
I see the full reflector list is downloaded from va3uv.com. It appears to be several years old and there are new reflectors and some IP addresses have changed. I tried to find a contact email for va3uv without success. Is there a better source for finding a current comprehensive list of reflectors? (REF037 IP is wrong, REF046 is not there).
|