2016-05-02, 02:48 PM
(This post was last modified: 2016-05-02, 03:10 PM by cepicscepics.)
(2016-05-02, 11:58 AM)holgerw Wrote: cepicscepics
in
sudo nano /etc/rc.local
But nothing happened
I tried also to add those line in open plotter advanced setting, but nothing happened...
I tried to give command "cat /dev/rfcomm0" before and after to give "sudo rfcomm connect 0 00:02:C7:15:94:34 &"
hi Mario - if you setup with sudo you must read the dev also with these rights:
sudo cat /dev/rfcomm0
make /dev/rfcomm0 readable for user pi
sudo chown pi /dev/rfcomm0
or
sudo chmod +r /dev/rfcomm0
Also you only need one dev/rfcommx linefor your gps, the others are examples from my setup.
delete your second /DEV/RFCOMM line in rc.local. the # Lines are comments.
also you dont need these lines in kplex.conf - normaly this is only an one shot setup after booting. (/etc/rc.local)
but user pi must be able to read /dev/rfcomm0
good luck - Holger
thanks a lot for your patience
when I log in, if I try to type sudo cat /dev/rfcomm0, noting happens..
if I type first
sudo rfcomm connect 0 00:02:C7:15:94:34 &
and than
sudo cat /dev/rfcomm0
the terminal start giving data but nothing on OpenCPN
now this is my File: /etc/rc.local
and this my cleaned openplotter advanced setup
aiutoooo please
Mauro