Date   

Re: Error code help #dmrlink

KK4ZMG Richard
 

no there will be more depending on length. scrolling about the same speed as import_datagrammReceived when it is repeating a transmission from HB_Bridge.


Re: Error code help #dmrlink

Cort N0MJS
 

Always the same number of authentication error packets regardless of the transmission length?


On Dec 16, 2019, at 7:13 PM, KK4ZMG Richard via Groups.Io <kk4zmg@...> wrote:

The transmission lengths would vary between a couple seconds to 20++ seconds. with same results. 

 


Re: Error code help #dmrlink

KK4ZMG Richard
 

The transmission lengths would vary between a couple seconds to 20++ seconds. with same results. 

 


Re: Error code help #dmrlink

Cort N0MJS
 

Yep – that’s what it looks like – Group voice packets from the repeater failing authentication. How long was the transmission, roughly?

On Dec 16, 2019, at 5:38 PM, KK4ZMG Richard via Groups.Io <kk4zmg@...> wrote:

I have a Motrola xpr 8300 as a master. dmrlink is the peer. the configuration is IPSC_Bridge to HB_Bridge to HBlink3. 

we get connection and audio from the server to the repeater to the radios. but when you go radio to repeater to IPSC_Bridge. IPSC_Bridge puts out that error and nothing gets sent to HB_Bridge.

Thanks for the help. <dmrlink error>

Cort Buffington
785-865-7206


Re: Error code help #dmrlink

KK4ZMG Richard
 

I have a Motrola xpr 8300 as a master. dmrlink is the peer. the configuration is IPSC_Bridge to HB_Bridge to HBlink3. 

we get connection and audio from the server to the repeater to the radios. but when you go radio to repeater to IPSC_Bridge. IPSC_Bridge puts out that error and nothing gets sent to HB_Bridge.

Thanks for the help.


Re: Error code help #dmrlink

Cort N0MJS
 

Can you post the entire log line and a few above and below, please, and something about the setup of your system – what's a master, what's a peer... so that I can assess what device is sending a packet, and at what position in the stream it is.

You guys also need to realize that not everything that gets logged at the ERROR level means something is broken.


Re: Error code help #dmrlink

KK4ZMG Richard
 

I have a similar error.
AuthError: IPSC packet failed authentication. Type 80:

any ideas any one?


Re: HBlink2 ACL problem #hblink

Cort N0MJS
 

The only active branch of HBlink that is supported is the HB_Bridge branch. The repo is mainlined for that branch, and for historical purposes. Please move to HBlink3 for all uses other than the HB_Bridge branch and the use of HB_Bridge.py.

On Dec 16, 2019, at 12:21 AM, Kim-Benjamin Lütkemeier via Groups.Io <kbluetkemeier@...> wrote:

[Edited Message Follows]

Hello guys,

I downloaded the actual hblink version from github. 

on this version I find some big modifications about ACL on my old Version I have a ACL rules file.

Now my problem is when I make a radio check it is not working hblink drop this call

I try with clobal ACL fale and from master false but then I have probleme that

on class HBSYSTEM(DatagramProtocol):
_laststrid is not defined

on  class OPENBRIDGE(DatagramProtocol):

but the i receive
CALL DROPPED WITH STREAM ID xxxx ON TGID 0 BY GLOBAL TS2 ACL

but in the config is ACL on True and the other options on permit:ALL

Everything is working but not Radio Check / Alarm Call / Messages

on the old version it was working

maybe someone can help me

UPDATE:
One Probleme but i dont know why

