开云体育

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: QnetGateway software occasionally unresposive to ID-51a+2

 

Thanks. I'll try that.


Re: QnetGateway software occasionally unresposive to ID-51a+2

 

There are a couple of options:
  1. You can use the log sub-menu within ./qnadmin.
  2. "sudo journalctl -u qnitap -f" (or qnlink or qngateway).
  3. Install some helpers. From the build directory, do "cp bash_aliases ~/.bash_alises. From then on, anytime you start a new shell, type "watch itap" (or link or gateway).
Checkout the Debugging sub-menu in ./qnconfig for ways to control what's logged. Remember to restart your system if you change anything in the configuration. QSO logging will show the header fields of every voice stream that comes across you system. IRC logging will show the updates coming from QuadNet (every time someone on the network keys up). DTMF logging is useful if you are trying to add a new command to DTMF. Debugging logging will show interesting things about every voice frame. Turn all these on and you won't be able to keep up with the output. Turn off all these things and only see messages of particular importance.


Re: QnetGateway software occasionally unresposive to ID-51a+2

 

Are there any specific logs I can watch with a "tail -f"? I typically connect via Putty, although I do occasionally go the direct route and switch my monitor over to the Pi. I love troubleshooting, but I can't code to save my life.


Re: QnetGateway software occasionally unresposive to ID-51a+2

 

The real problem is that ICOM has refused to release the details of protocol used for data communication over the digital cable used when the radio is in Terminal or Access Point Mode. Open source programmers are left to their own to figure out how things work. I will NEVER understand why they won't release technical information that will only help them sell more radios.

But at least I have learned a little more and have come up with a work-around, but I'm not sure if it will help you or not. What I have found is that you have to unplug and replug the digital cable to get qnitap to start up properly if you are going to be shutting Terminal or Access Point Mode off and on. Please note that the discussion below is only appropriate with regard to changing the "DV Gateway" menu while qnitap is running.

If you look in the qnitap log, it will tell you when it has properly initialized communication on the digital port with a "ICOM radio is connected" message. If you disconnect the digital cable (and wait 10 seconds for the connection to time out) and then reconnect the digital cable, qnitap will successfully reconnect to the radio most of the time, but not all of the time. I think the reason it doesn't happen all of the time is because the radio may not properly receive the initialization packets, depending on when you happen to plug the cable back in. Remember that as long as the connection is not established, qnitap will quit after 10 seconds of no communication and then systemd will then try to restart it.

I have just pushed up a new version of qnitap, V#2.1.2, that will also send a voice message saying "Radio is connected". This way, you don't have to be watching the log to be able to know if the communications was properly initialized. So...

Ten seconds after you switch back to normal mode from either Terminal or Access Point Mode, qnitap will quit, and then the system will continuously try to restart qnitap approximately every 10 seconds. Unplug the digital cable while you are in normal mode. Then, when you are ready to go back to Terminal or Access Point Mode, just plug in the digital cable after you have entered the T/AP Mode. You should fairly quickly hear the "Radio is connected" message. If not unplug the digital cable, wait at least 10 seconds and then plug it back in.

Just one more thing. You may not hear the "Radio is connected" message on a cold boot. There is a lot going on with qngateway, qnlink and qnitap when starting cold. But, as long as qngateway and qnlink are both already running, you should hear the message when the communication is properly initialized.

Finally finally, I still think the safest way to handle this is to shut down RPi if you aren't using T/AP, then restart when you are ready to resume T/AP.


Re: QnetGateway software occasionally unresposive to ID-51a+2

 

This is a more general issue related to 'Terminal / Access Point Mode.'?

My experience is with Icom's software, Pi-Star, and QnetGateway; and the ID-51A+2, the ID-4100, and the IC-9700.

Using any of the three software I mentioned with any of the three radios I mentioned produces the exact same result:? If Terminal mode is up and running and you either power down the radio or switch it out of Terminal Mode, your connection does not re-establish after you power the radio back on or re-enter Terminal mode without either a full restart of the software or a system reboot.

I have been playing with this a little for QnetGateway.? After turning the radio off, the module for which it is set gives warning messages in qnmodem about lost connection.? After a period of time(? need to measure), that module shuts down on its own. (I have QnetGateway running two modules).? If I switch the radio back to Terminal mode before the module has shutdown, it does not work.? If I wait until the module has shutdown, set the radio to Terminal mode, and the start the module with qnadmin, it works--most of the time.

