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?
FOlks,
I’ve just compiled my Qnet gateway build on one of the boards put out by n5boc: aka, Lonestar Semi conductor, and the board is a full duplex board. I uninstalled the configuration, created a new configuration indicating that my gateway was using an mmdvm host, and then recompiled the gateway. The gateway seems to work fine, but when I key, and unkey my radio, I get a sound that is kind of like some weird monster, and then I hear the confirmation of transmission. Is there any setting that I can change to aleviate this? Thanks, Justin |
****Update****
toggle quoted message
Show quoted text
I recompiled the Qnet gateway app, choosing the board as a d-star modem, and that appears to work where as using an MMDVM host does not. DO full duplex mmdvm boards behave differently? On Jul 6, 2021, at 9:50 AM, Justin Mann via groups.io <w9fyi@...> wrote: |
开云体育Further update:I’ve compiled the Qnet gateway to use the MMDVM as a full duplex hotspot, rx frequency is 439.000 tx is 434.000. ?I’ve attached some logs if that would help. THanks, Justin
|
开云体育OK let’s see if this works? ?I need to have the RX at 439.000, and the TX at 434.000 that’s the way that I have this setup in my Th-d74. ?I should be able to use MMDVM host?
|
Since you are having issues, my first suggestion would be that you configure and verify the functionality of each voice mode independently.? Disable Fusion and Fusion network and verify that D-Star is working; then configure Fusion.
You appear to be attempting to configure xlx307 directly in MMDMHost under your YSF network, but you also have YSFGateway configured.? If you wish to XLX307 directly, the your configuration under Fusion Network should look like this: [System Fusion Network] Enable=1 LocalAddress=127.0.0.1 LocalPort=0 GatewayAddress=xlx307.openquad.net GatewayPort=42000??? #note that the default for this field is 4200 # ModeHang=3 Debug=0 The advantage connecting directly to an XLX reflector is that you can change the module of the reflector from you radio.? However, this also makes it so that you can only connect to XLX307 modules and nothing else.? That is why I would recommend using YSFGateway instead.? For YSFGateway, the Fusion Network portion on MMDVM.qn should look like this (so long as you haven't changed the ports in YSFGateway.qn): [System Fusion Network] Enable=1 LocalAddress=127.0.0.1 LocalPort=3200 GatewayAddress=127.0.0.1 GatewayPort=4200 # ModeHang=3 Debug=0 The other thing I noticed is that your logs paths haven't been configured.? You need to specify an extant path for the log for MMDVMHost and YSFGateway.? I prefer to use /var/log.? I would create a directory for each log: sudo mkdir /var/log/mmdvmhost sudo mkdir /var/log/ysfgateway After that go into MMDVM.qn and YSFGateway.qn and populate the FilePath under [Log] appropriately.? This isn't the only way to do it, but it is a fairly standard configuration for programs running in systemd. |
开云体育SO what if I just want to have YSFGateway across the board, what should it look like under MMDVMhost.qn?
|
开云体育HI there,What does your log path statement look like in MMDVMhost.qn, and YSFGateway.qn? ?It helps having some examples, since I’m using voiceover on the mac, and having a working example let’s me compare the two and check for errors. ?When you are configuring, or adding a new module, do you have to uninstall the whole thing and reinstall, so essentially recompile the gateway, or can you add corrections once it has been configured without having to use the us command? Thanks for your help, Justin
|
For using YSFGateway, MMDVM.qn should have the following under System Fusion Network:
System Fusion Network] Enable=1 LocalAddress=127.0.0.1 LocalPort=3200 GatewayAddress=127.0.0.1 GatewayPort=4200 # ModeHang=3 Debug=0 If you use the instructions I gave you for creating the log directories, then the log paths would look like this: FilePath=/var/log/mmdvmhost? #for MMDVMHost, line 28 in the MMDVM.qn file you posted FilePath=/var/log/ysfgateway? #for YSFGateway, line 29 in the YSFGateway.qn file you posted For making changes to do with MMDVMHost or YSFGateway, you can stop and restart those specific programs without doing a complete uninstall; but things don't always behave properly when you do that.? The best bet is to run a 'us' command from qnadmin, then run an 'is' command.? There is no need to run qnconfig unless you are making changes to the D-Star side.? As long as you haven't run a 'git pull', there is no need to recompile. |
开云体育SO this looks like that everything started. ?I”ll have to get some help changing some settings in my FT-70 to make this work, but I do notice that a couple of reflectors could not get loaded:*** logs follow*** ? ? ? ? ? ??Log Menu USER ? ? ? PID %CPU %MEM? ? VSZ ? RSS TTY? ? ? STAT START ? TIME COMMAND root ? ? ? 265? 0.1? 0.6 ? 7784? 2720 ?? ? ? ? Ss ? 08:56 ? 0:18 /bin/bash /usr/local/bin/qndtmf root ? ? 19865? 0.9? 1.1? 49468? 5268 ?? ? ? ? Ssl? 12:02 ? 0:00 /usr/local/bin/qngateway /usr/local/etc/qn.cfg root ? ? 19913? 1.8? 1.0 ? 6196? 4556 ?? ? ? ? Ss ? 12:02 ? 0:00 /usr/local/bin/qnlink /usr/local/etc/qn.cfg root ? ? 19964? 0.0? 0.5 ? 4148? 2632 ?? ? ? ? Ss ? 12:02 ? 0:00 /usr/local/bin/qnrelay /usr/local/etc/qn.cfg root ? ? 20022? 3.4? 0.6 ? 4652? 2876 ?? ? ? ? Ss ? 12:02 ? 0:01 /usr/local/bin/MMDVMHost /usr/local/etc/MMDVM.qn root ? ? 20076? 2.9? 0.8 ? 5756? 3760 ?? ? ? ? Ss ? 12:02 ? 0:00 /usr/local/bin/YSFGateway /usr/local/etc/YSFGateway.qn 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 Command: yb -- Logs begin at Wed 2021-07-07 08:56:13 CDT. -- Jul 07 12:02:38 ai5os-gw YSFGateway[20076]: E: 2021-07-07 17:02:38.656 Cannot find address for host Jul 07 12:02:38 ai5os-gw YSFGateway[20076]: W: 2021-07-07 17:02:38.659 Unable to resolve the address of YSF reflector - US-US-POTA Jul 07 12:02:38 ai5os-gw YSFGateway[20076]: I: 2021-07-07 17:02:38.671 Loaded 1027 YSF reflectors Jul 07 12:02:38 ai5os-gw YSFGateway[20076]: I: 2021-07-07 17:02:38.673 Loaded YSF parrot Jul 07 12:02:38 ai5os-gw YSFGateway[20076]: I: 2021-07-07 17:02:38.675 Loaded YSF2DMR Jul 07 12:02:38 ai5os-gw YSFGateway[20076]: I: 2021-07-07 17:02:38.677 Loaded YSF2NXDN Jul 07 12:02:38 ai5os-gw YSFGateway[20076]: I: 2021-07-07 17:02:38.677 Loaded YSF2P25 Jul 07 12:02:38 ai5os-gw YSFGateway[20076]: M: 2021-07-07 17:02:38.921 No connection startup Jul 07 12:02:38 ai5os-gw YSFGateway[20076]: M: 2021-07-07 17:02:38.924 Starting YSFGateway-20201108 Jul 07 12:02:42 ai5os-gw YSFGateway[20076]: M: 2021-07-07 17:02:42.006 Link successful to MMDVM
|
That happens.? I don't know for sure, but I think it is a temoprary DNS error.? I have waited a bit before trying to connect to one of those listed as 'unable to resolve address' and have been able to connect.? Truthfully, there is really never anything in the error list that I ever connect to.
Glad you got it working! |
开云体育SO when you want to use the YSF side of the hotspot you just turn off the d-star side, or do you leave it running? I really like the interface now that this is working it is clean, and the dashboard is easier to navigate.
|
You don't need to disable one to use the other.? There are to setting near the top of MMDVM.qn that control what is called 'Mode Hang'.
'RFModeHang' is the time in seconds that MMDVMHost will ignore other modes after you key up on a given mode. 'NetModeHang' in the time in second that MMDVMHost will ignore other modes after a network transmission has been made in a given mode. As long as these two are set appropriately, you should never have an interrupted QSO in any mode. I personally prefer 20 seconds for RFModeHang and 10 seconds for NetModeHang. |
开云体育So there is no reason then I shouldn’t have DMR enabled as well. ?I don’t have a dmr radio, but if dmr is not enabled, will YSF2DMR work?
|
开云体育Hi,I’ve been playing with the YSF portion of Qnet gateway, and it definitely connects to any of the YSF reflectors that I use, but I hear no audio. ?I suspect that I don’t have the necessary ports open or? something, and I will get a Poll failed after a little bit of time in the logs: *** Logs follow*** ? ? ? ? ? ??Log Menu USER ? ? ? PID %CPU %MEM? ? VSZ ? RSS TTY? ? ? STAT START ? TIME COMMAND root ? ? ? 258? 0.1? 0.6 ? 7784? 2644 ?? ? ? ? Ss ? Jul07 ? 1:01 /bin/bash /usr/local/bin/qndtmf root ? ? 18926? 0.6? 1.1? 49468? 5284 ?? ? ? ? Ssl? 07:20 ? 0:25 /usr/local/bin/qngateway /usr/local/etc/qn.cfg root ? ? 18974? 1.4? 1.0? 15424? 4512 ?? ? ? ? Ss ? 07:20 ? 0:59 /usr/local/bin/qnlink /usr/local/etc/qn.cfg root ? ? 19043? 0.0? 0.5 ? 4148? 2616 ?? ? ? ? Ss ? 07:20 ? 0:00 /usr/local/bin/qnrelay /usr/local/etc/qn.cfg root ? ? 21249? 3.5? 0.6 ? 4652? 2892 ?? ? ? ? Ss ? 07:40 ? 1:41 /usr/local/bin/MMDVMHost /usr/local/etc/MMDVM.qn root ? ? 21301? 2.0? 0.8 ? 5756? 3760 ?? ? ? ? Ss ? 07:40 ? 0:59 /usr/local/bin/YSFGateway /usr/local/etc/YSFGateway.qn 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 Command: yb -- Logs begin at Wed 2021-07-07 22:17:02 CDT. -- Jul 08 07:40:38 ai5os-gw YSFGateway[21301]: I: 2021-07-08 12:40:38.406 Loaded YSF2P25 Jul 08 07:40:38 ai5os-gw YSFGateway[21301]: M: 2021-07-08 12:40:38.667 No connection startup Jul 08 07:40:38 ai5os-gw YSFGateway[21301]: M: 2021-07-08 12:40:38.672 Starting YSFGateway-20201108 Jul 08 07:40:41 ai5os-gw YSFGateway[21301]: M: 2021-07-08 12:40:41.684 Link successful to MMDVM Jul 08 08:10:21 ai5os-gw YSFGateway[21301]: M: 2021-07-08 13:10:21.600 Connect to 32592 - "US-AMERICA-LINK " has been requested by AI5OS Jul 08 08:10:21 ai5os-gw YSFGateway[21301]: M: 2021-07-08 13:10:21.606 Opening YSF network connection Jul 08 08:10:21 ai5os-gw YSFGateway[21301]: I: 2021-07-08 13:10:21.606 Opening UDP port on 4200 Jul 08 08:12:21 ai5os-gw YSFGateway[21301]: W: 2021-07-08 13:12:21.785 Link has failed, polls lost Jul 08 08:12:21 ai5os-gw YSFGateway[21301]: M: 2021-07-08 13:12:21.786 Closing YSF network connection Jul 08 08:12:21 ai5os-gw YSFGateway[21301]: W: 2021-07-08 13:12:21.786 Link has failed, polls lost ***Log ends*** My router supports UPNP, so it should give this ting whatever it needs I would think. Thanks for your help, Justin
|
You shouldn't need to open ports to use YSF reflectors.? There is constant polling between YSFGateway and the reflector which keep everything open.?
From the log, it seems that YSFGateway is attempting to connect to America-Link on port 4200.? I double-checked, and the correct port for America-Link is 42000 (which is the standard WAN YSF port).? |
开云体育So I went back, and updated my network port in YSFGateway.qn, and MMDVMhost.qQN to 42000, uninstalled, and then recompiled the program. ?YSF gateway is running, I can get confirmation from the hotspot that the YSF portion is working, but if I try and use the wires-x button, I don’t hear the ascending tones that let me know ‘m in wires-x mode. ?Is there anything that I may have buggered up?
|
Sorry that I wasn't clear.? The Fusion Network port in MMDVM.qn SHOULD be 4200.? This is the port used for communication between MMDVMHost and YSFGateway.
The port used for outbound connection from YSFGateway to a YSF reflector is most often 42000, as in the case of US-Amercia-Link.? The ports for outbound connections to YSF reflectors are found in ~/YSFClients/YSFGateway/YSFHosts.txt |
toggle quoted message
Show quoted text
|
开云体育We’re talking about the local port under the fusion heading that should be 4200 correct? i’m looking at my?fusion network heading, and I see: [System Fusion Network] Enable=1 LocalAddress=127.0.0.1 LocalPort=4200 GatewayAddress=127.0.0.1 GatewayPort=42000 # ModeHang=3 Debug=0 This is after I’ve changed the localport to 4200
|
to navigate to use esc to dismiss