Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 10-03-2019, 05:53   #16
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,106
Re: Raspberry PI - Installing OpenCPN Version 5

Quote:
Originally Posted by conachair View Post
Quick heads up might as well go in here.
The latest version of hostapd breaks the openplotter access point,
This put into terminal should stop hostapd getting updated next time you do an sudo apt-get upgrade >

sudo apt-mark hold hostapd

Using the latest kernel 4.19.27 Did the latest updates.



to get the Acces Point working again:


sudo systemctl enable hostapd.service


Regards,


Bram
verkerkbr is offline   Reply With Quote
Old 10-03-2019, 06:11   #17
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Raspberry PI - Installing OpenCPN Version 5

Quote:
Originally Posted by verkerkbr View Post
U
to get the Acces Point working again:


sudo systemctl enable hostapd.service
conachair is offline   Reply With Quote
Old 10-03-2019, 06:22   #18
Registered User

Join Date: Nov 2008
Location: Ottawa,Canada
Boat: Prout Snowgoose 37' Catamaran
Posts: 570
Re: Raspberry PI - Installing OpenCPN Version 5

Quote:
Originally Posted by nohal View Post
Geoff...

You have manually edited the sources.list as it seems, but you did not import the keys for the repositories.
Probably the easiest is to undo what you did and follow the instructions from the manual. Which means
Code:
sudo apt-get install software-properties-common #You may already have it installed
sudo add-apt-repository ppa:opencpn/opencpn
sudo add-apt-repository ppa:bdbcat/opencpn
Pavel
Pavel,
I had added them manually as adding as you suggested didn't work. Any other ideas as to what I'm doing wrong? I know others have it working

Code:
pi@raspberrypi:~ $ sudo add-apt-repository ppa:opencpn/opencpn
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 95, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/stretch
pi@raspberrypi:~ $ sudo add-apt-repository ppa:bdbcat/opencpn
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 95, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/stretch
geoffr is offline   Reply With Quote
Old 10-03-2019, 06:42   #19
Registered User

Join Date: Aug 2016
Posts: 152
Re: Raspberry PI - Installing OpenCPN Version 5

Quote:
what I'm doing wrong?
You're doing wrong because the tip was wrong.
Debian's apt doesn't know ppa. You should manually add the gpg keys and then do the following repositories


BlackSea is offline   Reply With Quote
Old 10-03-2019, 07:27   #20
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Raspberry PI - Installing OpenCPN Version 5

BlackSea...

Are you really sure?

How To Add Launchpad PPAs In Debian Via `add-apt-repository` Command ~ Web Upd8: Ubuntu / Linux blog

@geoffr: You still need to change the edition name to a compatible Ubuntu release, I somewhat think that xenial should work, but in that I may be wrong.

Pavel
nohal is offline   Reply With Quote
Old 10-03-2019, 07:41   #21
Registered User

Join Date: Aug 2016
Posts: 152
Re: Raspberry PI - Installing OpenCPN Version 5

@nohal


Quote:
Are you really sure?

100%. This way works always, without installing of another packages under Debian. Launchpad proposing same way ... See attachment
Attached Thumbnails
Click image for larger version

Name:	ppa.PNG
Views:	93
Size:	12.5 KB
ID:	187669  
BlackSea is offline   Reply With Quote
Old 10-03-2019, 07:44   #22
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Raspberry PI - Installing OpenCPN Version 5

