Date   

HBlink "socket_address" Branch

Cort N0MJS <n0mjs@...>
 

I NEED TESTERS FOR THE “socket_address” BRANCH OF HBLINK

This is only applicable to those using hblink.py by itself, hb_confbridge.py and hb_bridge_all.py. I also ask that testers be folks who can successfully set up these programs on their own without help – that is to say, those of you who have UNIX cli, can generally read python error messages, and understand what I need to diagnose an errors.

I would like this branch to merge to the master BEFORE the next steps, because up to this point, I’ve mad a number of changes that make HBlink better, but does not yet change peer validation to use socket address instead of DMR ID.

I probably pushed way too many changes before more testing. The fact of the matter is, I now have way too much going on here to maintain a comprehensive test environment. I will need your help to run this as DevOps in order to catch issues. If you find a bug and can offer a fix, but are not comfortable using GitHub, please just send me before/after snippets with line numbers.

Please let me know if you’re going to test so I have some idea who’s brave enough to ride along. Also, this message is cross-posted to both the main and hblink sub-groups in DVSWitch. Let’s keep the discussion related to this on the HBlink sub-group to keep the noise down here.


FROM THE COMMIT MESSAGE:

0) CONFIGURATION FILES WILL NEED UPDATED TO CHANGE NAMING
CONFIGURATIONS!

1) Updated use of socket address instead of discrete IP/port. This will
be needed for socket address based validation and is faster… duh…
should have done this in the beginning.

2) Changed all references to “clients” as HBP systems to “peers”. This
sets the stage for having a peer_id and an originator_id for DMRD
packets.

3) Found and squashed a number of other random bugs, including the
registration ACL not working in confbridge or bridge_all.

4) router is now retired. confbridge is the future.

0x49 DE N0MJS

Cort Buffington
785-865-7206


Hbmonitor full work. Perfectly

EA5GVK Joaquin
 

Many thx Steven and all friends groups.io for your help me. 
HBmonitor magnífic. 
Http://ea5gvk.duckdns.org:8088.


Re: Master maintenance loop started

Steve N4IRS
 

In hblink.cfg
Change:
LOG_LEVEL: DEBUG
To:
LOG_LEVEL: INFO

restart.

73, Steve N4IRS


On 8/6/2018 12:14 PM, Jürgen Clemenz wrote:
Hello
I always get this message from HBlink:
Master maintenance loop started

My Log

root@v293571:/home/dh9yap/HBlink# ./hblink.py
DEBUG 2018-08-06 18:02:06,083 Logging system started, anything from here on gets logged
INFO 2018-08-06 18:02:06,083 Registration ACL file found, importing entries. This will take about 1.5 seconds per 1 million IDs
INFO 2018-08-06 18:02:06,084 Registration ACL loaded: action "DENY" for 1 registration IDs
INFO 2018-08-06 18:02:06,084 HBlink TCP reporting server configured
DEBUG 2018-08-06 18:02:06,084 Periodic reporting loop started
INFO 2018-08-06 18:02:06,085 HBlink 'HBlink.py' (c) 2016 N0MJS & the K0USY Group - SYSTEM STARTING...
DEBUG 2018-08-06 18:02:06,085 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:02:06,085 MASTER instance created: MASTER-1, <__main__.HBSYSTEM instance at 0x7ff46a9aa3f8>
DEBUG 2018-08-06 18:02:11,089 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:02:16,088 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:02:21,086 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:02:26,089 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:02:31,088 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:02:36,088 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:02:41,088 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:02:46,088 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:02:51,086 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:02:56,086 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:03:01,088 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:03:06,088 Periodic reporting loop started
DEBUG 2018-08-06 18:03:06,088 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:03:11,089 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:03:16,089 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:03:21,088 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:03:26,090 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:03:31,087 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:03:36,090 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:03:41,086 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:03:46,090 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:03:51,089 (MASTER-1) Master maintenance loop started

I would be happy if I got an answer

Juergen DH9YAP


Master maintenance loop started

Jürgen Clemenz
 

Hello
I always get this message from HBlink:
Master maintenance loop started

My Log

