hblink install help re: python errors all over and nothing working as in the README #talkeralias #openbridge #web #echo #parrot


 

Hi everyone. I'm banging head in wall and decided to turn to the experts for help. I'm no stranger to Linux, started with slackware in '93... But as in the 90's with lots of head bangining over any install I'm fighting now for hours trying to get hblink installed. 
I have a virtual server at vultr that works great and wanted t use it there. It is running Debian. I have managed to completely hose up python and python3. Neither work now and it won't uninstall, nor re-install. That happened when I wanted to get pip. I'll admit...I know that python exists but have never fussed with it at all.
So that box being hosed I turned to my file server here which is slackware 14. Fails getting pip to install... time to move on. Now I have tried on my computer running node 2360(allstar) which is a thin client running on a SSD with Debian. Getting the identical errors I had on the vultr box when trying to install bitarray and dmr_utils3. Starts off ok then wham 6kb of error messages in red text. And looking at the errors (exits with error -1) I cannot make heads or tails of what exactly the problem is. It can't be permissions as I'm doing this as root. 
Talking to Ed W8VT his install went smooth but I cannot figure what I am doing incorrectly. Saw something about using conda. Can't find that anywhere. 

I saw in the readme: docker build . -t millaguie/hblink:3.0.0 which did absolutely nothing since I'm not sure where to look for that.

Tried installing bitarray from source. No makefile but in the readme for it shows pip install bitarray. Well same problem with error. "conda install bitarray" conda, no gotz that and the only instructions I can find for it are for windows or a gui. None of these boxes have gui.

oh yeah...what is: "
.. code-block:: shell-session" ??

The error from bitarray is attached if anybody wishes to see it.
Something simple ..??

Thanks All
GeorgeC W2DB


--
GeorgeC W2DB


 

Well a fresh install of Debian on a new vultr server and it runs. Now to figure out how to set it up…

George W2DB


--
GeorgeC W2DB


area51now@...
 

What are you trying to do with hblink?

Bob
KB6LED


 

Bob I was pointed here by a FB group where I posed a question...I want to connect two MMDVM hot spots together without Brandmeister, etc. Several people say hblink will do the trick. Trying to install it on an existing vultr sserver was the issue last night till I finally bit the bullet and established a second server there. I have a lot of stuff saved on the first sesrver I had there and didn't want to nuke it all last night.

Right now the hanguop is in the hblink.cfg

When I go to run it it keeps showing MSTNAK Received. Resetting connection to the Master.

DEBUG 2021-08-15 00:35:33,111 (MASTER-1) Master maintenance loop started
DEBUG 2021-08-15 00:35:33,112 (REPEATER-1) Peer maintenance loop started
INFO 2021-08-15 00:35:33,112 (REPEATER-1) Sending login request to master 74.91.118.251:62031
INFO 2021-08-15 00:35:33,155 (REPEATER-1) Repeater Login ACK Received with 32bit ID: 897724319
INFO 2021-08-15 00:35:33,197 (REPEATER-1) Repeater Authentication Accepted
INFO 2021-08-15 00:35:33,198 (REPEATER-1) Repeater Configuration Sent
WARNING 2021-08-15 00:35:33,240 (REPEATER-1) MSTNAK Received. Resetting connection to the Master.
DEBUG 2021-08-15 00:35:38,111 (MASTER-1) Master maintenance loop started
DEBUG 2021-08-15 00:35:38,111 (REPEATER-1) Peer maintenance loop started
INFO 2021-08-15 00:35:38,111 (REPEATER-1) Sending login request to master 74.91.118.251:62031
INFO 2021-08-15 00:35:38,154 (REPEATER-1) Repeater Login ACK Received with 32bit ID: 897724319
INFO 2021-08-15 00:35:38,198 (REPEATER-1) Repeater Authentication Accepted
INFO 2021-08-15 00:35:38,199 (REPEATER-1) Repeater Configuration Sent
WARNING 2021-08-15 00:35:38,242 (REPEATER-1) MSTNAK Received. Resetting connection to the Master.

the REPEATER-1 stanza:
[REPEATER-1]
MODE: PEER
ENABLED: True
#ENABLED: False
LOOSE: False
EXPORT_AMBE: False
IP:
PORT: 54001
MASTER_IP: 74.91.118.251
MASTER_PORT: 62031
PASSPHRASE:12ax7gt
CALLSIGN: w2db
RADIO_ID: 311026603
RX_FREQ: 443350000
TX_FREQ: 443350000
TX_POWER: .1
COLORCODE: 1
SLOTS: 3
LATITUDE: 38.0000
LONGITUDE: -095.0000
HEIGHT: 75
LOCATION: Anywhere, USA
DESCRIPTION: This is a cool repeater
URL: www.w1abc.org
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
 


