MMMDVM repeaters with HBLink


Thierry F4EWI
 

hello,
I would to test a new solution for MMDVM repeaters.
In first must i use HBLink or HB_Bridge? What is the difference?
For my tests I install HBLink but when I start the program I have the following error message :

odroid@odroid:/opt/HBlink$ python3 hblink.py
  File "hblink.py", line 205
    def master_datagramReceived(self, _data, (_host, _port)):
                                                         ^
SyntaxError: invalid syntax

an idea ?
73's
Thierry F4EWI


Cort N0MJS <n0mjs@...>
 

It’s for Python 2.7, not Python 3

On Feb 24, 2018, at 4:11 PM, f4ewi@... wrote:

hello,
I would to test a new solution for MMDVM repeaters.
In first must i use HBLink or HB_Bridge? What is the difference?
For my tests I install HBLink but when I start the program I have the following error message :

odroid@odroid:/opt/HBlink$ python3 hblink.py
  File "hblink.py", line 205
    def master_datagramReceived(self, _data, (_host, _port)):
                                                         ^
SyntaxError: invalid syntax

an idea ?
73's
Thierry F4EWI

--
Cort Buffington
H: +1-785-813-1501
M: +1-785-865-7206






Thierry F4EWI
 

Ok it's better now!
For my tests i have on the same network the HBLink server and one MMDVM repeater. My HBLink file is :

[MASTER-1]
MODE: MASTER
ENABLED: True
REPEAT: True
EXPORT_AMBE: False
IP:192.168.2.104
PORT: 54000
PASSPHRASE: s3cr37w0rd
GROUP_HANGTIME: 5

and for the client

[REPEATER-1]
MODE: CLIENT
ENABLED: True
EXPORT_AMBE: False
IP:192.168.2.101
# PORT: 54001
PORT: 54000
MASTER_IP: 192.168.2.104
MASTER_PORT: 54000
PASSPHRASE: homebrew
CALLSIGN: F4GVT/R
RADIO_ID: 208980
RX_FREQ: 430525000
TX_FREQ: 439925000
TX_POWER: 10
COLORCODE: 1
SLOTS: 1  => mean only one TS available??

and I have the following error message :

odroid@odroid:/opt/HBlink$ python hblink.py
DEBUG 2018-02-25 09:52:50,305 Logging system started, anything from here on gets logged
INFO 2018-02-25 09:52:50,305 HBlink 'HBlink.py' (c) 2016 N0MJS & the K0USY Group - SYSTEM STARTING...
DEBUG 2018-02-25 09:52:50,306 (MASTER-1) Master maintenance loop started
DEBUG 2018-02-25 09:52:50,307 MASTER instance created: MASTER-1, <__main__.HBSYSTEM instance at 0xb5f3b1c0>
Traceback (most recent call last):
  File "hblink.py", line 519, in <module>
    reactor.listenUDP(CONFIG['SYSTEMS'][system]['PORT'], systems[system], interface=CONFIG['SYSTEMS'][system]['IP'])
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 369, in listenUDP
    p.startListening()
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/udp.py", line 178, in startListening
    self._bindSocket()
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/udp.py", line 198, in _bindSocket
    raise error.CannotListenError(self.interface, self.port, le)
twisted.internet.error.CannotListenError: Couldn't listen on 192.168.2.101:54000: [Errno 99] Cannot assign requested address.
odroid@odroid:/opt/HBlink$ 
 


Steve N4IRS
 

If you are building a Master that a MMDVM repeater can connect to, you do not need to enable a client. Disable the client in [REPEATER-1]

73, Steve N4IRS

On 02/25/2018 06:43 AM, f4ewi@... wrote:
Ok it's better now!
For my tests i have on the same network the HBLink server and one MMDVM repeater. My HBLink file is :

[MASTER-1]
MODE: MASTER
ENABLED: True
REPEAT: True
EXPORT_AMBE: False
IP:192.168.2.104
PORT: 54000
PASSPHRASE: s3cr37w0rd
GROUP_HANGTIME: 5

and for the client

[REPEATER-1]
MODE: CLIENT
ENABLED: True
EXPORT_AMBE: False
IP:192.168.2.101
# PORT: 54001
PORT: 54000
MASTER_IP: 192.168.2.104
MASTER_PORT: 54000
PASSPHRASE: homebrew
CALLSIGN: F4GVT/R
RADIO_ID: 208980
RX_FREQ: 430525000
TX_FREQ: 439925000
TX_POWER: 10
COLORCODE: 1
SLOTS: 1  => mean only one TS available??

and I have the following error message :

odroid@odroid:/opt/HBlink$ python hblink.py
DEBUG 2018-02-25 09:52:50,305 Logging system started, anything from here on gets logged
INFO 2018-02-25 09:52:50,305 HBlink 'HBlink.py' (c) 2016 N0MJS & the K0USY Group - SYSTEM STARTING...
DEBUG 2018-02-25 09:52:50,306 (MASTER-1) Master maintenance loop started
DEBUG 2018-02-25 09:52:50,307 MASTER instance created: MASTER-1, <__main__.HBSYSTEM instance at 0xb5f3b1c0>
Traceback (most recent call last):
  File "hblink.py", line 519, in <module>
    reactor.listenUDP(CONFIG['SYSTEMS'][system]['PORT'], systems[system], interface=CONFIG['SYSTEMS'][system]['IP'])
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 369, in listenUDP
    p.startListening()
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/udp.py", line 178, in startListening
    self._bindSocket()
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/udp.py", line 198, in _bindSocket
    raise error.CannotListenError(self.interface, self.port, le)
twisted.internet.error.CannotListenError: Couldn't listen on 192.168.2.101:54000: [Errno 99] Cannot assign requested address.
odroid@odroid:/opt/HBlink$ 
 


Thierry F4EWI
 

Thank you it's OK now !

My MMDVM repeater don't want to connecting to the server. Is there a log file to analyse what happened?

73, Thierry F4EWI


Steve N4IRS
 

Depends on the entries you have in the [LOGGER] stanza

On 02/25/2018 07:44 AM, f4ewi@... wrote:
Thank you it's OK now !

My MMDVM repeater don't want to connecting to the server. Is there a log file to analyse what happened?

73, Thierry F4EWI


Thierry F4EWI
 

It's OK -> Password problem !!!

Important  : Jitter=0 in the MMDVM.ini file for the local tests