root@v293571:/home/dh9yap/HBlink# ./hblink.py
DEBUG 2018-08-06 18:02:06,083 Logging system started, anything from here on gets logged
INFO 2018-08-06 18:02:06,083 Registration ACL file found, importing entries. This will take about 1.5 seconds per 1 million IDs
INFO 2018-08-06 18:02:06,084 Registration ACL loaded: action "DENY" for 1 registration IDs
INFO 2018-08-06 18:02:06,084 HBlink TCP reporting server configured
DEBUG 2018-08-06 18:02:06,084 Periodic reporting loop started
INFO 2018-08-06 18:02:06,085 HBlink 'HBlink.py' (c) 2016 N0MJS & the K0USY Group - SYSTEM STARTING...
DEBUG 2018-08-06 18:02:06,085 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:02:06,085 MASTER instance created: MASTER-1, <__main__.HBSYSTEM instance at 0x7ff46a9aa3f8>
DEBUG 2018-08-06 18:02:11,089 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:02:16,088 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:02:21,086 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:02:26,089 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:02:31,088 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:02:36,088 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:02:41,088 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:02:46,088 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:02:51,086 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:02:56,086 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:03:01,088 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:03:06,088 Periodic reporting loop started
DEBUG 2018-08-06 18:03:06,088 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:03:11,089 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:03:16,089 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:03:21,088 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:03:26,090 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:03:31,087 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:03:36,090 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:03:41,086 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:03:46,090 (MASTER-1) Master maintenance loop started
DEBUG 2018-08-06 18:03:51,089 (MASTER-1) Master maintenance loop started

I would be happy if I got an answer

Juergen DH9YAP


Re: Android IAXRPT

Steve N4IRS
 

Eric,
I would say the best place would be the AllStar sub group.

73, Steve N4IRS

On 08/05/2018 11:45 AM, Eric - N2JHJ wrote:
Have a question on the Android IAXRPT app, but not sure which sub-group (if any) to ask it in. Can someone point me in the right direction/sub-group? Thanks

de Eric (N2JHJ)


Android IAXRPT

N2JHJ
 

Have a question on the Android IAXRPT app, but not sure which sub-group (if any) to ask it in. Can someone point me in the right direction/sub-group? Thanks

de Eric (N2JHJ)


What Bluetooth mic?.

Joe Condron
 

I had this resized by a friend, to fit the small screen on my network radio (Inrico TM7) and IAX through my Raspberry Pi3B.
Just out of interest, what Bluetooth Mic is recommended to use with this excellent app?. Warmest regards Joe G7kdz 


Re: Error HBmonitor, Help me, please.

Paco EA7BHR
 

Hi guys.
First of all, sorry for my bad english. 
Talking about this issue, what web link are you using to update the peers and subscribers_ids?

Thanks.

EA7BHR - Paco

El 2 ago. 2018 9:41 p. m., <ea5gvk@...> escribió:
Thank you so much. Already solved. Thanks to the friend
KB5PBM
Super grateful, working perfectly.
Thank you all.
73 EA5GVK.



Re: island operation

Steve N4IRS
 

Ken,
You can run hblink as a Master.

On 8/3/2018 1:51 PM, Ken KE2N via Groups.Io wrote:
Lost the Internet here - probably for some time.  My ASL/DMR bridge stopped working because a connection to the 3102 master server is apparently required for my mmdvm to talk to the repeater, even though they sit on the same LAN.  Or perhaps a connection to the master is required for the repeater to talk to *anything*.

Is there something I can change in the repeater setup to have it talk to the mmdvm_bridge directly?  Or do I need to run another piece of software to emulate the action of the missing master?  

Thanks


island operation

Ken KE2N
 

Lost the Internet here - probably for some time.  My ASL/DMR bridge stopped working because a connection to the 3102 master server is apparently required for my mmdvm to talk to the repeater, even though they sit on the same LAN.  Or perhaps a connection to the master is required for the repeater to talk to *anything*.

Is there something I can change in the repeater setup to have it talk to the mmdvm_bridge directly?  Or do I need to run another piece of software to emulate the action of the missing master?  

Thanks


Re: Error HBmonitor, Help me, please.

EA5GVK Joaquin
 

