Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 01-09-2012, 04:37   #1
Registered User

Join Date: Sep 2012
Posts: 6
OpenCPN can't connect to GPS 2 IP

Hi everybody,

I'am trying to use my iPhone as a GPS repeater for my Mac, just to have a GPS signal that I can use in OpenCPN. So, I bought GPS 2 IP from the iTunes store, downloaded OpenCPN latest version, installed some charts and I gave it a go.

No luck, so together with the developer op GPS 2 IP we installed gpsd in Terminal and now I'am able to connect to GPS 2 IP (in socket mode) and see gps data in Terminal. He did I great job

Then I tried to get a connection between gpsd and OpenCPN myself. In the preferences tab GPS I tried to do so, but I do not get the green light or any other gps data in OpenCPN.

I did some digging in your forum, found several posts but I can't make anything out of it. I'am quite sure the answer has already been posted in the forum. Sorry for this new one but I can't find it simply because I'am a "plug and play" mac user and stay away from Terminal unless somebody guides me through the process because I simply don't understand what I'am doing in Terminal Maybe I did some wrong installations already but I'am not aware of that and therefor don't know what and how I should uninstall.

Is there somebody who can help me out? Is gpsd the best way to connect or are there other and better options/configurations?

I'am looking forward to hear from you.

Willem
__________________

__________________
Willem NL is offline   Reply With Quote
Old 01-09-2012, 05:02   #2
Registered User

Join Date: Feb 2011
Location: uk
Posts: 75
Re: OpenCPN can't connect to GPS 2 IP

I think you need a piece of software to connect your ip to a virtual com port, as OCPN needs to connect to a com port.

these guys do a good virtual com port prog.




Eterlogic - Welcome to www.eterlogic.com website

Havent used it in this way, personally, but to share one gps com port across many programs. others will be along with more details

Have just re read your post, ip =phone not ip address. when you look at terminal, does it tell you a com port number, if so this is what should be entered in the gps data source in settings in ocpn
__________________

__________________
yachtman is offline   Reply With Quote
Old 01-09-2012, 06:13   #3
Registered User

Join Date: Sep 2012
Posts: 6
Re: OpenCPN can't connect to GPS 2 IP

Quote:
Originally Posted by yachtman View Post
Hi yachtman,

Thanks for your reply. I've looked at there webpage but found system requirements to be windows. Doesn't run on my mac I guess.
__________________
Willem NL is offline   Reply With Quote
Old 01-09-2012, 06:29   #4
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,777
Re: OpenCPN can't connect to GPS 2 IP

Willem,

I am afraid yachtman is wrong. Eterlogic is for Windows only and there is no need for a COM port at OpenCPN but you have to connect with "Network LIBGPS" in the GPS settings of OpenCPN.

I do not know your GPS2IP app you have bought but there is a solution for free to connect an iPhone to OpenCPN. You will need however Python from MacPorts to have it run: Making your iPhone look like a NMEA GPS receiver with gpsd and WiFi or Bluetooth | spench.net

I have tested this free solution myself and it works great with iPhone and Mac OS X but you have to be familiar with Terminal commands and the such.
__________________
CarCode is online now   Reply With Quote
Old 01-09-2012, 07:37   #5
Registered User

Join Date: Sep 2012
Posts: 6
Re: OpenCPN can't connect to GPS 2 IP

Hi CarCode,

Thanks, yes, i found out Eterlogic is for Windows.

GPS2IP is an App for iPhone. Looks great, works with gpsd and so, but no connection with OpenCPN.

I've recognized your post, and have seen the spench.net earlier but could not figure out what to do, and, second, I could not find if it sends COG and SOG. You will probably know.

Further, being on that page, I've no clue what to do with is. What do I need to install where?
__________________
Willem NL is offline   Reply With Quote
Old 01-09-2012, 08:46   #6
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,777
Re: OpenCPN can't connect to GPS 2 IP

Willem,
I suppose it might be too difficult for you to install the spent.net solution.
If you will use your GPS2IP app with gpsd for OpenCPN you will need however the gpsd on your Mac. You can either install gpsd with the help of MacPorts or you can use gpsdX. OpenCPN should work then with "Network LIBGPS". You may test gps with the commands cgps or gpsmon in your Terminal.
__________________
CarCode is online now   Reply With Quote
Old 02-09-2012, 02:54   #7
Registered User

Join Date: Sep 2012
Posts: 6
Hi CarCode,

I've had GPSDX installed twice but it does not work.

Gpsd is installed and running. Choosing Network LIBGPS resulted in an error saying "libgps not found". So I installed gpsd +universal. Choosing Network LIBGPS gives me an error saying something with "gps_open" (I can't recall exactly cause I'm not behind my mac today) but it looks like progress.

I'll let you know about the terminal commands when I am back at my mac
__________________
Willem NL is offline   Reply With Quote
Old 05-09-2012, 14:52   #8
Registered User

Join Date: Sep 2012
Posts: 6
Hi CarCode,

Terminal commands are negative. Cgps gives no result and gpsmon gives an empty table.

Any ideas?
__________________
Willem NL is offline   Reply With Quote
Old 09-09-2012, 05:54   #9
Registered User

Join Date: Oct 2011
Posts: 27
Re: OpenCPN can't connect to GPS 2 IP

Willem, when you get this going could you post some instructions please. I have the same setup and was disappointed after buying GPS 2 IP that it wasn't simple to get going.

Cheers
__________________
deandavis1 is offline   Reply With Quote
Old 10-09-2012, 15:40   #10
Registered User

Join Date: Sep 2012
Posts: 6
Quote:
Originally Posted by deandavis1
Willem, when you get this going could you post some instructions please. I have the same setup and was disappointed after buying GPS 2 IP that it wasn't simple to get going.

Cheers
No problem but up till now luck
__________________

__________________
Willem NL is offline   Reply With Quote
Reply

Tags
gps, opencpn

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 09:27.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.