--
GeorgeC W2DB


 

Got a bit further. Password in REPEATER-1 stanza was incorrect. NOW I get repeated logins every few seconds and this repeats:

 
INFO 2021-08-15 01:40:30,013 (REPEATER-1) MSTCL Recieved
DEBUG 2021-08-15 01:40:34,934 (MASTER-1) Master maintenance loop started
DEBUG 2021-08-15 01:40:34,934 (REPEATER-1) Peer maintenance loop started
INFO 2021-08-15 01:40:34,935 (REPEATER-1) Sending login request to master 162.248.88.117:62031
DEBUG 2021-08-15 01:40:34,935 (ROUTER) Trimming inactive stream IDs from system lists
INFO 2021-08-15 01:40:34,960 (REPEATER-1) Repeater Login ACK Received with 32bit ID: 2937914600
INFO 2021-08-15 01:40:34,986 (REPEATER-1) Repeater Authentication Accepted
INFO 2021-08-15 01:40:34,987 (REPEATER-1) Repeater Configuration Sent
INFO 2021-08-15 01:40:35,013 (REPEATER-1) MSTCL Recieved
 
--
GeorgeC W2DB


GB7NR Support
 

Set LOOSE: to True 

On 15 Aug 2021, at 02:44, George Csahanin <george@...> wrote:

Got a bit further. Password in REPEATER-1 stanza was incorrect. NOW I get repeated logins every few seconds and this repeats:

 
INFO 2021-08-15 01:40:30,013 (REPEATER-1) MSTCL Recieved
DEBUG 2021-08-15 01:40:34,934 (MASTER-1) Master maintenance loop started
DEBUG 2021-08-15 01:40:34,934 (REPEATER-1) Peer maintenance loop started
INFO 2021-08-15 01:40:34,935 (REPEATER-1) Sending login request to master 162.248.88.117:62031
DEBUG 2021-08-15 01:40:34,935 (ROUTER) Trimming inactive stream IDs from system lists
INFO 2021-08-15 01:40:34,960 (REPEATER-1) Repeater Login ACK Received with 32bit ID: 2937914600
INFO 2021-08-15 01:40:34,986 (REPEATER-1) Repeater Authentication Accepted
INFO 2021-08-15 01:40:34,987 (REPEATER-1) Repeater Configuration Sent
INFO 2021-08-15 01:40:35,013 (REPEATER-1) MSTCL Recieved
 
--
GeorgeC W2DB


 

Tried that. Made no difference
I'm stumped
Thanks for the suggestion
--
GeorgeC W2DB


KB5PBM
 

Do both of the mmdvm clients use the same id?  Need to be unique. <DMRID>01. <DMRID>02


 

Yeah they are but in this case it is looking like it cannot connect to BM
I'll tackle the MMDVM to hblink next after I get it to login
Thanks

--
GeorgeC W2DB


area51now@...
 
Edited

Hi George, if your just trying to allow hotspots to connect to your HBlink3 server  try set to a Master (not as a peer) also try using port 62030 for the hotspots to come in on.
below is my HBlink3.cfg on my hotspot server

[MASTER-1]
MODE: MASTER
ENABLED: True
REPEAT: True
MAX_PEERS: 10
EXPORT_AMBE: False
IP:
PORT: 62030
PASSPHRASE: passw0rd
GROUP_HANGTIME: 5
USE_ACL: True
REG_ACL: DENY:1
SUB_ACL: DENY:1
TGID_TS1_ACL: PERMIT:ALL
TGID_TS2_ACL: PERMIT:ALL



Bob


 

Thanks Bob. I’ll try that. But won’t be able to get to it for a few days… busy week coming up

George


On Aug 15, 2021, at 8:22 AM, area51now via groups.io <area51now@...> wrote:



[Edited Message Follows]

Hi George, if your just trying to allow hotspots to connect to your HBlink3 server  try set to a Master (not as a peer) also try using port 62030 for the hotspots to come in on.
below is my HBlink3.cfg on my hotspot server

