signalk-venus-plugin : dbus and tcp vonfig

252 views
Skip to first unread message

alain kurth

unread,
Nov 8, 2020, 9:05:38 AM11/8/20
to Signal K
Please, my raspberry pi 3 with venus os 2.60 can't get to gui when adding the open port command to let signal k listen to the datas :

"open up the port on the Venus device. It must be configured to allow D-Bus connections via tcp, as its by default not binding its D-Bus daemon to tcp. To make it do so, add these three lines to /etc/dbus-1/system.conf (above the <policy context="default"> section) on the Venus device:

<listen>tcp:host=0.0.0.0,port=78</listen> <auth>ANONYMOUS</auth> <allow_anonymous/>"

the only change i've made to these 3 lines is to change the ip address to the the ip of an other raspberry pi hosting the signal k server.

More, it's even impossible to ssh to the venus raspi... the computer freeze and reboots in cycle...

Some advices ? thank you in advance, alan

Teppo Kurki

unread,
Nov 8, 2020, 1:23:55 PM11/8/20
to signalk
The instructions say "add these lines", not "add these lines and change the ip address".  This configuration change is for the Venus device to start listening to tcp connections, not for it to connect to your other server. Probably your misconfiguration causes the reboot cycle.

The only way to recover that I can think of is by mounting the SD card on another computer and fixing the configuration. Depending on the other computer and your skill level that may take a bit of googling and swearing, but probably doable.

There may be better ways that others can fill in.

Naturally you can also start from scratch.

alain kurth

unread,
Nov 8, 2020, 1:34:33 PM11/8/20
to Signal K
Thanks for your answer Teppo,

Following the instructions of the author :

....B. Connect to a Venus device over tcp

....Use option 2 in case that signalk is one device, for example a raspberrypi running Raspbian, which needs to connect to for example a Venus GX or Color Control GX elsewhere on the network.

When using option B, also put in the ipaddress and port.

I switched my sd card from my raspy and corrected the entry in an other computer...but if possible, i really would like to correct the issue and communicate with my other raspi !

Teppo, i really tried a lot, i think there is really an issue...

Thanks again and anyway

Teppo Kurki

unread,
Nov 8, 2020, 1:46:54 PM11/8/20
to signalk


I switched my sd card from my raspy and corrected the entry in an other computer...but if possible, i really would like to correct the issue and communicate with my other raspi !


I think you misunderstanding the instructions. You need to configure Venus to listen for connections and the plugin to connect to it with ip address and port. 

I tried to clarify the instructions a little: https://github.com/sbender9/signalk-venus-plugin/pull/61/files 
 

alain kurth

unread,
Nov 8, 2020, 2:08:31 PM11/8/20
to Signal K
Thank you Teppo, i'll give it a try tomorrow when back to the boat... good evening ! alan

alain kurth

unread,
Nov 9, 2020, 12:11:51 PM11/9/20
to Signal K
Good evening Teppo,
Following your advices leads to success ! everything works now...
Thanks again for your time ! Alan
Reply all
Reply to author
Forward
0 new messages