[Allstar Digital] DMRGateway Install Error

Steve Zingman szingman at msgstor.com
Thu Mar 30 15:42:34 EDT 2017


This is what I do on a Debian based system.
apt-get install unzip -y
apt-get install python-dev -y
apt-get install python-pip -y
apt-get install python-twisted -y
pip install bitstring
pip install bitarray


On 3/30/2017 3:38 PM, Peter wrote:
>
> I've not really got a clue what I'm doing but the progress so far with 
> the DV3000 USB is....
>
> ./AMBEserver
> AMBEserver: Starting...
> AMBEserver: Opened serial port /dev/ttyUSB0 at 230400 bps.
> AMBEserver: Couldn't find start byte in serial data
> AMBEserver: error receiving response to reset
> AMBEserver: Could not initialize the DV3K!
>
>
> And...
>
>
> ./ambe_audio.py
> Traceback (most recent call last):
>   File "./ambe_audio.py", line 27, in <module>
>     from bitstring import BitArray
> ImportError: No module named 'bitstring'
>
>
> I think bitstring is installed ?
>
> pip install bitstring
> Requirement already satisfied: bitstring in 
> /usr/lib/python2.7/site-packages
>
>
> Any hints gratefully received.
>
>
> Peter
>
>
>
>
> On 30/03/2017 19:02, Steve Zingman wrote:
>> I have no idea.
>>
>> On 3/30/2017 2:01 PM, Peter wrote:
>>>
>>> Thanks Steve,
>>>
>>> More than enough for me to be getting on with. Before I start out, 
>>> will this lot work under the most recent Arch based allstar 
>>> distribution ?
>>>
>>>
>>> Peter
>>>
>>>
>>> On 30/03/2017 18:34, Steve Zingman wrote:
>>>> Peter,
>>>> There are 3 modules that you need to get running.
>>>> AllStar with the USRP channel driver. It will come up without a 
>>>> connection to anything.
>>>> DMRlink with AMBE_Audio. These 2 parts work together to make the 
>>>> connection to and from the DMR network. AMBE_Audio does the 
>>>> connecting to and from analog. DMRlink connects to the DMR network.
>>>> Running dmrlink.py by itself with logging to the console in debug 
>>>> will indicate a good connection to the DMR network. Once that 
>>>> works, you can stop dmrlink.py and run ambe_audio.py It will start 
>>>> dmrlink by itself.
>>>> DMRGateway is the translator between DMR and Analog. ambe_audio 
>>>> takes the DMR and sends it to DMRGateway. DMRGateway uses the 
>>>> NWDigital DV3000 to decode the DMR to analog. The analog audio is 
>>>> passed back to ambe_audio and on to ASL.
>>>> The same as above only in reverse for Analog to DMR.
>>>>
>>>> 1: Get DMRGateway talking to the DV3000 either via serial or the 
>>>> AMBEServer from NWDigital. Use the diagnostics from NWD to make 
>>>> sure the host is connecting properly to the DV3000.
>>>> 2: Get DMRlink talking to the DMR network
>>>> 3: Get ambe_audio talking to DMRGateway
>>>> 4: Get ASL talking to ambe_audio.
>>>>
>>>> The best advice I can give is to run each program in the foreground 
>>>> with logging to the screen. Run multiple windows. One for each 
>>>> program. Once it all works you can work on logging and auto startup.
>>>> The documents are here 
>>>> <https://sites.google.com/site/dvhamswitch/file-cabinet> and 
>>>> <https://github.com/N4IRS/DMRGateway>
>>>>
>>>> 73, Steve N4IRS
>>>>
>>>>
>>>> On 3/30/2017 12:48 PM, Peter wrote:
>>>>>
>>>>> Steve,
>>>>>
>>>>> Would you be able to help me getting the gateway running?
>>>>>
>>>>>
>>>>> Thanks
>>>>>
>>>>> Peter
>>>>> G7RPG
>>>>>
>>>>>
>>>>> On 23/03/2017 18:05, Steve Zingman wrote:
>>>>>> Got it.
>>>>>>
>>>>>> On 3/23/2017 2:04 PM, David KE6UPI wrote:
>>>>>>> Thanks Steve, I emailed you the info.
>>>>>>>
>>>>>>> David
>>>>>>>
>>>>>>> On Thu, Mar 23, 2017 at 10:31 AM, Steve Zingman 
>>>>>>> <szingman at msgstor.com <mailto:szingman at msgstor.com>> wrote:
>>>>>>>
>>>>>>>     Tell you what. Install the image and send me the node number
>>>>>>>     and node password. I'll do the rest.
>>>>>>>     Then I'll need the DMR ID for the Gateway and a DMR ID the
>>>>>>>     traffic appears to be coming from.
>>>>>>>     I'll need the TG and TS you want to use.
>>>>>>>     USB DV3000? Plug it in.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>     On 3/23/2017 1:27 PM, David KE6UPI wrote:
>>>>>>>>     Not a problem Steve. I'm loading a virgin RAT_RC1.img on to
>>>>>>>>     a RasPi 2. ASL setup is a simplex node 2083. Do you want
>>>>>>>>     the ASL node setup first?
>>>>>>>>     Once its working. I'll move the Uhf repeater 2063 to the Pi.
>>>>>>>>
>>>>>>>>     David
>>>>>>>>
>>>>>>>>     On Thu, Mar 23, 2017 at 10:05 AM, Steve Zingman
>>>>>>>>     <szingman at msgstor.com <mailto:szingman at msgstor.com>> wrote:
>>>>>>>>
>>>>>>>>         David,
>>>>>>>>         Would you allow me to login to the machine to do the setup?
>>>>>>>>
>>>>>>>>         Steve
>>>>>>>>
>>>>>>>>
>>>>>>>>         On 3/22/2017 7:05 PM, David KE6UPI wrote:
>>>>>>>>>         No problem Steve. Thanks
>>>>>>>>>
>>>>>>>>>         David
>>>>>>>>>
>>>>>>>>>         On Wed, Mar 22, 2017 at 3:59 PM, Steve Zingman
>>>>>>>>>         <szingman at msgstor.com <mailto:szingman at msgstor.com>>
>>>>>>>>>         wrote:
>>>>>>>>>
>>>>>>>>>             David,
>>>>>>>>>             I'm working on the procedure now. I have someone
>>>>>>>>>             else taht has a problem so I'm working through a
>>>>>>>>>             step by step procedure that hopefully will lead
>>>>>>>>>             someone through the install.
>>>>>>>>>             I'll keep you informed.
>>>>>>>>>
>>>>>>>>>             Steve
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>             On 03/22/2017 04:18 PM, David KE6UPI wrote:
>>>>>>>>>>             Hello Steve, No rush, but did you update the
>>>>>>>>>>             DMRGateway?
>>>>>>>>>>
>>>>>>>>>>             David
>>>>>>>>>>
>>>>>>>>>>             On Tue, Jan 3, 2017 at 5:36 PM, David KE6UPI
>>>>>>>>>>             <dshaw at ke6upi.com <mailto:dshaw at ke6upi.com>> wrote:
>>>>>>>>>>
>>>>>>>>>>                 Thanks Steve,
>>>>>>>>>>
>>>>>>>>>>                 David
>>>>>>>>>>
>>>>>>>>>>                 On Tue, Jan 3, 2017 at 4:56 PM, Steve Zingman
>>>>>>>>>>                 <szingman at msgstor.com
>>>>>>>>>>                 <mailto:szingman at msgstor.com>> wrote:
>>>>>>>>>>
>>>>>>>>>>                     I hope next week.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>                     On 01/03/2017 07:56 PM, David KE6UPI wrote:
>>>>>>>>>>>                     Hey Steve, I know you have a lot on your
>>>>>>>>>>>                     plate now. But can I ask when you think
>>>>>>>>>>>                     you might have some free time to work on
>>>>>>>>>>>                     the new install?
>>>>>>>>>>>
>>>>>>>>>>>                     David
>>>>>>>>>>>                     KE6UPI
>>>>>>>>>>>
>>>>>>>>>>>                     On Wed, Dec 21, 2016 at 3:48 PM, David
>>>>>>>>>>>                     KE6UPI <dshaw at ke6upi.com
>>>>>>>>>>>                     <mailto:dshaw at ke6upi.com>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>                         I'll hold off. Thanks
>>>>>>>>>>>
>>>>>>>>>>>                         On Wed, Dec 21, 2016 at 3:19 PM,
>>>>>>>>>>>                         Steve Zingman <szingman at msgstor.com
>>>>>>>>>>>                         <mailto:szingman at msgstor.com>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>                             David,
>>>>>>>>>>>                             Cort has made significant
>>>>>>>>>>>                             changes in DMRlink. I am going
>>>>>>>>>>>                             to have to redo the install script.
>>>>>>>>>>>
>>>>>>>>>>>                             Steve
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>                             On 12/21/2016 06:07 PM, David
>>>>>>>>>>>                             Shaw wrote:
>>>>>>>>>>>>                             Hello, Today for my birthday I
>>>>>>>>>>>>                             received a new DVThumb. I'm
>>>>>>>>>>>>                             using N4IRS 's DMRGateway. I
>>>>>>>>>>>>                             ran ./mk_dmrlink and got an error.
>>>>>>>>>>>>
>>>>>>>>>>>>                             cp: cannot stat
>>>>>>>>>>>>                             ‘/srv/DMRlink/RS129.py’: No
>>>>>>>>>>>>                             such file or directory
>>>>>>>>>>>>
>>>>>>>>>>>>                             I edited mk_dmrlink and rem out
>>>>>>>>>>>>                             the line:
>>>>>>>>>>>>                             #cp /srv/DMRlink/RS129.py
>>>>>>>>>>>>                             /opt/dmrlink
>>>>>>>>>>>>
>>>>>>>>>>>>                             Is this OK?
>>>>>>>>>>>>
>>>>>>>>>>>>                             --
>>>>>>>>>>>>                             Thanks, David
>>>>>>>>>>>>
>>>>>>>>>>>>                             "Laws that forbid the carrying
>>>>>>>>>>>>                             of arms...disarm only those who
>>>>>>>>>>>>                             are neither inclined nor
>>>>>>>>>>>>                             determined to commit crimes.
>>>>>>>>>>>>                             Such laws make things worse for
>>>>>>>>>>>>                             the assaulted and better for
>>>>>>>>>>>>                             the assailants; they serve
>>>>>>>>>>>>                             rather to encourage than
>>>>>>>>>>>>                             prevent homicides, for an
>>>>>>>>>>>>                             unarmed man may be attacked
>>>>>>>>>>>>                             with greater confidence than an
>>>>>>>>>>>>                             armed one."
>>>>>>>>>>>>                             Thomas Jefferson
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>                             _______________________________________________
>>>>>>>>>>>>                             Allstar-Digital mailing list
>>>>>>>>>>>>                             Allstar-Digital at lists.keekles.org
>>>>>>>>>>>>                             <mailto:Allstar-Digital at lists.keekles.org>
>>>>>>>>>>>>                             http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>>>>>>>>>                             <http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital>
>>>>>>>>>>>
>>>>>>>>>>>                             -- 
>>>>>>>>>>>                             "Anything is possible if you don't know what you are talking about."
>>>>>>>>>>>                             1st Law of Logic
>>>>>>>>>>>
>>>>>>>>>>>                             _______________________________________________
>>>>>>>>>>>                             Allstar-Digital mailing list
>>>>>>>>>>>                             Allstar-Digital at lists.keekles.org
>>>>>>>>>>>                             <mailto:Allstar-Digital at lists.keekles.org>
>>>>>>>>>>>                             http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>>>>>>>>                             <http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>                     _______________________________________________
>>>>>>>>>>>                     Allstar-Digital mailing list
>>>>>>>>>>>                     Allstar-Digital at lists.keekles.org
>>>>>>>>>>>                     <mailto:Allstar-Digital at lists.keekles.org>
>>>>>>>>>>>                     http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>>>>>>>>                     <http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital>
>>>>>>>>>>
>>>>>>>>>>                     -- 
>>>>>>>>>>                     "Real programmers us vi, that's why I use nano"
>>>>>>>>>>
>>>>>>>>>>                     _______________________________________________
>>>>>>>>>>                     Allstar-Digital mailing list
>>>>>>>>>>                     Allstar-Digital at lists.keekles.org
>>>>>>>>>>                     <mailto:Allstar-Digital at lists.keekles.org>
>>>>>>>>>>                     http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>>>>>>>                     <http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>             _______________________________________________
>>>>>>>>>>             Allstar-Digital mailing list
>>>>>>>>>>             Allstar-Digital at lists.keekles.org
>>>>>>>>>>             <mailto:Allstar-Digital at lists.keekles.org>
>>>>>>>>>>             http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>>>>>>>             <http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital>
>>>>>>>>>             _______________________________________________
>>>>>>>>>             Allstar-Digital mailing list
>>>>>>>>>             Allstar-Digital at lists.keekles.org
>>>>>>>>>             <mailto:Allstar-Digital at lists.keekles.org>
>>>>>>>>>             http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>>>>>>             <http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>         _______________________________________________
>>>>>>>>>         Allstar-Digital mailing list
>>>>>>>>>         Allstar-Digital at lists.keekles.org
>>>>>>>>>         <mailto:Allstar-Digital at lists.keekles.org>
>>>>>>>>>         http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>>>>>>         <http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital>
>>>>>>>>         _______________________________________________
>>>>>>>>         Allstar-Digital mailing list
>>>>>>>>         Allstar-Digital at lists.keekles.org
>>>>>>>>         <mailto:Allstar-Digital at lists.keekles.org>
>>>>>>>>         http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>>>>>         <http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital>
>>>>>>>>
>>>>>>>>
>>>>>>>>     _______________________________________________
>>>>>>>>     Allstar-Digital mailing list
>>>>>>>>     Allstar-Digital at lists.keekles.org
>>>>>>>>     <mailto:Allstar-Digital at lists.keekles.org>
>>>>>>>>     http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>>>>>     <http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital>
>>>>>>>     _______________________________________________
>>>>>>>     Allstar-Digital mailing list
>>>>>>>     Allstar-Digital at lists.keekles.org
>>>>>>>     <mailto:Allstar-Digital at lists.keekles.org>
>>>>>>>     http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>>>>     <http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Allstar-Digital mailing list
>>>>>>> Allstar-Digital at lists.keekles.org
>>>>>>> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>>>
>>>>>> _______________________________________________
>>>>>> Allstar-Digital mailing list
>>>>>> Allstar-Digital at lists.keekles.org
>>>>>> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>>
>>>>> _______________________________________________
>>>>> Allstar-Digital mailing list
>>>>> Allstar-Digital at lists.keekles.org
>>>>> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>
>>>> _______________________________________________
>>>> Allstar-Digital mailing list
>>>> Allstar-Digital at lists.keekles.org
>>>> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>
>>> _______________________________________________
>>> Allstar-Digital mailing list
>>> Allstar-Digital at lists.keekles.org
>>> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>
>> _______________________________________________
>> Allstar-Digital mailing list
>> Allstar-Digital at lists.keekles.org
>> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>
> _______________________________________________
> Allstar-Digital mailing list
> Allstar-Digital at lists.keekles.org
> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.allstarlink.org/pipermail/allstar-digital/attachments/20170330/586a62db/attachment.html>


More information about the Allstar-Digital mailing list