All in all, the software simply cannot tolerate the radio being disconnected for any length of time.? I am not really sure if there is a workaround for this, but I have been examining the code and turning ideas over in my head.? If I come up with something, I will post it.


QnetGateway software occasionally unresposive to ID-51a+2

 

My setup: Running ID-51a+2 in terminal mode, RPi 3B, QnetGateway software.
The situation: The HT is connected directly to the Pi via USB. Sometimes when I turn off the HT then turn it back on at a later date (or later in the day for that matter) I have to issue a "systemctl restart" to qnitap, qngateway and qnlink so that the software responds to the HT. The exception was today, where I was able to simply turn on the HT and wait briefly for the software to recognize it was turned back on. There were no indications in daemon.log or syslog of a crash. My only indication of needing to restart was not hearing the talkback from the software, such as "Qnet gateway" and not seeing anything in the logs that usually pop up when I key up.

I have things set up so the USB device is always mapped to the same device name if I happen to disconnect and reconnect the cable. A trick I learned from "Linux in the Hamshack." All I know is that today was the first time I did not have to restart anything or reboot altogether. I will be happy to post logs if I can remember when I last had the problem and what to look for.


Re: Icom Id-4100a and raspberry pi for terminal mode

 

I will start a new thread so the original topic is not drowned out


Re: Icom Id-4100a and raspberry pi for terminal mode

 

Fred,

Your situation doesn't sound similar to me. I need more info please. Why do you say you need to restart everything? Did all three apps lock up? What was in the logs?

Tom


Re: Icom Id-4100a and raspberry pi for terminal mode

 

Not to hijack the thread, sometimes I have to restart qnitap, qnlink, and qngateway. Hoping I will see something that will fit in my situation as it is similar.


Re: Icom Id-4100a and raspberry pi for terminal mode

 

No worries.? I was a little curious as to how I would send "_______AX" when I had no connection to QnetGateway.


Re: Icom Id-4100a and raspberry pi for terminal mode

 

Sorry, that won't work! Not firing on all 4 cylinders this morning!


Re: Icom Id-4100a and raspberry pi for terminal mode

 

I'll look into this this weekend, if I get a chance. In the meantime you can always create a new script that will just restart QnetITAP, call it exec_A.sh:

#!/bin/sh
systemctl restart qnitap

Put this in your $(CFGDIR), usually /usr/local/etc, where the other exec_?.sh scripts are, Then a YOURCALL =? "_ _ _ _ _ _ A X" transmission into QnetGateway should cause QnetITAP to restart.


Re: Icom Id-4100a and raspberry pi for terminal mode

 

I have been operating my several Icom radios in Terminal/Access Point mode for quite a while.? I recently started using QnetGateway for this as it runs nicely on a tiny Pi Zero W.? Every D-Star repeater within 100 miles of me is USRoot ONLY.? With Access Point mode, I can throw up a 50w simplex hotspot with a ~30 mile range whenever required.

The problem I have is that for either Terminal or Access Point mode to work, the Icom radio must be set to T / AP mode before the Pi Zero boots up.? If I am using terminal mode and switch batch to the VFO and then back to terminal mode, I must reboot the Pi before it will work again.? This was also true when using Pi-Star and MMDVM.

Is this issue simply inherent, or is there a away to work around it?


Re: New Smart Group Setup

 

开云体育

Thank you, Tom!? I wondered if that was a group, but didn’t find it.? Will move the conversation to there.? 73

?

From: [email protected] <[email protected]> On Behalf Of Tom Early
Sent: Saturday, August 24, 2019 1:26 PM
To: [email protected]
Subject: Re: [QnetGateway] New Smart Group Setup

?

We have a separate group for discussing the Smart Group Server at . This is a sub-group of quadnet.groups.io.

This group is for discussion of QnetGateway and QnetICOMGateway.

Thanks.


Re: New Smart Group Setup

 

We have a separate group for discussing the Smart Group Server at . This is a sub-group of quadnet.groups.io.

This group is for discussion of QnetGateway and QnetICOMGateway.

Thanks.


Re: New Smart Group Setup

 

开云体育

UDP 40000

On 8/24/2019 10:28 AM, Dan Ozment wrote:

Whatever it was, it seems to be resolved.? Working great.? Remaining questions is which ports should I open on the firewall where I'm running smart-group-server.??

73
Dan
W4DTO


Re: New Smart Group Setup

 

开云体育

Ok Dan,

Keep us updated. The team will help where we can. 73


Will / W4WWM

On 8/24/2019 9:29 AM, Dan Ozment wrote:

This may have been a fat-finger issue in the sgs.cfg file.? I was just able to connect to the group.? I will update this thread when I’m able to confirm whether it is working or not.


Re: New Smart Group Setup

 

Whatever it was, it seems to be resolved.? Working great.? Remaining questions is which ports should I open on the firewall where I'm running smart-group-server.??

73
Dan
W4DTO


Re: New Smart Group Setup

 

开云体育

This may have been a fat-finger issue in the sgs.cfg file.? I was just able to connect to the group.? I will update this thread when I’m able to confirm whether it is working or not.


New Smart Group Setup

 

I'm trying to set up a new smart group server on a Digital Ocean VM.? I've got the server installed and running, and my new group is showing up on??but we aren't able to connect to the group from from radios going through PiStar hotspots.?

At this point I think we're only trying to route to/from the smart group using radios that are on hotspots - no reflector linking.? As I type this I wonder if I'm missing something huge in my understanding.? ?We're putting "PCARES A" in the URCall field and keying up, but we don't connect.? I can do that witih DSTAR1, and I'm connected to that group.?

Do new smart groups have to have a host file update on remote gateways and hotspots?
What ports do I need to open on the firewall to allow connections to the group from outside? (I've got a huge group open around UDP/40000)
Any other thoughts about what could be happening?

Lot info is shown below.? Could this be something related to the timestamp messages at the bottom of the log.


-- Logs begin at Fri 2019-08-23 23:27:36 UTC, end at Sat 2019-08-24 13:17:01 UTC. --
Aug 23 23:27:39 pauldingaresdigital systemd[1]: Started Smart Group Server.
Aug 23 23:27:39 pauldingaresdigital sgs[663]: GATEWAY: callsign='KN4TNE'
Aug 23 23:27:39 pauldingaresdigital sgs[663]: IRCDDB[0]: host='rr.openquad.net' user='KN4VTE' password=''
Aug 23 23:27:39 pauldingaresdigital sgs[663]: Module 0: callsign='PCARES A' unsubscribe='PCARES T' info='Smart Group Server? ' usertimeout=300 callsignswitch=User, txms
Aug 23 23:27:39 pauldingaresdigital sgs[663]: Remote disabled
Aug 23 23:27:39 pauldingaresdigital sgs[663]: SGSThread created. DExtra channels: 0, DCS Channels: 0
Aug 23 23:27:39 pauldingaresdigital sgs[663]: Gateway callsign set to KN4TNE G
Aug 23 23:27:39 pauldingaresdigital sgs[663]: start client and app
Aug 23 23:27:39 pauldingaresdigital sgs[663]: ircDDB host[0] set to rr.openquad.net, username set to KN4VTE
Aug 23 23:27:39 pauldingaresdigital sgs[663]: Group 0: PCARES A/PCARES T using KN4TNE A, "Smart Group Server? ", timeout: 300 mins, c/s switch: User, msg switch: true,
Aug 23 23:27:39 pauldingaresdigital sgs[663]: Remote control is disabled, port set to 0, using IPV4
Aug 23 23:27:42 pauldingaresdigital sgs[663]: Successfully connected to rr.openquad.net at [108.61.245.72]:9007
Aug 23 23:27:42 pauldingaresdigital sgs[663]: IRC Server 0 family is IPV4
Aug 23 23:27:42 pauldingaresdigital sgs[663]: Starting the Smart Group Server thread
Aug 23 23:27:45 pauldingaresdigital sgs[663]: Loaded 464 of 513 DExtra reflectors
Aug 23 23:27:45 pauldingaresdigital sgs[663]: Loaded 849 of 852 DCS reflectors
Aug 23 23:27:50 pauldingaresdigital sgs[663]: IRCDDBApp::setBestServer s-grp1s1
Aug 23 23:27:50 pauldingaresdigital sgs[663]: IRCDDBApp::setCurrentNick kn4vte-1
Aug 23 23:27:52 pauldingaresdigital sgs[663]: Connecting to ircDDB
Aug 23 23:27:53 pauldingaresdigital sgs[663]: IRCDDBApp: state=2 choose new 's-'-user
Aug 23 23:27:54 pauldingaresdigital sgs[663]: IRCDDBApp: state=3 tableID=1
Aug 23 23:27:56 pauldingaresdigital sgs[663]: IRCDDBApp: state=3 tableID=0
Aug 23 23:27:59 pauldingaresdigital sgs[663]: IRCDDBApp: state=6 initialization completed
Aug 23 23:28:00 pauldingaresdigital sgs[663]: Connected to ircDDB
Aug 23 23:49:48 pauldingaresdigital sgs[663]: Tried to update user PY3MO? ?, but the timestamp was stale, record: 2019-08-22 11:42:57, new: 2019-08-22 11:19:20
Aug 23 23:49:48 pauldingaresdigital sgs[663]: Tried to update user PY3MO? ?, but the timestamp was stale, record: 2019-08-22 11:42:57, new: 2019-08-22 11:19:20
Aug 23 23:49:50 pauldingaresdigital sgs[663]: Tried to update user PY3MO? ?, but the timestamp was stale, record: 2019-08-22 11:42:57, new: 2019-08-22 11:19:22
-- Logs begin at Fri 2019-08-23 23:27:36 UTC, end at Sat 2019-08-24 13:17:01 UTC. --
Aug 23 23:27:39 pauldingaresdigital systemd[1]: Started Smart Group Server.
Aug 23 23:27:39 pauldingaresdigital sgs[663]: GATEWAY: callsign='KN4TNE'
Aug 23 23:27:39 pauldingaresdigital sgs[663]: IRCDDB[0]: host='rr.openquad.net' user='KN4VTE' password=''
Aug 23 23:27:39 pauldingaresdigital sgs[663]: Module 0: callsign='PCARES A' unsubscribe='PCARES T' info='Smart Group Server? ' usertimeout=300 callsignswitch=User, txms
Aug 23 23:27:39 pauldingaresdigital sgs[663]: Remote disabled
Aug 23 23:27:39 pauldingaresdigital sgs[663]: SGSThread created. DExtra channels: 0, DCS Channels: 0
Aug 23 23:27:39 pauldingaresdigital sgs[663]: Gateway callsign set to KN4TNE G
Aug 23 23:27:39 pauldingaresdigital sgs[663]: start client and app
Aug 23 23:27:39 pauldingaresdigital sgs[663]: ircDDB host[0] set to rr.openquad.net, username set to KN4VTE
Aug 23 23:27:39 pauldingaresdigital sgs[663]: Group 0: PCARES A/PCARES T using KN4TNE A, "Smart Group Server? ", timeout: 300 mins, c/s switch: User, msg switch: true,
Aug 23 23:27:39 pauldingaresdigital sgs[663]: Remote control is disabled, port set to 0, using IPV4
Aug 23 23:27:42 pauldingaresdigital sgs[663]: Successfully connected to rr.openquad.net at [108.61.245.72]:9007
Aug 23 23:27:42 pauldingaresdigital sgs[663]: IRC Server 0 family is IPV4
Aug 23 23:27:42 pauldingaresdigital sgs[663]: Starting the Smart Group Server thread
Aug 23 23:27:45 pauldingaresdigital sgs[663]: Loaded 464 of 513 DExtra reflectors
Aug 23 23:27:45 pauldingaresdigital sgs[663]: Loaded 849 of 852 DCS reflectors
Aug 23 23:27:50 pauldingaresdigital sgs[663]: IRCDDBApp::setBestServer s-grp1s1
Aug 23 23:27:50 pauldingaresdigital sgs[663]: IRCDDBApp::setCurrentNick kn4vte-1
Aug 23 23:27:52 pauldingaresdigital sgs[663]: Connecting to ircDDB
Aug 23 23:27:53 pauldingaresdigital sgs[663]: IRCDDBApp: state=2 choose new 's-'-user
Aug 23 23:27:54 pauldingaresdigital sgs[663]: IRCDDBApp: state=3 tableID=1
Aug 23 23:27:56 pauldingaresdigital sgs[663]: IRCDDBApp: state=3 tableID=0
Aug 23 23:27:59 pauldingaresdigital sgs[663]: IRCDDBApp: state=6 initialization completed
Aug 23 23:28:00 pauldingaresdigital sgs[663]: Connected to ircDDB
Aug 23 23:49:48 pauldingaresdigital sgs[663]: Tried to update user PY3MO? ?, but the timestamp was stale, record: 2019-08-22 11:42:57, new: 2019-08-22 11:19:20
Aug 23 23:49:48 pauldingaresdigital sgs[663]: Tried to update user PY3MO? ?, but the timestamp was stale, record: 2019-08-22 11:42:57, new: 2019-08-22 11:19:20
Aug 23 23:49:50 pauldingaresdigital sgs[663]: Tried to update user PY3MO? ?, but the timestamp was stale, record: 2019-08-22 11:42:57, new: 2019-08-22 11:19:22
?
--
73
Dan
W4DTO