Date   

Trying to get HBlink to connect to Brandmeister without success: #hblink

Carlos Minguela
 


Hello, for a week now my HBlink has not been able to connect with BM. No changes have been made to the system. This is the log and configuration. Have any of you had a similar situation? Thanks for your help.

Carlos
KP4CA

Log:

WARNING 2019-11-15 18:48:46,712 (TG33015) MSTNAK Received. Resetting connection to the Master.
INFO 2019-11-15 18:48:51,643 (TG33015) Sending login request to master 74.91.114.19:62031
INFO 2019-11-15 18:48:51,676 (TG33015) Repeater Login ACK Received with 32bit ID: 1751451459
WARNING 2019-11-15 18:48:51,710 (TG33015) MSTNAK Received. Resetting connection to the Master.
INFO 2019-11-15 18:48:56,644 (TG33015) Sending login request to master 74.91.114.19:62031
INFO 2019-11-15 18:48:56,676 (TG33015) Repeater Login ACK Received with 32bit ID: 1751451459
WARNING 2019-11-15 18:48:56,710 (TG33015) MSTNAK Received. Resetting connection to the Master.
INFO 2019-11-15 18:49:01,643 (TG33015) Sending login request to master 74.91.114.19:62031
INFO 2019-11-15 18:49:01,675 (TG33015) Repeater Login ACK Received with 32bit ID: 1751451459
WARNING 2019-11-15 18:49:01,710 (TG33015) MSTNAK Received. Resetting connection to the Master.
INFO 2019-11-15 18:49:06,643 (TG33015) Sending login request to master 74.91.114.19:62031
 

hblink.cfg

[TG33015]
MODE: PEER
ENABLED: True
LOOSE: False
EXPORT_AMBE: False
IP: 
PORT: 54002
MASTER_IP: 74.91.114.19
MASTER_PORT: 62031
PASSPHRASE: passw0rd
CALLSIGN: KP4CA
RADIO_ID: 330500410
RX_FREQ: 440750000
TX_FREQ: 445750000
TX_POWER: 25
COLORCODE: 1
SLOTS: 2
LATITUDE: 18.296409
LONGITUDE: -067.161799
HEIGHT: 75
LOCATION: Anasco, PR
DESCRIPTION: HBlink Master
URL: https://www.qrz.com/db/KP4CA
SOFTWARE_ID: 20170620
PACKAGE_ID: MMDVM_HBlink
GROUP_HANGTIME: 5
OPTIONS:
USE_ACL: True
SUB_ACL: DENY:1
TGID_TS1_ACL: PERMIT:ALL
TGID_TS2_ACL: PERMIT:ALL
 


Re: Analog_Bridge remote control (TLV) commands exposed.

SP2ONG Waldek
 

Heiko,

Yes, you know that this is not a problem for me :-) but many users do not know all the DVSwitch elements so precisely and that's why I pay attention

73 Waldek


Re: Analog_Bridge remote control (TLV) commands exposed.

Steve N4IRS
 

Yes, but it's very easy for us to change dvswitch.sh and avoid the problem alltogether.

On 11/15/2019 9:51 AM, Heiko DL1BZ wrote:
It's not really a problem. The ports in hbmonitor and hblink3 can be changed simply. I'm running here 3 instances of hblink3 and 3 instaces of hbmonitor at the same server. In this case you need change the ports too.
Look in the source of hbmonitor and hblink3 and change it. I'm sure Waldek - you know how you need to do this, hi.

73 Heiko, DL1BZ


Re: Analog_Bridge remote control (TLV) commands exposed.

Heiko DL1BZ
 

It's not really a problem. The ports in hbmonitor and hblink3 can be changed simply. I'm running here 3 instances of hblink3 and 3 instaces of hbmonitor at the same server. In this case you need change the ports too.
Look in the source of hbmonitor and hblink3 and change it. I'm sure Waldek - you know how you need to do this, hi.

73 Heiko, DL1BZ


Re: Analog_Bridge remote control (TLV) commands exposed.

Steve N4IRS
 

dvswitch.sh will be able to change DMRID and callsign. Next revision (or so)

Steve N4IRS