Thank you so much. Already solved. Thanks to the friend
KB5PBM
Super grateful, working perfectly.
Thank you all.
73 EA5GVK.


DMRX Parrot was running DMRlink version 0.27b

Dylan KI7SBI
 

It had a great run. Updated to latest Master.
Thank you DVSwitch Team.

Dylan KI7SBI


Re: Error HBmonitor, Help me, please.

KB5PBM
 

I am currently using HBMonitor.  I had that issue.  I had to change the config file see below.  What I had to add is in bold.  The page doesn't display correctly with more than 4 Masters but the HBlink status screen below is all I am really looking at.

REPORT_NAME     = 'TARMA'  # Name of the monitored HBlink system
CONFIG_INC      = True                  # Include HBlink stats
BRIDGES_INC     = True                  # Include Bridge stats (confbrige.py)
DMRLINK_IP      = '192.168.10.236'           # HBlink's IP Address
DMRLINK_PORT    = 4321                  # HBlink's TCP reporting socket
HBLINK_IP       = '192.168.10.236'
HBLINK_PORT     = 4321
FREQUENCY       = 1                    # Frequency to push updates to web clients
WEB_SERVER_PORT = 8080                  # Has to be above 1024 if you're not running as root


Re: Error HBmonitor, Help me, please.

EA5GVK Joaquin
 

OK. Perfect. Sorry I do not know English well. I help with translators from English to Spanish. Thank you very much. I will wait for hbmonitor to be developed and tested. Thank you very much to all. A great work is done and hopefuls keep us going.


Re: Error HBmonitor, Help me, please.

JJ Cummings
 

At the end of the day, you should consider this pre-alpha code.  My suggestion to you is that you start to google things like the error that you got and poke around yourself.  It is understood that it may well be frustrating and time consuming.. but working through it on your own may well give you a much better understanding of python.  Not super helpful I know, but that's my best suggestion for you at this time.



On Thu, Aug 2, 2018 at 9:31 AM Corey Dean N3FE <n3fe@...> wrote:
I think Cort is trying to tell you it isn't even ready yet, so how could he help you with it if it isn't even ready for testing?

Corey  N3FE

On Thu, Aug 2, 2018 at 9:45 AM, <ea5gvk@...> wrote:
OK. Cort. But any help me? Many thx. Or any help step to step configure hbmonitor with hblink. 
THX Cort. But any help me. Is welcome



Re: Error HBmonitor, Help me, please.

Corey Dean N3FE <n3fe@...>
 

I think Cort is trying to tell you it isn't even ready yet, so how could he help you with it if it isn't even ready for testing?

Corey  N3FE

On Thu, Aug 2, 2018 at 9:45 AM, <ea5gvk@...> wrote:
OK. Cort. But any help me? Many thx. Or any help step to step configure hbmonitor with hblink. 
THX Cort. But any help me. Is welcome



Re: Error HBmonitor, Help me, please.

EA5GVK Joaquin
 

OK. Cort. But any help me? Many thx. Or any help step to step configure hbmonitor with hblink. 
THX Cort. But any help me. Is welcome


Re: Error HBmonitor, Help me, please.

Cort N0MJS <n0mjs@...>
 

Maybe I should explain a bit more here.

I will post a project on GitHub that is totally not ready for primetime for two reasons:

1) I then have version control, and between multiple computers I work on
2) There are technical folks among us who will try out software that’s not entirely functional and help with it

To that end, I need folks to understand that just because I posted hbmonitor to my GitHub account doesn’t mean there’s an expectation that it is ready to be used.

On Aug 2, 2018, at 7:51 AM, Cort N0MJS via Groups.Io <n0mjs@...> wrote:

Hbmonitor is completely unsupported.


On Aug 2, 2018, at 4:00 AM, ea5gvk@... wrote:

Any idea? Many thx

Cort Buffington
785-865-7206


Re: Error HBmonitor, Help me, please.

Cort N0MJS <n0mjs@...>
 

Hbmonitor is completely unsupported.


On Aug 2, 2018, at 4:00 AM, ea5gvk@... wrote:

Any idea? Many thx


Re: Error HBmonitor, Help me, please.

EA5GVK Joaquin
 

Any idea? Many thx

7861 - 7880 of 9882