line 347
if self._CONFIG['GLOBAL']['USE_ACL']:
                    print("Jump Inside: ",self._CONFIG['GLOBAL']['USE_ACL']) 
                    if not acl_check(_rf_src, self._CONFIG['GLOBAL']['SUB_ACL']):
                        if self._laststrid != _stream_id:
                            logger.info('(%s) CALL DROPPED WITH STREAM ID %s FROM SUBSCRIBER %s BY GLOBAL ACL', self._system, int_id(_stream_id), int_id(_rf_src))
                            if _slot == 1:
                                self._laststrid1 = _stream_id
                            else:
                                self._laststrid2 = _stream_id
                        return
                    if _slot == 1 and not acl_check(_dst_id, self._CONFIG['GLOBAL']['TG1_ACL']):
                        if self._laststrid1 != _stream_id:
                            logger.info('(%s) CALL DROPPED WITH STREAM ID %s ON TGID %s BY GLOBAL TS1 ACL', self._system, int_id(_stream_id), int_id(_dst_id))
                            self._laststrid1 = _stream_id
                        return
                    if _slot == 2 and not acl_check(_dst_id, self._CONFIG['GLOBAL']['TG2_ACL']):
                        if self._laststrid2 != _stream_id:
                            logger.info('(%s) CALL DROPPED WITH STREAM ID %s ON TGID %s BY GLOBAL TS2 ACL', self._system, int_id(_stream_id), int_id(_dst_id))
                            print(acl_check(_dst_id, self._CONFIG['GLOBAL']['TG2_ACL']))
                            self._laststrid2 = _stream_id
                        return

Why he jump inside : if self._CONFIG['GLOBAL']['USE_ACL']:
i try it with False and True
print("Jump Inside: ",self._CONFIG['GLOBAL']['USE_ACL']) 

I have no Idea

73, Kim DO1KBL

Cort Buffington
785-865-7206


HBlink2 ACL problem #hblink

Kim-Benjamin Lütkemeier
 
Edited

Hello guys,

I downloaded the actual hblink version from github. 

on this version I find some big modifications about ACL on my old Version I have a ACL rules file.

Now my problem is when I make a radio check it is not working hblink drop this call

I try with clobal ACL fale and from master false but then I have probleme that

on class HBSYSTEM(DatagramProtocol):
_laststrid is not defined

on  class OPENBRIDGE(DatagramProtocol):

but the i receive
CALL DROPPED WITH STREAM ID xxxx ON TGID 0 BY GLOBAL TS2 ACL

but in the config is ACL on True and the other options on permit:ALL

Everything is working but not Radio Check / Alarm Call / Messages

on the old version it was working

maybe someone can help me

UPDATE:
One Probleme but i dont know why

line 347
if self._CONFIG['GLOBAL']['USE_ACL']:
                    print("Jump Inside: ",self._CONFIG['GLOBAL']['USE_ACL']) 
                    if not acl_check(_rf_src, self._CONFIG['GLOBAL']['SUB_ACL']):
                        if self._laststrid != _stream_id:
                            logger.info('(%s) CALL DROPPED WITH STREAM ID %s FROM SUBSCRIBER %s BY GLOBAL ACL', self._system, int_id(_stream_id), int_id(_rf_src))
                            if _slot == 1:
                                self._laststrid1 = _stream_id
                            else:
                                self._laststrid2 = _stream_id
                        return
                    if _slot == 1 and not acl_check(_dst_id, self._CONFIG['GLOBAL']['TG1_ACL']):
                        if self._laststrid1 != _stream_id:
                            logger.info('(%s) CALL DROPPED WITH STREAM ID %s ON TGID %s BY GLOBAL TS1 ACL', self._system, int_id(_stream_id), int_id(_dst_id))
                            self._laststrid1 = _stream_id
                        return
                    if _slot == 2 and not acl_check(_dst_id, self._CONFIG['GLOBAL']['TG2_ACL']):
                        if self._laststrid2 != _stream_id:
                            logger.info('(%s) CALL DROPPED WITH STREAM ID %s ON TGID %s BY GLOBAL TS2 ACL', self._system, int_id(_stream_id), int_id(_dst_id))
                            print(acl_check(_dst_id, self._CONFIG['GLOBAL']['TG2_ACL']))
                            self._laststrid2 = _stream_id
                        return