[MASTER-1]
MODE: MASTER
ENABLED: True
REPEAT: True
MAX_PEERS: 10
EXPORT_AMBE: False
IP:
PORT: 62030
PASSPHRASE: passw0rd
GROUP_HANGTIME: 5
USE_ACL: True
REG_ACL: DENY:1
SUB_ACL: DENY:1
TGID_TS1_ACL: PERMIT:ALL
TGID_TS2_ACL: PERMIT:ALL



Bob

--
GeorgeC W2DB


 

Bob, just looked, I already had it that way. Have not tried to connect two hotspots, do I just setup a "dummy" talk group in rules.py? and then what do I need in REPEATER-1? Can that stanza go away?

I've looked for docs and through the py code and not much jumping out at me. All these years never fiddled with Python

--
GeorgeC W2DB


area51now@...
 

Below is a copy of my rules that i use for the hotspot server , i just use TG 2, 110694 and Parrot (aka playback)

BRIDGES = {
    'TG2': [
            {'SYSTEM': 'MASTER-1',    'TS': 2, 'TGID': 2,    'ACTIVE': True, 'TIMEOUT': 30, 'TO_TYPE': 'NONE',  'ON': [2], 'OFF': [110694], 'RESET': []},
            {'SYSTEM': 'OB-22',    'TS': 1, 'TGID': 9, 'ACTIVE': True, 'TIMEOUT': 20, 'TO_TYPE': 'NONE',  'ON': [], 'OFF': [], 'RESET': []},
        ],
    'LED TG': [
            {'SYSTEM': 'MASTER-1',    'TS': 2, 'TGID': 110694,   'ACTIVE': False, 'TIMEOUT': 30, 'TO_TYPE': 'ON', 'ON': [110694], 'OFF': [2], 'RESET': []},
            {'SYSTEM': 'OB-22',    'TS': 1, 'TGID': 110694,   'ACTIVE': True, 'TIMEOUT': 20, 'TO_TYPE': 'NONE', 'ON': [], 'OFF': [], 'RESET': []},
        ],
    'PARROT': [
            {'SYSTEM': 'MASTER-1',    'TS': 2, 'TGID': 9990, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [9990], 'OFF': [], 'RESET': []},
            {'SYSTEM': 'Parrot-1',    'TS': 2, 'TGID': 9990, 'ACTIVE': True, 'TIMEOUT': 20, 'TO_TYPE': 'NONE', 'ON': [9990], 'OFF': [], 'RESET': []},
        ]
}


area51now@...
 

This is a bit out dated as far connecting to brand mister ( they prefer an open bridge connection) also the HBlink3 repository url is outdated.
but the basic set up is still the same.

https://www.chrishoodblog.com/make-your-own-dmr-server/

Bob
KB6LED


 

Wow thanks Bob


On Aug 15, 2021, at 1:41 PM, area51now via groups.io <area51now@...> wrote:

Below is a copy of my rules that i use for the hotspot server , i just use TG 2, 110694 and Parrot (aka playback)

BRIDGES = {
    'TG2': [
            {'SYSTEM': 'MASTER-1',    'TS': 2, 'TGID': 2,    'ACTIVE': True, 'TIMEOUT': 30, 'TO_TYPE': 'NONE',  'ON': [2], 'OFF': [110694], 'RESET': []},
            {'SYSTEM': 'OB-22',    'TS': 1, 'TGID': 9, 'ACTIVE': True, 'TIMEOUT': 20, 'TO_TYPE': 'NONE',  'ON': [], 'OFF': [], 'RESET': []},
        ],
    'LED TG': [
            {'SYSTEM': 'MASTER-1',    'TS': 2, 'TGID': 110694,   'ACTIVE': False, 'TIMEOUT': 30, 'TO_TYPE': 'ON', 'ON': [110694], 'OFF': [2], 'RESET': []},
            {'SYSTEM': 'OB-22',    'TS': 1, 'TGID': 110694,   'ACTIVE': True, 'TIMEOUT': 20, 'TO_TYPE': 'NONE', 'ON': [], 'OFF': [], 'RESET': []},
        ],
    'PARROT': [
            {'SYSTEM': 'MASTER-1',    'TS': 2, 'TGID': 9990, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [9990], 'OFF': [], 'RESET': []},
            {'SYSTEM': 'Parrot-1',    'TS': 2, 'TGID': 9990, 'ACTIVE': True, 'TIMEOUT': 20, 'TO_TYPE': 'NONE', 'ON': [9990], 'OFF': [], 'RESET': []},
        ]
}

--
GeorgeC W2DB