Welcome to DVSwitch
DVSwitch is a set of tools and programs related to provisioning and operating Amateur Radio digital voice networks.
Purpose
The purpose of DVSwitch is as follows:
1) Allows “local” networking during an outage of the regional national/international network server.
2) Allows a local network operator to “blend” upstream feeds from different Networks (capital N on purpose). These Networks can’t get their act together and learn how to play nice with each other (everyone guilty as far as we are concerned). They may not like people doing this, but the solution is to grow up and work with each other, and not keep trying to force people to take sides.
3) Allows local segregation of localized traffic with more flexibility.
4) Allows experimentation with linking and how it’s done (part 97 specifies experimentation and advancement of the radio art are a core part of amateur radio).
1) Allows “local” networking during an outage of the regional national/international network server.
2) Allows a local network operator to “blend” upstream feeds from different Networks (capital N on purpose). These Networks can’t get their act together and learn how to play nice with each other (everyone guilty as far as we are concerned). They may not like people doing this, but the solution is to grow up and work with each other, and not keep trying to force people to take sides.
3) Allows local segregation of localized traffic with more flexibility.
4) Allows experimentation with linking and how it’s done (part 97 specifies experimentation and advancement of the radio art are a core part of amateur radio).
Mission Statement/Position
Our stated position is:
WHEREAS the Networks continue to be largely islands and are not working together to create a unified network of Networks.
WHEREAS no firm reason has been given by any of the Networks why a *competent* local network operator cannot make this work effectively.
(US ONLY)
WHEREAS 47 CFR 97 (Amateur Radio Service) specifies that a core component of amateur radio is experimentation and advancement of the radio art [97.1(b)].
BE IT RESOLVED the core group of US amateur radio operators and experimenters organized around the DVSwitch project, and in the spirit of USA 47 CFR 97 and its intentions, support the *responsible* and *thoughtful* use of digital voice networking tools to create localized networks that will interconnect to the national/international Networks, and will support users of its tools in order to do this in the most effective and sustainable way possible.
WHEREAS the Networks continue to be largely islands and are not working together to create a unified network of Networks.
WHEREAS no firm reason has been given by any of the Networks why a *competent* local network operator cannot make this work effectively.
(US ONLY)
WHEREAS 47 CFR 97 (Amateur Radio Service) specifies that a core component of amateur radio is experimentation and advancement of the radio art [97.1(b)].
BE IT RESOLVED the core group of US amateur radio operators and experimenters organized around the DVSwitch project, and in the spirit of USA 47 CFR 97 and its intentions, support the *responsible* and *thoughtful* use of digital voice networking tools to create localized networks that will interconnect to the national/international Networks, and will support users of its tools in order to do this in the most effective and sustainable way possible.
Re: Setting up DMRLink <-> KBLink
#best_practices
#dmrlink
#hblink
Jason Johnston
Here is a cat cmd from the file referenced in the error"
toggle quoted messageShow quoted text
|
|
Re: Setting up DMRLink <-> KBLink
#best_practices
#dmrlink
#hblink
Jason Johnston
You're right, sorry. I tried it with and without the space before the . - same results.
Same results with the latest command: jape@josephus:/opt$ sudo pip install dmr_utils
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in <module>
from pip import main
ImportError: cannot import name main
|
|
Re: Setting up DMRLink <-> KBLink
#best_practices
#dmrlink
#hblink
What you pasted did not have a space. In any case use:
toggle quoted messageShow quoted text
pip install dmr_utils
On 1/2/2019 1:57 PM, Jason Johnston
wrote:
Yes I typed the period after the command, that is what I pasted below, and the resulting error.
|
|
Re: Setting up DMRLink <-> KBLink
#best_practices
#dmrlink
#hblink
Jason Johnston
Yes I typed the period after the command, that is what I pasted below, and the resulting error.
|
|
Re: Setting up DMRLink <-> KBLink
#best_practices
#dmrlink
#hblink
true, I keep forgetting that. I'll change the script.
toggle quoted messageShow quoted text
On 1/2/2019 1:56 PM, Cort N0MJS via
Groups.Io wrote:
First off, “pip install dmr_utils” it’s on Pypi now.
|
|
Re: Setting up DMRLink <-> KBLink
#best_practices
#dmrlink
#hblink
Cort N0MJS <n0mjs@...>
First off, “pip install dmr_utils” it’s on Pypi now.
toggle quoted messageShow quoted text
On Jan 2, 2019, at 12:27 PM, Jason Johnston <kc5hwb@...> wrote:
|
|
Re: Setting up DMRLink <-> KBLink
#best_practices
#dmrlink
#hblink
The full command is pip install --upgrade . <---- notice the period
toggle quoted messageShow quoted text
On 1/2/2019 1:54 PM, Jason Johnston wrote:
pip install --upgrade .
|
|
Re: Setting up DMRLink <-> KBLink
#best_practices
#dmrlink
#hblink
Jason Johnston
OK I did a copy/paste of the line, as I did last time, and it works now. Maybe a network hiccup, who knows.
The complete set of instructions I was trying to run is this: apt-get install python-dev -y apt-get install python-pip -y apt-get install python-twisted -y pip install bitstring pip install bitarray cd /opt git clone https://github.com/n0mjs710/dmr_utils.git cd dmr_utils/ pip install --upgrade . After running any of the pip commands as sudo, I get the following errors: jape@josephus:/opt/dmr_utils$ sudo pip install --upgrade.
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in <module>
from pip import main
ImportError: cannot import name main
1 step closer, I guess. But the DMRLink server is still not connecting to my cbridge.
|
|
Re: Setting up DMRLink <-> KBLink
#best_practices
#dmrlink
#hblink
Jason,
toggle quoted messageShow quoted text
I just tried to git clone. I did not get a request for password. I would suggest you retry.
On 1/2/2019 1:27 PM, Jason Johnston
wrote:
Hi All
|
|
Setting up DMRLink <-> KBLink
#best_practices
#dmrlink
#hblink
Jason Johnston
Hi All
I tried about a year ago to get this DMRlink - HBlink system setup, but never could get it going. I am trying to revisit this plan. I have a box running Ubuntu 16.04 and I have the correct files installed (I think). I own my own cbridge, so I have updated the HBlink.cfg, DMRlink.cfg and HB_Bridge.cfg files to match my current settings. I tried running an update to dmr_utils, but I get an authentication error when trying to run these commands: cd /opt git clone https://github.com/n0mjs710/dmr_utils.git cd dmr_utils/ It asks for a username and password that I do not have. My main problem last time I tried this was that the system would connect to the cbridge, but the cbridge rejected the traffic. I am trying to replicate that error so that I can further trouble-shoot. But for now, I can't get either to connect to cbridge or mmdvm device. Should I wipe my directories and start over? I have backups of most of the .cfg files, so I could do that, but I am sure I need to get my dmr_utils reinstalled or updated first. Thanks for any assistance.
|
|
Re: P25<-->DMR issue "Still"
So,
toggle quoted messageShow quoted text
it sounds like P25 is working all the way to Analog_Bridge. It also sounds like you have a problem with Analog_Bridge for DMR. Are you using the emulator? Is the emulator running? Steve
On 1/2/19 2:40 AM, Ian Tulley wrote:
Hi Steve, OK here is what I have been able to achieve, P25Gateway runs fine, I can then start MMDVM_Bridge and it connects to the BM Master successfully, I can TX on both the P25 radio and the DMR radio on different repeaters and see my calls come up on the screen output. I then start up Analog_Bridge_P25.ini and do the same test and again can see myself coming up on the screen output but no audio between them. Now when I startup Analog_Bridge_DMR.ini and do the same test I can see myself come up on the screen output then I get the following error, only on that Stanza, "Emulator Timed out on Decode" or "Emulator Timed out on Encode" depending on the direction of the data and still no audio in either direction, but I can get the DMR repeater to TX "sometimes" when PTT from the P25 radio but no audio.
|
|
Re: P25<-->DMR issue "Still"
Peter M0NWI
Ian,
Did you miss installing on your new box, or have you got the wrong ports setup for the MD380emu? 73, Peter
From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of Ian Tulley <ian@...>
Sent: 02 January 2019 07:40 To: main@DVSwitch.groups.io Subject: Re: [DVSwitch] P25<-->DMR issue "Still" Hi Steve, OK here is what I have been able to achieve, P25Gateway runs fine, I can then start MMDVM_Bridge and it connects to the BM Master successfully, I can TX on both the P25 radio and the DMR radio on different repeaters and see my calls come up on
the screen output. I then start up Analog_Bridge_P25.ini and do the same test and again can see myself coming up on the screen output but no audio between them. Now when I startup Analog_Bridge_DMR.ini and do the same test I can see myself come up on the screen
output then I get the following error, only on that Stanza, "Emulator Timed out on Decode" or "Emulator Timed out on Encode" depending on the direction of the data and still no audio in either direction, but I can get the DMR repeater to TX "sometimes" when
PTT from the P25 radio but no audio.
I'm not sure where to look for this one, please remember this is on a server in the cloud so there are no USB Dongles connected, I'm only using the software decoder. Regards Ian (VK2HK)
|
|
Re: P25<-->DMR issue "Still"
Ian Tulley
Hi Steve, OK here is what I have been able to achieve, P25Gateway runs fine, I can then start MMDVM_Bridge and it connects to the BM Master successfully, I can TX on both the P25 radio and the DMR radio on different repeaters and see my calls come up on the screen output. I then start up Analog_Bridge_P25.ini and do the same test and again can see myself coming up on the screen output but no audio between them. Now when I startup Analog_Bridge_DMR.ini and do the same test I can see myself come up on the screen output then I get the following error, only on that Stanza, "Emulator Timed out on Decode" or "Emulator Timed out on Encode" depending on the direction of the data and still no audio in either direction, but I can get the DMR repeater to TX "sometimes" when PTT from the P25 radio but no audio.
I'm not sure where to look for this one, please remember this is on a server in the cloud so there are no USB Dongles connected, I'm only using the software decoder. Regards Ian (VK2HK)
|
|
Re: P25<-->DMR issue
Ian Tulley
Thanks Steve.
toggle quoted messageShow quoted text
------------------ Regards Ian (VK2HK)
|
|
Re: P25<-->DMR issue
You are right, 4 config files. I just counted the programs in
the diagram. MMDVM_Bridge is a single instance.
toggle quoted messageShow quoted text
On 1/1/19 8:37 PM, Ian Tulley wrote:
Hi again Steve, just quickly looking back on your reply, you say 5 instances of the shell, OK,
|
|
Re: P25<-->DMR issue
Ian Tulley
Hi again Steve, just quickly looking back on your reply, you say 5 instances of the shell, OK,
toggle quoted messageShow quoted text
P25Gateway MMDVM_Bridge Analog_Bridge_P25 Analog_Bridge_DMR What is the other one, should there be another MMDVM_Bridge.ini that I should be monitoring, I thought I only required one of those ??? What am I missing ?? ------------------ Regards Ian (VK2HK)
|
|
Re: P25<-->DMR issue
Ian Tulley
Thanks Steve, I will look again and follow those instructions, I feel I have just done something silly that I have not been able to see as yet. I have to go out so a break will be good and I may pick up my mistake when I try again later.
toggle quoted messageShow quoted text
Hope this year is good for you. ------------------ Regards Ian (VK2HK)
|
|
Re: P25<-->DMR issue
Ian,
toggle quoted messageShow quoted text
You are correct in your diagram. You are talking about 5 config files. Rather then search through 5 files, start at one end and work to the other. Run each program in the foreground one at a time. If the output to the console looks right, start up a new shell and work on the next program. Don't move on to the next program until you have it working up to that point. Yes, you will end up with 5 shells open. You will be able to watch the traffic from one end to the other. Once you have that working, follow the traffic in the other direction. Pretty much each program at startup reports the important configuration data. Hope this helps. Steve N4IRS
On 1/1/19 8:10 PM, Ian Tulley wrote:
Hi and a Happy New Year to all.
|
|
P25<-->DMR issue
Ian Tulley
Hi and a Happy New Year to all.
OK, I have done something very silly, I am trying to build a new server that will be the P25<-->DMR Bridge. I had one working but needed to move it to a new server and firstly did not check to see if it was actually running or not, so I don't know if my original was working. I just want to see if I have the bridging information correct. P25Gateway<-->Mmdvm_Bridge<-->Analog_Bridge_P25<-->Analog_Bridge_DMR<-->MMDVM_Bridge The reason I am asking is that I shutdown the old server before making sure the new one was active and now can't seem to get the new server to work. I have the P25Gateway working and have one instance of MMDVM_Bridge.ini and both Analog_Bridge_p25.ini and Analog_Bridge_DMR.ini Before I do my head in any further I want to check if that looks correct, if so and I still can't get it to work, I will then upload my stanzas to see if someone else can see my mistake. Regards Ian (VK2HK)
|
|
Re: We lost a nice guy this week.
Kevin Halton
|
|