[Allstar Digital] DMRGateway Install Error

Steve Zingman szingman at msgstor.com
Thu Mar 30 20:57:01 EDT 2017


I think you are running the wrong DMRGateway. use DMRGateway.armv7 
rename it to DMRGateway

Steve

On 03/30/2017 08:44 PM, Peter wrote:
>
> I think I'm making some progress having switched over to a debain 
> based distro on the pi.
>
> I have the gateway running with a few suspect errors.
>
> DMRLink Gateway
> Unknows section/name in .ini file: GENERAL//dev/null
> Unknows section/name in .ini file: GENERAL//dev/null
> Setting [GENERAL] decoderFallBack -> false
> Setting [GENERAL] useMicrophone -> false
> Setting [GENERAL] useVox -> true
> Setting [GENERAL] voxDecay -> 2
> Setting [GENERAL] voxTrigger -> 200
> Setting [AMBE_AUDIO] server -> 127.0.0.1
> Setting [AMBE_AUDIO] fromDMRPort -> 31000
> Setting [AMBE_AUDIO] toDMRPort -> 31003
> Setting [USRP] server -> 192.168.168.10
> Setting [USRP] toASLPort -> 32001
> Setting [USRP] fromASLPort -> 34001
> Unknows section/name in .ini file: USRP/AUDIO_USE_AGC
> Unknows section/name in .ini file: USRP/-20
> Unknows section/name in .ini file: USRP/AUDIO_USE_BPF
> Unknows section/name in .ini file: USRP/0.35
> Setting [DV3000] server -> /dev/ttyUSB0
> Setting [DV3000] port -> 460800
> Setting [DV3000] serial -> true
> ioctl reset error
> ioctl speed error
> ioctl stereo error
> ioctl setfmt error
> Audio In/Out Device: /dev/null
> Open UDP listener on 127.0.0.1:31000
> Open USRP on 192.168.168.10:32001
>
>
>
> dmrlink
>
>
> root at raspberrypi:/opt/dmrlink/ambe_audio# ./dmrlink.py
> INFO DMRlink 'dmrlink.py' (c) 2013 - 2015 N0MJS & the K0USY Group - 
> SYSTEM STARTING...
> INFO (BM) IPSC Instance Created: 2342425, 0.0.0.0:50001
> DEBUG (BM) PEER Connection Maintenance Loop Started
> INFO (BM) Registering with the Master: 44.137.41.178:55000
> WARNING (BM) Registration response (we requested reg) from the Master: 
> 204999, 44.137.41.178:55000 (1 peers)
> DEBUG (BM) PEER Connection Maintenance Loop Started
> DEBUG (BM) Keep Alive Sent to the Master: 204999, 44.137.41.178:55000
> INFO (BM), No Peer List - Requesting One From the Master
> DEBUG (BM) Peer List Reply Received From Master 204999, 
> 44.137.41.178:55000
> DEBUG (BM) PEER Connection Maintenance Loop Started
> DEBUG (BM) Keep Alive Sent to the Master: 204999, 44.137.41.178:55000
> INFO (BM) Master Keep-Alive Missed: 44.137.41.178:55000
> ^CINFO *** DMRLINK IS TERMINATING WITH SIGNAL 2 ***
> INFO De-Registering from IPSC BM
>
> Does this config look right for connecting to a  BM master?
>
> [BM]
> ENABLED: True
> RADIO_ID: 2342425
> IP:
> PORT: 50001
> ALIVE_TIMER: 5
> MAX_MISSED: 20
> PEER_OPER: True
> IPSC_MODE: DIGITAL
> TS1_LINK: True
> TS2_LINK: True
> CSBK_CALL: False
> RCM: True
> CON_APP: True
> XNL_CALL: False
> XNL_MASTER: False
> DATA_CALL: True
> VOICE_CALL: True
> MASTER_PEER: False
> AUTH_ENABLED: False
> AUTH_KEY:
> MASTER_IP: 44.137.41.178
> MASTER_PORT: 55000
> GROUP_HANGTIME: 5
>
>
> Peter
>
>
> On 30/03/2017 20:44, Steve Zingman wrote:
>> Use the diagnostics from NWD to make sure the host is connecting 
>> properly to the DV3000.
>>
>> 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
>>
>> _______________________________________________
>> 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/ed9e0c14/attachment.html>


More information about the Allstar-Digital mailing list