On 11/15/2019 1:17 AM, Waldek SP2ONG wrote:
Steve

I have start with send EmCom info via USRP Ananlog_Bridge and it will be useful possible use dvswitch.sh script yo change DMR ID in "gatewayDmrId"

73 Waldek


Re: Analog_Bridge remote control (TLV) commands exposed.

Steve N4IRS
 

Yes, it could happen. HTTP is only one way to transfer files but we will move the port.

Thanks, Steve N4IRS

On 11/15/2019 2:50 AM, Waldek SP2ONG wrote:
Steve

Looking through the dvswitch.sh file I see that it uses SimpleHTTPServer on python 9000 in python. Many people use Analog_Bridge on the same computer as they have HBlink3 and HBmonitor which uses port 9000.

I may be wrong but there may be a port conflict?

73 Waldek


Re: Analog_Bridge remote control (TLV) commands exposed.

SP2ONG Waldek
 
Edited

Steve

Looking through the dvswitch.sh file I see that it uses SimpleHTTPServer on port 9000. Many people use Analog_Bridge on the same computer as they have HBlink3 and HBmonitor which uses port 9000.

I may be wrong but there may be a port conflict?

73 Waldek


Re: Analog_Bridge remote control (TLV) commands exposed.

SP2ONG Waldek
 
Edited

Steve

I have start with send EmCom info via USRP Ananlog_Bridge and it will be useful possible use dvswitch.sh script to change DMR ID in "gatewayDmrId"

73 Waldek


Re: DMR to YSF Weird Issue

Walter Holmes K5WH
 

You’re the best Steve..

 

That all works perfectly now..

 

Thanks again..

 

Walter/K5WH

 

From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> On Behalf Of Steve N4IRS
Sent: Thursday, November 14, 2019 6:11 PM
To: main@DVSwitch.groups.io
Subject: Re: [DVSwitch] DMR to YSF Weird Issue

 

Walter,
The reason the  file has a extension is so that people can determine which file they need for their architecture. You can rename the file so that it matches your service.
I put the most current version on github so people can try the new program to fix bugs or add features before I publish the file in the APT repository.

Once a month, I will update the APT repository, if the most current program is over 2 weeks old (and no bugs reported)

73, Steve N4IRS

On 11/14/19 6:39 PM, Walter Holmes K5WH wrote:

Steve,

 

To have this run as a service now, should I rename the MMMDVM_Bridge.amd64 file as MMMDVM_Bridge, so I can restart the mmdvm_bridge service?

 

Or is there an easier way to have the ./MMDVM_Bridge.amd64 MMDVM_Bridge.ini launch at startup automatically?

 

Or possibly the apt-get update and apt-get upgrade if the package is updated there already?

 

Thanks,

Walter/K5WH

 

From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> On Behalf Of Steve N4IRS
Sent: Tuesday, November 12, 2019 10:02 AM
To: main@DVSwitch.groups.io
Subject: Re: [DVSwitch] DMR to YSF Weird Issue

 

Walter,
I updated MMMDVM_Bridge.amd64 yesterday. Please get a fresh copy from github.

Steve

On 11/12/2019 10:51 AM, Walter Holmes K5WH wrote:

hmm, even as root, I get a permission denied message when trying to run that.

 

 


Re: DMR to YSF Weird Issue

Steve N4IRS
 

Walter,
The reason the  file has a extension is so that people can determine which file they need for their architecture. You can rename the file so that it matches your service.
I put the most current version on github so people can try the new program to fix bugs or add features before I publish the file in the APT repository.

Once a month, I will update the APT repository, if the most current program is over 2 weeks old (and no bugs reported)

73, Steve N4IRS

On 11/14/19 6:39 PM, Walter Holmes K5WH wrote:

Steve,

 

To have this run as a service now, should I rename the MMMDVM_Bridge.amd64 file as MMMDVM_Bridge, so I can restart the mmdvm_bridge service?

 

Or is there an easier way to have the ./MMDVM_Bridge.amd64 MMDVM_Bridge.ini launch at startup automatically?

 

Or possibly the apt-get update and apt-get upgrade if the package is updated there already?

 

Thanks,

Walter/K5WH

 