Why he jump inside : if self._CONFIG['GLOBAL']['USE_ACL']:
i try it with False and True
print("Jump Inside: ",self._CONFIG['GLOBAL']['USE_ACL']) 

I have no Idea

73, Kim DO1KBL


Re: ASL Analog_Bridge and dvswitch.sh #analog_bridge

Steve N4IRS
 

Ed,
That's great to hear.
 Going forward, the plan is to add the audio level values to DVSwitch.ini so that when a mode is selected, dvswitch.sh gets the value from the mode stanza. That way you can have different values for each mode and have the value applied when you switch modes.

73, Steve N4IRS

On 12/15/19 6:37 PM, Ed W8VT wrote:
Steve,
That did the trick, works great now.
Thanks!

Ed W8VT


Re: ASL Analog_Bridge and dvswitch.sh #analog_bridge

Ed W8VT
 

Steve,
That did the trick, works great now.
Thanks!

Ed W8VT


Re: ASL Analog_Bridge and dvswitch.sh #analog_bridge

Steve N4IRS
 

Ed,
I did steer you wrong a bit.
The command syntax is:
./dvswitch.sh tlvAudio AUDIO_USE_GAIN 1.1
./dvswitch.sh usrpAudio AUDIO_USE_GAIN .93

Valid options are:
(AUDIO_UNITY|AUDIO_USE_AGC|AUDIO_USE_GAIN|AUDIO_USE_BPF)

You will see the change reflected in the AB log and in the AB json file in /tmp
Assuming you are using port 12345, you will find a file in /tmp named:
ABInfo_12345.json
This contains all current setting in use by AB.

Steve N4IRS

On 12/15/19 4:12 PM, Ed W8VT wrote:
Steve,
Was just playing with this and can not get the levels to change. The original setup was just for DMR so I had those audio parameters in AB.ini. Commented those out and now the gain numbers change (when queried by dvswitch.ini) but shows mode as unity. Restored use_audio_gain back in AB.ini and tried again. Mode now says gain but levels default to -20.0 and do not change. 

Obviously I've done something silly somewhere.

Ed W8VT


Re: ASL Analog_Bridge and dvswitch.sh #analog_bridge

Ed W8VT
 

Steve,
Was just playing with this and can not get the levels to change. The original setup was just for DMR so I had those audio parameters in AB.ini. Commented those out and now the gain numbers change (when queried by dvswitch.ini) but shows mode as unity. Restored use_audio_gain back in AB.ini and tried again. Mode now says gain but levels default to -20.0 and do not change. 

Obviously I've done something silly somewhere.

Ed W8VT


Re: TG Listing in DVSwitch

Steve N4IRS
 

Tom,
replace unlimited with

/tmp

and retest

On 12/14/19 9:50 PM, Tom Corcoran wrote:
OK Steve … I sent my session in message 5613. This was before I made "transferRootDir = unlimited" modification.

--
Tom VE3NY


Re: ASL Analog_Bridge and dvswitch.sh #analog_bridge

Ed W8VT
 

Thanks Steve. I'll give it a try tomorrow.

Ed W8VT


Re: TG Listing in DVSwitch

Steve N4IRS
 

I don't see where you issued the command:
root@omv:/opt/Analog_Bridge# ./dvswitch.sh pushfile /tmp/DMR_node_list.txt
root@omv:/opt/Analog_Bridge#

I want to see the actual command sent, prompt and all. I wnat to see the result, prompt and all.

On 12/14/19 9:50 PM, Tom Corcoran wrote:
OK Steve … I sent my session in message 5613. This was before I made "transferRootDir = unlimited" modification.

--
Tom VE3NY


Re: TG Listing in DVSwitch

Tom Corcoran
 

Hello Jay,

Well, you're to blame for my interest in modifying the TG list. Joking!!

If you follow my stumbling efforts, guided by the great support group at Groups.io, you should end up at the same point I did. Good Luck.

Next project is establishing link to XLX network!! Where will it end??? Who cares, I'm enjoying the journey.
--
Tom VE3NY


Re: TG Listing in DVSwitch

