I'm stumped....


Steve N4IRS
 

David,
I don't think the dashboard takes STFU into account. I'll look into that for the next update.

Steve

On 12/13/2021 9:16 AM, David - W9DWH via groups.io wrote:
Thanks Steve.  It appears I have it working now:

● stfu.service - STFU Service
   Loaded: loaded (/lib/systemd/system/stfu.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2021-12-13 08:42:19 EST; 25min ago
  Process: 510 ExecStartPre=/bin/sh -c echo "Starting STFU: [`date +%T.%3N`]" >> /var/log/netcheck (code=exited, status=0/SUCCESS)
 Main PID: 558 (STFU)
    Tasks: 3 (limit: 1150)
   Memory: 952.0K
   CGroup: /system.slice/stfu.service
           └─558 /opt/STFU/STFU /opt/MMDVM_Bridge/DVSwitch.ini
 
Dec 13 08:42:19 dvswitch systemd[1]: Starting STFU Service...
Dec 13 08:42:19 dvswitch systemd[1]: Started STFU Service.

I have STFU set for 3104.repeater.net.  However the DVS dashboard is still showing me as connected to the Mexico master (which I was using previously). Brandmeister is also still showing me on the Mexico master as well (when I look up my hotspot). 


David - W9DWH
 

Thanks Steve.  It appears I have it working now:

● stfu.service - STFU Service
   Loaded: loaded (/lib/systemd/system/stfu.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2021-12-13 08:42:19 EST; 25min ago
  Process: 510 ExecStartPre=/bin/sh -c echo "Starting STFU: [`date +%T.%3N`]" >> /var/log/netcheck (code=exited, status=0/SUCCESS)
 Main PID: 558 (STFU)
    Tasks: 3 (limit: 1150)
   Memory: 952.0K
   CGroup: /system.slice/stfu.service
           └─558 /opt/STFU/STFU /opt/MMDVM_Bridge/DVSwitch.ini
 
Dec 13 08:42:19 dvswitch systemd[1]: Starting STFU Service...
Dec 13 08:42:19 dvswitch systemd[1]: Started STFU Service.

I have STFU set for 3104.repeater.net.  However the DVS dashboard is still showing me as connected to the Mexico master (which I was using previously). Brandmeister is also still showing me on the Mexico master as well (when I look up my hotspot). 


Steve N4IRS
 

David,
"systemctl start stfu" starts the stfu service in the background. To see if it's tunning:
systemctl status stfu

To run stfu in the foreground: (Make sure it's not running in the background)
cd /opt/STFU
./stfu /opt/MMDVM_Bridge/DVSwitch.ini

Steve N4IRS

On 12/12/21 4:30 PM, David - W9DWH via groups.io wrote:
I'm trying to get STFU up and running.  I've installed it and it's present in /opt/STFU. I edited the STFU stanza in dvswitch.ini as follows:

[STFU]                          ; Brandmeister Open DMR Terminal (ODMRT) Protocol
BMAddress = 3104.repeater.net   ; Brandmeister ODMRT server address
BMPort = 54006                  ; Brandmeister ODMRT port
BMPassword = <redacted>            ; Your Brandmeister password
Address = 127.0.0.1             ; Address to send AMBE TLV frames to (export)
txPort  = 36100                 ; Port to send AMBE TLV frames to (export)
rxPort  = 36103                 ; Port to listen on (import)
UserID  = 311898302             ; Your DMR ID + SSID
TalkerAlias = [ASL]             ; Max 27 characters
StartTG = 3118983                  ; Startup talk group
LogLevel = 3                    ; STFU log level (0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error)

If I run systemsctl start stfu I get nothing.  It just goes right back to a prompt again.  If I change to the STFU directory and try to start in manually ./STFU I get this error:

E: 2021-12-12 21:13:26.758 DMR, ini file "DVSwitch.ini" was not found.  Fatal error exiting

At this point I'm at a loss.  I have my Allstar node at home bridged to my DVSwitch in the cloud.
 


David - W9DWH
 

I'm trying to get STFU up and running.  I've installed it and it's present in /opt/STFU. I edited the STFU stanza in dvswitch.ini as follows:

[STFU]                          ; Brandmeister Open DMR Terminal (ODMRT) Protocol
BMAddress = 3104.repeater.net   ; Brandmeister ODMRT server address
BMPort = 54006                  ; Brandmeister ODMRT port
BMPassword = <redacted>            ; Your Brandmeister password
Address = 127.0.0.1             ; Address to send AMBE TLV frames to (export)
txPort  = 36100                 ; Port to send AMBE TLV frames to (export)
rxPort  = 36103                 ; Port to listen on (import)
UserID  = 311898302             ; Your DMR ID + SSID
TalkerAlias = [ASL]             ; Max 27 characters
StartTG = 3118983                  ; Startup talk group
LogLevel = 3                    ; STFU log level (0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error)

If I run systemsctl start stfu I get nothing.  It just goes right back to a prompt again.  If I change to the STFU directory and try to start in manually ./STFU I get this error:

E: 2021-12-12 21:13:26.758 DMR, ini file "DVSwitch.ini" was not found.  Fatal error exiting

At this point I'm at a loss.  I have my Allstar node at home bridged to my DVSwitch in the cloud.
 


Mike Zingman - N4IRR
 

The dashboard does log file scraping and if I remember, the solution is to set your STFU log to replace the MMDVM log.  I could be wrong though.


Scott Busby
 

This thread was very helpful in getting STFU connected to Brandmeister. However, now my DVSwitch Dashboard doesn't show any DMR information because it seems to be linked to MMDVM_bridge. How do I get DVSwitch Dashboard to show my DMR calls now that I'm using STFU?
Thanks!
Scott 
KJ6VMH


Tim - KX4ZU
 

Man, I am having a great day.  Everything is falling into place.  Looks like dvswitch.sh will do the trick for changing talkgroups. I am a happy camper. :)


Tim - KX4ZU
 
Edited

Steve,
Thanks so much for the info.  I actually figured it out BEFORE I saw your post, but I do appreciate your input.  Now if I can figure out how to dynamically change the talkgroup with DTMF commands I'll be set.   I had a script that would change the talkgroup using DTMF commands when I was using MMDVM_Bridge, now I need something similar for STFU.


Tim - KX4ZU
 

OK, I think I figured it out.   I had to update my Analog_Bridge.ini to match the STFU txPort, rxPort and txTg parameters from DVSwitch.ini.  Once I had those parameters in sync with the DVSwitch.ini, things started working.

Now I need to figure out how to change the talkgroup using DTMF commands.  On to the next challenge. :)


Steve N4IRS
 

DVSwitch.ini          Analog_Bridge.ini
[STFU]                [AMBE_AUDIO]

txPort  = 36100  -->  
rxPort = 31100       
rxPort  = 36103  <--   txPort = 31103        

Above are the default port numbers for STFU and Analog_Bridge. The TX port in one app must match the RX port in the other app. Same for RX port and TX port.
You can change either file. Since you are just going to run STFU, I would edit the entry for STFU in /opt/MMDVM_Bridge/DVSwitch.ini

Steve N4IRS


On 10/5/2021 2:17 PM, Tim - KX4ZU wrote:

Well, I'm trying to get STFU working.  As I understand it STFU replaces MMDVM_Bridge, so have stopped MMDVM_Bridge from running.   When I start STFU, it appears to login into the Brandmeister server successfully.  When I key up on the specified talkgroup from a DMR radio, I see entries in the log, but I hear no audio from my Allstar node. When I key up the Allstar node, no audio is heard and no entries show up in the STFU log.   I haven't been able to find much on the STFU configuration, so if someone could point me to some instructions or a tutorial I would greatly appreciate it.

Here is an excerpt from the STFU log showing the successful login and the entries from the DMR radio key up:

I: 2021-10-05 18:08:41.426 Successful connection to BM server at ip address: s = 3102.master.brandmeister.network   ; Brandmeister ODMRT server address

BMPor▒▒▒!

I: 2021-10-05 18:08:53.642 taFormat = 3

I: 2021-10-05 18:08:53.643 DMR, ODMR Begin Tx: src = 3168588, dst = 4101 (GROUP)

I: 2021-10-05 18:08:54.820 DMR, ODMR End Tx:DMR frame count was 21 frames

I: 2021-10-05 18:10:13.597 taFormat = 3

I: 2021-10-05 18:10:13.604 DMR, ODMR Begin Tx: src = 3168588, dst = 4101 (GROUP)

I: 2021-10-05 18:10:14.428 DMR, ODMR End Tx:DMR frame count was 15 frames

I: 2021-10-05 18:10:24.691 taFormat = 3

I: 2021-10-05 18:10:24.697 DMR, ODMR Begin Tx: src = 3168588, dst = 4101 (GROUP)

I: 2021-10-05 18:10:32.993 DMR, ODMR End Tx:DMR frame count was 141 frames

 


Tim - KX4ZU
 

Well, I'm trying to get STFU working.  As I understand it STFU replaces MMDVM_Bridge, so have stopped MMDVM_Bridge from running.   When I start STFU, it appears to login into the Brandmeister server successfully.  When I key up on the specified talkgroup from a DMR radio, I see entries in the log, but I hear no audio from my Allstar node. When I key up the Allstar node, no audio is heard and no entries show up in the STFU log.   I haven't been able to find much on the STFU configuration, so if someone could point me to some instructions or a tutorial I would greatly appreciate it.

Here is an excerpt from the STFU log showing the successful login and the entries from the DMR radio key up:

I: 2021-10-05 18:08:41.426 Successful connection to BM server at ip address: s = 3102.master.brandmeister.network   ; Brandmeister ODMRT server address

BMPor▒▒▒!

I: 2021-10-05 18:08:53.642 taFormat = 3

I: 2021-10-05 18:08:53.643 DMR, ODMR Begin Tx: src = 3168588, dst = 4101 (GROUP)

I: 2021-10-05 18:08:54.820 DMR, ODMR End Tx:DMR frame count was 21 frames

I: 2021-10-05 18:10:13.597 taFormat = 3

I: 2021-10-05 18:10:13.604 DMR, ODMR Begin Tx: src = 3168588, dst = 4101 (GROUP)

I: 2021-10-05 18:10:14.428 DMR, ODMR End Tx:DMR frame count was 15 frames

I: 2021-10-05 18:10:24.691 taFormat = 3

I: 2021-10-05 18:10:24.697 DMR, ODMR Begin Tx: src = 3168588, dst = 4101 (GROUP)

I: 2021-10-05 18:10:32.993 DMR, ODMR End Tx:DMR frame count was 141 frames

 


Roger Davies
 

Thanks Jorge. Made a difference.
Here's what I get when I run systemsctl start stfu (lowcase):

dvswitch@dvswitch-server:~ $ systemctl start stfu
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to start 'stfu.service'.
Authenticating as: ,,, (dvswitch)
Password:
==== AUTHENTICATION COMPLETE ===

Does this look right? Do I need to enter my password to run it?
Also, after running it, the mode changes right back to DMR when I choose STFU mode.
I think I'm getting closer.....


Jorge (George)
 

systemsctl start stfu (lowcase)


Roger Davies
 

Hi Steve,
Thanks for you patience. I appreciate your help. Thought I'd give this a go on my own to learn.
I've been trying to get STFU to work, but I must be missing something. When I select STFU as a mode, it changes right back to DMR.
Here what I've done so far:
1. Ran apt update and apt install stfu
2. Edited  DVSwitch.ini STFU section:
[STFU]                          ; Brandmeister Open DMR Terminal (ODMRT) Protocol
BMAddress = 3102.repeater.net   ; Brandmeister ODMRT server address
BMPort = 54006                  ; Brandmeister ODMRT port
BMPassword = XXXXX       ; Your Brandmeister password
Address = 127.0.0.1             ; Address to send AMBE TLV frames to (export)
txPort  = 36100                 ; Port to send AMBE TLV frames to (export)
rxPort  = 36103                 ; Port to listen on (import)
UserID  = 3149001             ; Your DMR ID + SSID (I did not add SSID)
TalkerAlias = N0CALL Name City  ; Max 27 characters
StartTG = 3149                  ; Startup talk group
LogLevel = 3                    ; STFU log level (0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error)

3. Here is my STFU.log:
I: 2021-08-23 19:06:55.733 STFU is starting
I: 2021-08-23 19:06:55.734 Connecting to STFU server at address: 3102.repeater.net:54006
I: 2021-08-23 19:06:56.009 Successful connection to BM server at ip address:
I: 2021-08-23 19:18:20.166 Signal 15 received, exiting STFU
I: 2021-08-23 19:18:20.166 exitApp
M: 2021-08-23 19:18:26.263 DMR, Setting [STFU] BMAddress -> 3102.repeater.net
M: 2021-08-23 19:18:26.264 DMR, Setting [STFU] BMPort -> 54006
M: 2021-08-23 19:18:26.264 DMR, Setting [STFU] BMPassword -> XXXXXX
M: 2021-08-23 19:18:26.264 DMR, Setting [STFU] Address -> 127.0.0.1
M: 2021-08-23 19:18:26.264 DMR, Setting [STFU] txPort -> 36100
M: 2021-08-23 19:18:26.264 DMR, Setting [STFU] rxPort -> 36103
M: 2021-08-23 19:18:26.264 DMR, Setting [STFU] UserID -> 3149001
M: 2021-08-23 19:18:26.264 DMR, Setting [STFU] TalkerAlias -> N0CALL Name City (could this be my problem?)
M: 2021-08-23 19:18:26.264 DMR, Setting [STFU] StartTG -> 3149
M: 2021-08-23 19:18:26.264 DMR, Setting [STFU] LogLevel -> 3
I: 2021-08-23 19:18:26.264 STFU Version 0.3.3
I: 2021-08-23 19:18:26.264 Copyright (C) 2021 DVSwitch, INAD.
I: 2021-08-23 19:18:26.264 Created by Mike N4IRR and Steve N4IRS
I: 2021-08-23 19:18:26.264 STFU comes with ABSOLUTELY NO WARRANTY
I: 2021-08-23 19:18:26.264
I: 2021-08-23 19:18:26.264 This software is for use on amateur radio networks only,
I: 2021-08-23 19:18:26.264 it is to be used for educational purposes only. Its use on
I: 2021-08-23 19:18:26.264 commercial networks is strictly prohibited.
I: 2021-08-23 19:18:26.264
I: 2021-08-23 19:18:26.264 STFU is starting
I: 2021-08-23 19:18:26.265 Connecting to STFU server at address: 3102.repeater.net:54006
I: 2021-08-23 19:18:26.525 Successful connection to BM server at ip address:
I: 2021-08-23 19:38:33.164 DMR, ODMR Begin Tx: src = 3149170, dst = 3149 (GROUP)
I: 2021-08-23 19:38:39.740 DMR, ODMR End Tx:DMR frame count was 111 frames
 

3. When I run sudo systemctl start STFU, I get Failed to start STFU.service: Unit STFU.service not found.

Thanks again for your help,
Roger N6DVZ


Robert Rodriguez
 

I had a similar problem connecting to the weekly 3142 net from my ClearNode- tried a Canadian server and could hear them
Ok but couldn’t transmit. I’m not familiar with STFU; would that break the normal operation of the ClearNode?


David - W9DWH
 

That's the same name of the file that I used.


Roger Davies
 
Edited

David,
What is the name of the log file is the one you posted above?
I looked at MMDVM_Bridge-2021-08-22.log and it looks different.


Roger Davies
 

David, 
I was able to connect to the Mexico master. I checked for my info on the master list and I showed up there.
I'll take a look at setting the password again.
Thanks


David - W9DWH
 

Well at least they admitted blocking it now where the first time they told me nothing had changed.on their end recently. 

Roger, yes I'm using the same password. You might want to go into your BM selfcare settings and set your password again and then go through the initial setup on DVS again.


Steve N4IRS
 

Yes, The password works. Check your MMDVM_Bridge log in /var/log/mmdvm

On 8/22/21 6:56 PM, Roger Davies wrote:
Thanks Steve. I'll take your advice on posting about DVS on Telegram.
I connected to Parrot, using master 3104 and Parrot works. Still no luck on our state TG 3149.
How do I go about using/setup STFU?

David,
I tried the Mexico master and had no luck there. Do you use the same password as you do for BM?
Thanks