From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> On Behalf Of Steve N4IRS
Sent: Tuesday, November 12, 2019 10:02 AM
To: main@DVSwitch.groups.io
Subject: Re: [DVSwitch] DMR to YSF Weird Issue

 

Walter,
I updated MMMDVM_Bridge.amd64 yesterday. Please get a fresh copy from github.

Steve

On 11/12/2019 10:51 AM, Walter Holmes K5WH wrote:

hmm, even as root, I get a permission denied message when trying to run that.

 



Re: DMR to YSF Weird Issue

Walter Holmes K5WH
 

Steve,

 

To have this run as a service now, should I rename the MMMDVM_Bridge.amd64 file as MMMDVM_Bridge, so I can restart the mmdvm_bridge service?

 

Or is there an easier way to have the ./MMDVM_Bridge.amd64 MMDVM_Bridge.ini launch at startup automatically?

 

Or possibly the apt-get update and apt-get upgrade if the package is updated there already?

 

Thanks,

Walter/K5WH

 

From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> On Behalf Of Steve N4IRS
Sent: Tuesday, November 12, 2019 10:02 AM
To: main@DVSwitch.groups.io
Subject: Re: [DVSwitch] DMR to YSF Weird Issue

 

Walter,
I updated MMMDVM_Bridge.amd64 yesterday. Please get a fresh copy from github.

Steve

On 11/12/2019 10:51 AM, Walter Holmes K5WH wrote:

hmm, even as root, I get a permission denied message when trying to run that.

 


Re: DMR to YSF Weird Issue

Walter Holmes K5WH
 

yes, that works now Steve..

many thanks,


Re: DMR to YSF Weird Issue

Steve N4IRS
 

Walter,
I updated MMMDVM_Bridge.amd64 yesterday. Please get a fresh copy from github.

Steve

On 11/12/2019 10:51 AM, Walter Holmes K5WH wrote:
hmm, even as root, I get a permission denied message when trying to run that.


Re: DMR to YSF Weird Issue

Steve N4IRS
 

hmmm,
Try this, I don't think it will work but

chmod +x MMDVM_Bridge.amd64

try again

I'm checking here too

On 11/12/2019 10:51 AM, Walter Holmes K5WH wrote:
hmm, even as root, I get a permission denied message when trying to run that.


Re: DMR to YSF Weird Issue

Walter Holmes K5WH
 

hmm, even as root, I get a permission denied message when trying to run that.


Re: DMR to YSF Weird Issue

Steve N4IRS
 

Put MMDVM_Bridge.amd64 in /opt/MMDVM_Bridge (do not rename file)
As root:
systemctl stop mmdvm_bridge
./MMDVM_Bridge.amd64 MMDVM_Bridge.ini

Does the program run?
 

On 11/12/2019 9:54 AM, Walter Holmes K5WH wrote:
Steve,

 I tried replacing the file, but I was not able to get the service to start afterwards.
Here is what my system is.   4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20) x86_64
So I used the MMDVM_Bridge.amd64 and removed the .amd64 of course, reset the machine, but the service did not deem to start properly.  I had to replace the original file for that to come back up properly.
 Any idea where I should look further into this?
many thanks, Walter/K5WH


Re: DMR to YSF Weird Issue

Walter Holmes K5WH
 

Steve,

 I tried replacing the file, but I was not able to get the service to start afterwards.
Here is what my system is.   4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20) x86_64
So I used the MMDVM_Bridge.amd64 and removed the .amd64 of course, reset the machine, but the service did not deem to start properly.  I had to replace the original file for that to come back up properly.
 Any idea where I should look further into this?
many thanks, Walter/K5WH


Re: DMR to YSF Weird Issue

Carlos Minguela
 

Thanks Steve.  I had the same problem and this fix solve it.  

73
Carlos
KP4CA


Re: I have asl setup in the cloud using debian. Just want to make sure i use the right MMDVM, i think should be using the amd64 hope this is correct before I download.thank you.

Steve N4IRS
 

What is the result of uname -a


I have asl setup in the cloud using debian. Just want to make sure i use the right MMDVM, i think should be using the amd64 hope this is correct before I download.thank you.

Charles Wiant
 

4401 - 4420 of 9595