Tom Corcoran
 

OK Steve … I sent my session in message 5613. This was before I made "transferRootDir = unlimited" modification.

--
Tom VE3NY


Re: TG Listing in DVSwitch

Jay Mazure
 

Tom glad to see you got your lists working - I am stuck going to xmas parties,  I'll work on this tomorrow if I have time.
Pretty impressive help from Steve!    Will revert if I have success.

73's
Jay / Wt8K

 

On Saturday, December 14, 2019, 03:50:04 PM PST, Steve N4IRS <szingman@...> wrote:


It tells AB not to care where the data file is located. I would prefer you turn it back off and figure out what you are doing wrong.

On 12/14/19 6:47 PM, Tom Corcoran wrote:
"transferRootDir = unlimited"


--  BINGO … worked. Steve and Mike … tnx for great help on implementing new features .

Mike … exactly what did this command do for me to solve the problem?
 
Tom VE3NY


Re: TG Listing in DVSwitch

Steve N4IRS
 

Copy and paste into the e-mail what you have on your ssh session.
This is what mine looks like:

root@omv:/# cd /opt/Analog_Bridge
root@omv:/opt/Analog_Bridge# ls -la /tmp
total 920
drwxrwxrwt  9 root root   4096 Dec 14 18:09 .
drwxr-xr-x 22 root root   4096 Oct 27 11:08 ..
-rw-r--r--  1 root root    554 Dec 14 17:49 ABInfo_12345.json
-rw-r--r--  1 root root  27181 Dec 14 16:54 DMR_node_list.txt
-rw-r--r--  1 root root    330 Dec 14 15:58 DSTAR_node_list.txt
drwxrwxrwt  2 root root   4096 Dec  8 20:38 .font-unix
drwxrwxrwt  2 root root   4096 Dec  8 20:38 .ICE-unix
-rw-------  1 root root      4 Dec  8 20:38 ircDDB_Gateway
drwx------  2 root root   4096 Dec 14 10:42 mc-root
-rw-r--r--  1 root root 510324 Dec 14 15:58 node_list.txt
-rw-r--r--  1 root root   2605 Dec 14 15:58 NXDN_Hosts.txt
-rw-r--r--  1 root root   1413 Dec 14 15:58 NXDN_node_list.txt
-rw-r--r--  1 root root   3322 Dec 14 15:58 P25_Hosts.txt
-rw-r--r--  1 root root   1961 Dec 14 15:58 P25_node_list.txt
-rwx------  1 root root 187299 Dec 14 18:09 rpt_extnodes-temp
drwx------  3 root root   4096 Dec  8 20:38 systemd-private-9c2739a669f94f87955f12b0678db7df-systemd-timesyncd.service-BJnOZl
drwxrwxrwt  2 root root   4096 Dec  8 20:38 .Test-unix
-rw-r--r--  1 root root  47341 Dec 14 15:58 TGList_BM.txt
drwxrwxrwt  2 root root   4096 Dec  8 20:38 .X11-unix
drwxrwxrwt  2 root root   4096 Dec  8 20:38 .XIM-unix
-rw-------  1 root root  31079 Dec  8 20:38 XLX_Hosts_JloKM7
-rw-r--r--  1 root root  44766 Dec 14 15:58 YSF_Hosts.txt
-rw-r--r--  1 root root  19942 Dec 14 15:58 YSF_node_list.txt
root@omv:/opt/Analog_Bridge# ./dvswitch.sh pushfile /tmp/DMR_node_list.txt
root@omv:/opt/Analog_Bridge#

Show me EVERYTHING, what you type and the response.

On 12/14/19 7:32 PM, Tom Corcoran wrote:
Steve, 
so, your point is that this solution only indicates that I have the DMR_node_list.txt file in the wrong directory? 

Supposed to be /tmp … correct? And dvswitch.sh is in Analog_Bridge directory … correct? What other considerations are there? Glad to continue pursuing to solve root cause.
--
Tom VE3NY