[Allstar Digital] DMRlink Install

David KE6UPI dshaw at ke6upi.com
Sun Dec 6 10:41:54 EST 2015


I love it Michael. I can't wait to get the radio and programming cable to
start.. Just got my DV4Mini and will start the install tonight of DMRlink.

But the guess is.... Are we doing two DV4Mini and two RPi's and making a
point to point? Because I went with one DV4Mini.

David

On Sat, Dec 5, 2015 at 9:35 PM, Michael Hebert <mhebert1975 at gmail.com>
wrote:

> As you can tell, I am anxious to get it up and running :-)
>
> On Sat, Dec 5, 2015 at 1:06 AM, David KE6UPI <dshaw at ke6upi.com> wrote:
>
>> Mike slow down. I haven't getting any of my stuff and I don't like being
>> last.. LOL
>>
>> Nice job Mike.
>>
>> David
>>
>> On Fri, Dec 4, 2015 at 8:21 PM, Michael Hebert <mhebert1975 at gmail.com>
>> wrote:
>>
>>> I have successfully connected 2 RPi together using DMRlink.
>>>
>>> Here is the debug log from the master
>>>
>>> DEBUG (MASTER99) MASTER Connection Maintenance Loop Started
>>> INFO (MASTER99) Master Registration Packet Received from peer 101,
>>> 192.168.1.101:50000
>>> DEBUG (MASTER99) Peer Added To Peer List: {'STATUS':
>>> {'KEEP_ALIVE_RX_TIME': 1449289054, 'KEEP_ALIVES_SENT': 0,
>>> 'KEEP_ALIVES_OUTSTANDING': 0, 'CONNECTED': True, 'KEEP_ALIVES_RECEIVED': 0,
>>> 'KEEP_ALIVES_MISSED': 0}, 'MODE_DECODE': {'TS_1': True, 'TS_2': True,
>>> 'PEER_MODE': 'DIGITAL', 'PEER_OP': True}, 'FLAGS_DECODE': {'VOICE': True,
>>> 'RCM': True, 'XNL_SLAVE': False, 'MASTER': False, 'CON_APP': True,
>>> 'XNL_CON': False, 'CSBK': False, 'DATA': True, 'XNL_MASTER': False, 'AUTH':
>>> True}, 'IP': '192.168.1.101', 'FLAGS': '\x00\x00`\x1c', 'MODE': 'j',
>>> 'PORT': 50000}, 192.168.1.101:50000 (IPSC now has 1 Peers)
>>> DEBUG (MASTER99) MASTER Connection Maintenance Loop Started
>>> DEBUG (MASTER99) Time Since Last KeepAlive Request from Peer 101: 1
>>> seconds
>>> DEBUG (MASTER99) Master Keep-Alive Request Received from peer 101,
>>> 192.168.1.101:50000
>>>
>>> Here is the debug log from the peer
>>>
>>> DEBUG (PEER101) PEER Connection Maintenance Loop Started
>>> DEBUG (PEER101) Keep Alive Sent to the Master: 99, 192.168.1.99:50000
>>> DEBUG (PEER101), Skip asking for a Peer List, we are the only Peer
>>> DEBUG (PEER101) Keep-Alive Reply (we sent the request) Received from the
>>> Master 99, 192.168.1.99:50000
>>> DEBUG (PEER101) PEER Connection Maintenance Loop Started
>>> DEBUG (PEER101) Keep Alive Sent to the Master: 99, 192.168.1.99:50000
>>> DEBUG (PEER101) Keep-Alive Reply (we sent the request) Received from the
>>> Master 99, 192.168.1.99:50000
>>> DEBUG (PEER101) PEER Connection Maintenance Loop Started
>>>
>>>
>>>
>>>
>>>
>>> On Fri, Dec 4, 2015 at 8:56 PM, Steve Zingman <szingman at msgstor.com>
>>> wrote:
>>>
>>>> DMRlink can be a Master or a Peer. Really both at the same time.
>>>>
>>>> On 12/04/2015 09:55 PM, Michael Hebert wrote:
>>>>
>>>> Hmm... I wonder if I could spin up another RPi with dmrlink and bridge
>>>> them together?
>>>>
>>>> I think you guys where working on this.
>>>>
>>>> On Fri, Dec 4, 2015 at 8:51 PM, Steve Zingman <szingman at msgstor.com>
>>>> wrote:
>>>>
>>>>> OK,
>>>>> So you need to work on bridge. you are going to point the repeater at
>>>>> DMRlink and DMRlink at you master.
>>>>>
>>>>>
>>>>> On 12/04/2015 09:49 PM, Michael Hebert wrote:
>>>>>
>>>>> Not yet. I need to drive to the repeater site and reprogram it to
>>>>> point to the dmrlink
>>>>>
>>>>> On Fri, Dec 4, 2015 at 8:45 PM, Steve Zingman < <szingman at msgstor.com>
>>>>> szingman at msgstor.com> wrote:
>>>>>
>>>>>> Do you have a repeater connected?
>>>>>>
>>>>>>
>>>>>> On 12/04/2015 09:43 PM, Michael Hebert wrote:
>>>>>>
>>>>>> I think it is running! I just typed python2 playback.py and no errors
>>>>>>
>>>>>> Anyway to check?
>>>>>>
>>>>>> On Fri, Dec 4, 2015 at 8:39 PM, Steve Zingman <
>>>>>> <szingman at msgstor.com>szingman at msgstor.com> wrote:
>>>>>>
>>>>>>> I screwed up in the config file that is copied to every app
>>>>>>> directory.
>>>>>>> path needs a trailing /
>>>>>>>
>>>>>>> On 12/04/2015 09:36 PM, Michael Hebert wrote:
>>>>>>>
>>>>>>> Do you guys think there is a problem with my install or are we
>>>>>>> finding bugs in dmrlink??
>>>>>>>
>>>>>>> On Fri, Dec 4, 2015 at 8:34 PM, Steve Zingman <
>>>>>>> <szingman at msgstor.com>szingman at msgstor.com> wrote:
>>>>>>>
>>>>>>>> good question
>>>>>>>>
>>>>>>>> On 12/04/2015 09:32 PM, Mike Zingman wrote:
>>>>>>>>
>>>>>>>> Where is the /
>>>>>>>>
>>>>>>>> /opt/dmrlinksubscriber_idsxxx.csv ->>> /opt/dmrlink/subscriber_
>>>>>>>> idsxxx.csv
>>>>>>>>
>>>>>>>> On Fri, Dec 4, 2015 at 9:28 PM, Michael Hebert <
>>>>>>>> <mhebert1975 at gmail.com>mhebert1975 at gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Making progress! I need to copy if from /opt/drmlink
>>>>>>>>>
>>>>>>>>> root at repeater:/opt/dmrlink/playback# python2 playback.py
>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>   File "playback.py", line 16, in <module>
>>>>>>>>>     from dmrlink import IPSC, NETWORK, networks, logger, dmr_nat,
>>>>>>>>> int_id, hex_str_3
>>>>>>>>>   File "/opt/dmrlink/playback/dmrlink.py", line 297, in <module>
>>>>>>>>>     with open(PATH+'subscriber_idsxxx.csv', 'rU') as
>>>>>>>>> subscriber_ids_csv:
>>>>>>>>> IOError: [Errno 2] No such file or directory:
>>>>>>>>> '/opt/dmrlinksubscriber_idsxxx.csv'
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Fri, Dec 4, 2015 at 8:26 PM, Steve Zingman <
>>>>>>>>> <szingman at msgstor.com>szingman at msgstor.com> wrote:
>>>>>>>>>
>>>>>>>>>> change LOG_LEVEL: warning to LOG_LEVEL: WARNING
>>>>>>>>>>
>>>>>>>>>> log_level is in caps
>>>>>>>>>>
>>>>>>>>>> On 12/04/2015 09:23 PM, Michael Hebert wrote:
>>>>>>>>>>
>>>>>>>>>> changed the logname and still got the same error, just lowercase
>>>>>>>>>>
>>>>>>>>>> root at repeater:/opt/dmrlink/playback# python2 playback.py
>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>   File "playback.py", line 16, in <module>
>>>>>>>>>>     from dmrlink import IPSC, NETWORK, networks, logger, dmr_nat,
>>>>>>>>>> int_id, hex_str_3
>>>>>>>>>>   File "/opt/dmrlink/playback/dmrlink.py", line 256, in <module>
>>>>>>>>>>     'propagate': True,
>>>>>>>>>>   File "/usr/lib/python2.7/logging/config.py", line 794, in
>>>>>>>>>> dictConfig
>>>>>>>>>>     dictConfigClass(config).configure()
>>>>>>>>>>   File "/usr/lib/python2.7/logging/config.py", line 627, in
>>>>>>>>>> configure
>>>>>>>>>>     '%r: %s' % (name, e))
>>>>>>>>>> ValueError: Unable to configure logger 'dmrlink\nblank if you do
>>>>>>>>>> not need or wish to specify. It is mostly\nuseful when DMRlink uses
>>>>>>>>>> multiple interfaces to serve as an\napplication gatway/proxy from private
>>>>>>>>>> and/or VPN networks\nto the real world.': Unknown level: 'warning'
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Fri, Dec 4, 2015 at 8:17 PM, Steve Zingman <
>>>>>>>>>> <szingman at msgstor.com>szingman at msgstor.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Just for the heck of it, change LOG_NAME: DMRlink to LOG_NAME:
>>>>>>>>>>> dmrlink
>>>>>>>>>>>
>>>>>>>>>>> On 12/04/2015 09:16 PM, Michael Hebert wrote:
>>>>>>>>>>>
>>>>>>>>>>> Here is what is in the dmrlink.cfg
>>>>>>>>>>>
>>>>>>>>>>> [LOGGER]
>>>>>>>>>>> LOG_FILE: /var/log/dmrlink/dmrlink.log
>>>>>>>>>>> LOG_HANDLERS: file
>>>>>>>>>>> LOG_LEVEL: warning
>>>>>>>>>>> LOG_NAME: DMRlink
>>>>>>>>>>>
>>>>>>>>>>> On Fri, Dec 4, 2015 at 8:08 PM, Steve Zingman <
>>>>>>>>>>> <szingman at msgstor.com>szingman at msgstor.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Do you have DMRlink in your config file? Notice the uppercase.
>>>>>>>>>>>>
>>>>>>>>>>>> On 12/04/2015 09:04 PM, Michael Hebert wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> Steve,
>>>>>>>>>>>>
>>>>>>>>>>>> When I try to run playback.py I get the following error.
>>>>>>>>>>>>
>>>>>>>>>>>> root at repeater:/opt/dmrlink/playback# python2 playback.py
>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>   File "playback.py", line 16, in <module>
>>>>>>>>>>>>     from dmrlink import IPSC, NETWORK, networks, logger,
>>>>>>>>>>>> dmr_nat, int_id, hex_str_3
>>>>>>>>>>>>   File "/opt/dmrlink/playback/dmrlink.py", line 256, in <module>
>>>>>>>>>>>>     'propagate': True,
>>>>>>>>>>>>   File "/usr/lib/python2.7/logging/config.py", line 794, in
>>>>>>>>>>>> dictConfig
>>>>>>>>>>>>     dictConfigClass(config).configure()
>>>>>>>>>>>>   File "/usr/lib/python2.7/logging/config.py", line 576, in
>>>>>>>>>>>> configure
>>>>>>>>>>>>     '%r: %s' % (name, e))
>>>>>>>>>>>> ValueError: Unable to configure handler 'file': [Errno 2] No
>>>>>>>>>>>> such file or directory: '/var/log/dmrlink/dmrlink.log'
>>>>>>>>>>>>
>>>>>>>>>>>> I created /var/log/dmrlink/dmrlink.log and it fixed the
>>>>>>>>>>>> ValueError
>>>>>>>>>>>>
>>>>>>>>>>>> Now when I run playback.py I get the following error
>>>>>>>>>>>>
>>>>>>>>>>>> root at repeater:/opt/dmrlink/playback# python2 playback.py
>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>   File "playback.py", line 16, in <module>
>>>>>>>>>>>>     from dmrlink import IPSC, NETWORK, networks, logger,
>>>>>>>>>>>> dmr_nat, int_id, hex_str_3
>>>>>>>>>>>>   File "/opt/dmrlink/playback/dmrlink.py", line 256, in <module>
>>>>>>>>>>>>     'propagate': True,
>>>>>>>>>>>>   File "/usr/lib/python2.7/logging/config.py", line 794, in
>>>>>>>>>>>> dictConfig
>>>>>>>>>>>>     dictConfigClass(config).configure()
>>>>>>>>>>>>   File "/usr/lib/python2.7/logging/config.py", line 627, in
>>>>>>>>>>>> configure
>>>>>>>>>>>>     '%r: %s' % (name, e))
>>>>>>>>>>>> ValueError: Unable to configure logger 'DMRlink\nblank if you
>>>>>>>>>>>> do not need or wish to specify. It is mostly\nuseful when DMRlink uses
>>>>>>>>>>>> multiple interfaces to serve as an\napplication gatway/proxy from private
>>>>>>>>>>>> and/or VPN networks\nto the real world.': Unknown level: 'warning'
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Not sure how to fix this.
>>>>>>>>>>>>
>>>>>>>>>>>> Michael KD5DFB
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Fri, Dec 4, 2015 at 5:32 AM, Steve Zingman <
>>>>>>>>>>>> <szingman at msgstor.com>szingman at msgstor.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Added python-twisted and unzip to mk_dmrlink
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 12/04/2015 03:27 AM, Michael Hebert wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> apt-get install python-twisted
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> "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>
>>>>>>>>>>>>> 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 listAllstar-Digital at lists.keekles.orghttp://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>
>>>>>>>>>>>> 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 listAllstar-Digital at lists.keekles.orghttp://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>
>>>>>>>>>>> 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 listAllstar-Digital at lists.keekles.orghttp://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>
>>>>>>>>>> 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>
>>>>>>>>> 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 listAllstar-Digital at lists.keekles.orghttp://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
>>>>>>>> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Allstar-Digital mailing listAllstar-Digital at lists.keekles.orghttp://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
>>>>>>> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Allstar-Digital mailing listAllstar-Digital at lists.keekles.orghttp://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
>>>>>> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Allstar-Digital mailing listAllstar-Digital at lists.keekles.orghttp://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
>>>>> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>>
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Allstar-Digital mailing listAllstar-Digital at lists.keekles.orghttp://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
>>>> 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/20151206/a7306bce/attachment.html>


More information about the Allstar-Digital mailing list