I have successfully connected 2 RPi together using DMRlink.Here is the debug log from the masterDEBUG (MASTER99) MASTER Connection Maintenance Loop StartedINFO (MASTER99) Master Registration Packet Received from peer 101, 192.168.1.101:50000DEBUG (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 StartedDEBUG (MASTER99) Time Since Last KeepAlive Request from Peer 101: 1 secondsDEBUG (MASTER99) Master Keep-Alive Request Received from peer 101, 192.168.1.101:50000Here is the debug log from the peerDEBUG (PEER101) PEER Connection Maintenance Loop StartedDEBUG (PEER101) Keep Alive Sent to the Master: 99, 192.168.1.99:50000DEBUG (PEER101), Skip asking for a Peer List, we are the only PeerDEBUG (PEER101) Keep-Alive Reply (we sent the request) Received from the Master 99, 192.168.1.99:50000DEBUG (PEER101) PEER Connection Maintenance Loop StartedDEBUG (PEER101) Keep Alive Sent to the Master: 99, 192.168.1.99:50000DEBUG (PEER101) Keep-Alive Reply (we sent the request) Received from the Master 99, 192.168.1.99:50000DEBUG (PEER101) PEER Connection Maintenance Loop StartedOn Fri, Dec 4, 2015 at 8:56 PM, Steve Zingman <szingman@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@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@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@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@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@gmail.com> wrote:
Making progress! I need to copy if from /opt/drmlink
root@repeater:/opt/dmrlink/playback# python2 playback.pyTraceback (most recent call last):File "playback.py", line 16, in <module>from dmrlink import IPSC, NETWORK, networks, logger, dmr_nat, int_id, hex_str_3File "/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@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@repeater:/opt/dmrlink/playback# python2 playback.pyTraceback (most recent call last):File "playback.py", line 16, in <module>from dmrlink import IPSC, NETWORK, networks, logger, dmr_nat, int_id, hex_str_3File "/opt/dmrlink/playback/dmrlink.py", line 256, in <module>'propagate': True,File "/usr/lib/python2.7/logging/config.py", line 794, in dictConfigdictConfigClass(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@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.logLOG_HANDLERS: fileLOG_LEVEL: warningLOG_NAME: DMRlink
On Fri, Dec 4, 2015 at 8:08 PM, Steve Zingman <szingman@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@repeater:/opt/dmrlink/playback# python2 playback.pyTraceback (most recent call last):File "playback.py", line 16, in <module>from dmrlink import IPSC, NETWORK, networks, logger, dmr_nat, int_id, hex_str_3File "/opt/dmrlink/playback/dmrlink.py", line 256, in <module>'propagate': True,File "/usr/lib/python2.7/logging/config.py", line 794, in dictConfigdictConfigClass(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@repeater:/opt/dmrlink/playback# python2 playback.pyTraceback (most recent call last):File "playback.py", line 16, in <module>from dmrlink import IPSC, NETWORK, networks, logger, dmr_nat, int_id, hex_str_3File "/opt/dmrlink/playback/dmrlink.py", line 256, in <module>'propagate': True,File "/usr/lib/python2.7/logging/config.py", line 794, in dictConfigdictConfigClass(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@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@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________ Allstar-Digital mailing list Allstar-Digital@lists.keekles.org 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@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________ Allstar-Digital mailing list Allstar-Digital@lists.keekles.org 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@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________ Allstar-Digital mailing list Allstar-Digital@lists.keekles.org 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@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________
Allstar-Digital mailing list
Allstar-Digital@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________ Allstar-Digital mailing list Allstar-Digital@lists.keekles.org 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@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________ Allstar-Digital mailing list Allstar-Digital@lists.keekles.org 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@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________ Allstar-Digital mailing list Allstar-Digital@lists.keekles.org 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@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________ Allstar-Digital mailing list Allstar-Digital@lists.keekles.org 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@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________ Allstar-Digital mailing list Allstar-Digital@lists.keekles.org 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@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________
Allstar-Digital mailing list
Allstar-Digital@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital