Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Qnet gateway sounding like Darf Vader?
To talk to YSFGateway, local port should be 3200, and gateway port should be 4200.? Local port refers not to the device, but to MMDVMHost itself.? Even though they run together, MMDVMHost and YSFGateway are two completely separate pieces of software.? Basically, it is the port that MMDVMHost is 'listening' on.? Gateway port the port that YSFGateway is 'listening' on.?
In the YSFGateway configuration, you should basically see the exact opposite:? local port in YSFGateway.qn is 4200, and MMDVMHost port is 3200.? |
开云体育THis is what the logs look like, I did some transmitting, but the connection just lost all by itself:? ? ? ? ? ??Log Menu USER ? ? ? PID %CPU %MEM? ? VSZ ? RSS TTY? ? ? STAT START ? TIME COMMAND root ? ? ? 262? 0.1? 0.6 ? 7784? 2784 ?? ? ? ? Ss ? 09:14 ? 0:32 /bin/bash /usr/local/bin/qndtmf root? ? ? 1788? 3.5? 0.6 ? 4652? 2828 ?? ? ? ? Ss ? 14:26 ? 0:43 /usr/local/bin/MMDVMHost /usr/local/etc/MMDVM.qn root? ? ? 1840? 2.0? 0.8 ? 5760? 3716 ?? ? ? ? Ss ? 14:26 ? 0:23 /usr/local/bin/YSFGateway /usr/local/etc/YSFGateway.qn root ? ? 31926? 0.6? 1.2? 49468? 5368 ?? ? ? ? Ssl? 14:06 ? 0:14 /usr/local/bin/qngateway /usr/local/etc/qn.cfg root ? ? 31975? 1.4? 1.0? 15424? 4528 ?? ? ? ? Ss ? 14:07 ? 0:35 /usr/local/bin/qnlink /usr/local/etc/qn.cfg root ? ? 32043? 0.0? 0.5 ? 4148? 2624 ?? ? ? ? Ss ? 14:07 ? 0:00 /usr/local/bin/qnrelay /usr/local/etc/qn.cfg After starting a log, use <Ctrl>+C to stop the log and return to this menu. ?g? : qngateway Log ?l? : qnlink Log ?dt : qndtmf Log ?b? : qnrelay Log ?mb : mmdvm Log ? ? ? dmrgateway is not running ?yb : ysfgateway Log ?q? : quit and return to main menu ***L:og begins* Command: yb -- Logs begin at Thu 2021-07-08 09:14:18 CDT. -- Jul 08 14:26:57 ai5os-gw YSFGateway[1840]: I: 2021-07-08 19:26:57.223 The ID of this repeater is 83386 Jul 08 14:26:57 ai5os-gw YSFGateway[1840]: I: 2021-07-08 19:26:57.237 Loaded 2300 FCS room descriptions Jul 08 14:27:02 ai5os-gw YSFGateway[1840]: I: 2021-07-08 19:27:02.690 Loaded 1029 YSF reflectors Jul 08 14:27:02 ai5os-gw YSFGateway[1840]: I: 2021-07-08 19:27:02.694 Loaded YSF parrot Jul 08 14:27:02 ai5os-gw YSFGateway[1840]: I: 2021-07-08 19:27:02.694 Loaded YSF2DMR Jul 08 14:27:02 ai5os-gw YSFGateway[1840]: I: 2021-07-08 19:27:02.695 Loaded YSF2NXDN Jul 08 14:27:02 ai5os-gw YSFGateway[1840]: I: 2021-07-08 19:27:02.695 Loaded YSF2P25 Jul 08 14:27:03 ai5os-gw YSFGateway[1840]: M: 2021-07-08 19:27:03.196 No connection startup Jul 08 14:27:03 ai5os-gw YSFGateway[1840]: M: 2021-07-08 19:27:03.203 Starting YSFGateway-20201108 Jul 08 14:27:03 ai5os-gw YSFGateway[1840]: M: 2021-07-08 19:27:03.206 Link successful to MMDVM Jul 08 14:48:50 ai5os-gw YSFGateway[1840]: M: 2021-07-08 19:48:50.180 Connect to 32592 - "US-AMERICA-LINK " has been requested by AI5OS Jul 08 14:48:50 ai5os-gw YSFGateway[1840]: M: 2021-07-08 19:48:50.186 Opening YSF network connection Jul 08 14:48:50 ai5os-gw YSFGateway[1840]: I: 2021-07-08 19:48:50.187 Opening UDP port on 42000 Jul 08 14:50:50 ai5os-gw YSFGateway[1840]: W: 2021-07-08 19:50:50.364 Link has failed, polls lost Jul 08 14:50:50 ai5os-gw YSFGateway[1840]: M: 2021-07-08 19:50:50.365 Closing YSF network connection Jul 08 14:50:50 ai5os-gw YSFGateway[1840]: W: 2021-07-08 19:50:50.365 Link has failed, polls lost ***Logends***
|
This log doesn't indicate a problem with your hotspot configuration, but rather a problem with the connection between your hotspot and US-America-Link:
2021-07-08 19:48:50.180 Connect to 32592 - "US-AMERICA-LINK " has been requested by AI5OS???? #Obviously, this indicates your connection request 2021-07-08 19:48:50.186 Opening YSF network connection???? 2021-07-08 19:48:50.187 Opening UDP port on 42000???? #The hotspot is sending a connection request on port 42000 2021-07-08 19:50:50.364 Link has failed, polls lost???? #US-America-Link did not respond to successive polls Have you tried any other YSF reflectors to see if you could maintain a connection there?? Also, do you have any other hotspots behind the same public IP address which are connect to US-America-Link?? If so, this could be the source of the problem. I am happy to continue helping, but it is probably worth noting that specific support for MMDVMHost and YSFGateway (not QnetGateway) can be found at /g/OpenDV/? The configuration of MMDVMHost and YSFGateway are identical whether using QnetGateway for D-Star, or ircddb-gateway for D-Star.? (You would see the configuration files in the OpenDV section as MMDVM.ini instead of MMDVM.qn).? All QnetGateway does with MMDVMHost and YSFGateway is to install them in systemd. |
toggle quoted message
Show quoted text
|
开云体育I have tried some other ySF reflectors, and I get the same result… for some reason it will drop after a few seconds, so there is definitely something weird going on.
|
toggle quoted message
Show quoted text
|
开云体育I’ve found it, and updated the path in the file. ?I see that I can install it into Cron. ?Can you show me what a line would look like to have this run every night at 12:00 A.M? ?Sorry about this, voiceover doesn’t do a good job of translating proper formatting over in to terminal. ?It would be nice if there was some kind of automated script one could use to create a cronjob if needed where it asked you the command, and then just had you input the date/time if it’s execution. ?Trust me I’m filing bugs against voiceover, and it’s use in terminal.
|
First off, let me apologise.? I apparently passed over your previous mentions of VoiceOver and did not realise until now that you have been using it to read what I have been posting.? I probably could have been a little more careful to make sure it would render properly for you.
There are two ways to setup a job to run at midnight in crontab: 0?? 0?? *?? *?? *?? /path/to/job.sh In order, those figures are the first minute - in the first hour - of every calendar day - of every month - on every weekday - and the full path to the job. If your system is running on a Raspberry Pi and your user name is 'pi,' the this would be your crontab entry to update ysfhosts.txt every day at midnight would be: 0?? 0?? *?? *?? *? /home/pi/YSFClients/YSFGateway/YSFHostsupdate.sh There is also a shorthand for a daily job at midnight.? '@daily' can replace the entire scheduling portion of the line, like this: @daily???? /home/pi/YSFClients/YSFGateway/YSFHostsupdate.sh |
开云体育I used your first example, and it worked out fine. ?I’ve got my Qnet gateway setup to run the YSFHostupdate.sh script every night at midnight, and so far I’ve not seen any errors in the system logs thus far, so all seems to be working as it should. ?Don’t worry about the voiceover thing, it works 95% of the time, but sometimes some syntax causes it to get a bit flaky. ?Kind of ironic that it doesn’t really have a lot of smarts to work well in terminal, and terminal is just simply a flat text-based screen with nothing but ansi characters, that should not need some kind of special call to some API to let voiceover know that a given event has occurred. ?This has been good, it’s made me a bit more competent in Linux, so all is not lost.
|
to navigate to use esc to dismiss