Keyboard Shortcuts
Likes
- QnetGateway
- Messages
Search
Re: QnetGateway software occasionally unresposive to ID-51a+2
There are a couple of options:
|
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'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 ? We have a separate group for discussing the Smart Group Server at . This is a sub-group of quadnet.groups.io. |
Re: New Smart Group Setup
toggle quoted message
Show quoted text
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.?? |
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:
|
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. -- 73 Dan W4DTO |