Now I got lost, what does it have to do with "Debian apt not supporting Launchpad", which is obviously untrue (Read the link posted, and if you don't believe even that, try it yourself)?
nohal is offline   Reply With Quote
Old 10-03-2019, 07:47   #23
Registered User

Join Date: Nov 2008
Location: Ottawa,Canada
Boat: Prout Snowgoose 37' Catamaran
Posts: 570
Re: Raspberry PI - Installing OpenCPN Version 5

I now have it working - what I did is below.

Pavel - Raspberry pi needs it done a bit differently as the add-apt-repository isn't supported (as I found with google etc).

Code:
sudo apt-get install software-properties-common
sudo apt-get install dirmngr

Edit /etc/apt/sources.list add:

deb http://ppa.launchpad.net/opencpn/opencpn/ubuntu/ xenial main
deb http://ppa.launchpad.net/bdbcat/opencpn/ubuntu/ xenial main

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 67E4A52AC865EB40
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 284976FD7425C74D

sudo apt-get update

sudo apt-get install opencpn
Hope this helps others who stumble on this thread..

Geoff
ps. now onto actually testing OCPN4.99 on a Pi!
geoffr is offline   Reply With Quote
Old 10-03-2019, 07:58   #24
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,402
Re: Raspberry PI - Installing OpenCPN Version 5

geoffr...


Important and useful post.


This needs to find its way into the Wiki before O5 release.


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 10-03-2019, 08:28   #25
Registered User
 
Bill O's Avatar

Join Date: Jul 2015
Boat: Bruce Bingham Christina 49
Posts: 3,328
Re: Raspberry PI - Installing OpenCPN Version 5

Geoffr,
As I wrote in your other post re: the plugins. Do yourself a favor and just do a clean load of OPlotter and end the frustration. We feel your pain!
You can always load new versions separately of OCPN that come out into plotter. If you didn't see our article on how we built our nav. computer w/Rpi here it is again.
Phoenix's Flight: Building a Marine Navigational Computer with OpenCPN and Raspberry Pi3


Bill O.
__________________
Bill O.
KB3YMH
https://phoenixketch.blogspot.com/
Bill O is offline   Reply With Quote
Old 10-03-2019, 08:44   #26
Registered User

Join Date: Nov 2008
Location: Ottawa,Canada
Boat: Prout Snowgoose 37' Catamaran
Posts: 570
Re: Raspberry PI - Installing OpenCPN Version 5

Bill,

I'm not following what your point is....

I do have OpenPlotter running on one of my Rpis with 4.8.8. What I wanted to do was get 4.99 going to test it out and understand how well it works with the new charts I'm creating (from a performance standpoint) and also how well the split screen will work on our small touchscreen..

As far as I know there isn't an Openplotter version with 4.99 yet..

Geoff.

Quote:
Originally Posted by Bill O View Post
Geoffr,
As I wrote in your other post re: the plugins. Do yourself a favor and just do a clean load of OPlotter and end the frustration. We feel your pain!
You can always load new versions separately of OCPN that come out into plotter. If you didn't see our article on how we built our nav. computer w/Rpi here it is again.
Phoenix's Flight: Building a Marine Navigational Computer with OpenCPN and Raspberry Pi3


Bill O.
geoffr is offline   Reply With Quote
Old 10-03-2019, 08:59   #27
Registered User
 
Bill O's Avatar

Join Date: Jul 2015
Boat: Bruce Bingham Christina 49
Posts: 3,328
Re: Raspberry PI - Installing OpenCPN Version 5

My point is you should be able to update the plotter 4.8.8 by selectively installing OCPN 4.99 (per the plotter manual).


Bill O.
__________________
Bill O.
KB3YMH
https://phoenixketch.blogspot.com/
Bill O is offline   Reply With Quote
Old 10-03-2019, 09:08   #28
Registered User

Join Date: May 2011
Location: Lake Ont
Posts: 8,548
Re: Raspberry PI - Installing OpenCPN Version 5

A hopefully relevant question, especially for n00bs: is there a prepackaged distro (Linux distribution) for Raspberry Pi or other small computers that has most/all of the useful marine apps installed?


A few years back I tried Marinux and others on an ASUS eee netbook, with some success. I'm just wondering if there's currently a distro like this that can be put onto an SD card and run without hassles on an RPi 3. Thx.
Lake-Effect is offline   Reply With Quote
Old 10-03-2019, 09:11   #29
Registered User

Join Date: May 2012
Location: The Gambia
Boat: Jeanneau Sun Legende 41
Posts: 125
Send a message via Skype™ to jean_pfoumf
Re: Raspberry PI - Installing OpenCPN Version 5

Ov5 is great on my RPI 3, except with OpenGL on. It becomes very very very slow (8 seconds to hide the icon bar and I have time to drink a cup of coffee between zooms).
I tried true anf fake KMS with the same issue and Glxgears give around 50 fps.
I have to turn OpenGL off then sadly no MBTiles available.



Jean
jean_pfoumf is offline   Reply With Quote
Old 10-03-2019, 09:19   #30
Registered User
 
Bill O's Avatar

Join Date: Jul 2015
Boat: Bruce Bingham Christina 49
Posts: 3,328
Re: Raspberry PI - Installing OpenCPN Version 5

Yes we were also told running opengl will bog it down/crash it and wasn't stable.
Hoping w/the release of the new pi4 sometime this year, it will fix that issue.


Bill O.
__________________
Bill O.
KB3YMH
https://phoenixketch.blogspot.com/
Bill O is offline   Reply With Quote
Reply

Tags
enc, opencpn


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing opencpn on a Raspberry ph 3 Pokettuk OpenCPN 39 20-11-2017 05:58
Woes launching compiled version 4.8 on Raspberry Pi 3 rjoe OpenCPN 2 31-10-2017 03:40
Need Help Installing on Raspberry Pi wedivebc OpenCPN 5 04-07-2017 16:35
Problem installing openCPN 3. version amelia OpenCPN 4 30-01-2013 12:48
The Perfect Platform for OpenCPN ? Raspberry Pi night0wl OpenCPN 10 08-09-2011 19:09

Advertise Here


All times are GMT -7. The time now is 23:47.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.