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 05-08-2015, 08:17   #1
Registered User

Join Date: Sep 2011
Location: Durban South Africa
Boat: WALLER MKII CAT 11M
Posts: 132
Cpn not showing ais targets when not connected to routerr

Hi, some help please, I am using Aismon to monitor ais targets with CPN ver4 of on a laptop running win8.1
ouput options from Aismon are selected as follows com1, baud 4800, UDP and log file ticked, IP Port 127.0.0.1:10110, the same IP address is set in connections in CPN
This setup works well only if my laptop is connected to my router, unplug the router and AIS targets are lost in OPENCPN
Is this a win 8.1 problem, on older win 7 machine it works fine
please any help would be appreciated, thanks in advance
delcrest is offline   Reply With Quote
Old 05-08-2015, 09:39   #2
Registered User

Join Date: Aug 2011
Location: Mississippi Gulf Coast
Boat: 37' TransPac Trawler, heavily modified
Posts: 88
Re: Cpn not showing ais targets when not connected to routerr

In OpenCPN, try setting UDP port at 0.0.0.0:10110 and leave UDP settings in aismon at 127.0.0.1:10110
LeoA is offline   Reply With Quote
Old 05-08-2015, 09:54   #3
Registered User

Join Date: Sep 2011
Location: Durban South Africa
Boat: WALLER MKII CAT 11M
Posts: 132
Re: Cpn not showing ais targets when not connected to routerr

Thanks will try that, would be great if that's all it was causing the problem.
delcrest is offline   Reply With Quote
Old 05-08-2015, 10:51   #4
Registered User

Join Date: Oct 2012
Location: Brighton, UK
Boat: Westerly Oceanlord
Posts: 513
Re: Cpn not showing ais targets when not connected to routerr

This has come up before in another thread with no resolution. I would't put money on setting the OpenCPN's receive port to 0.0.0.0: it's good practice anyway but that is actually what will be done whatever you set the receive address to.

This sort of *sounds* like an AISmon issue rather than an OpenCPN one. Perhaps someone who has wireshark an AISmon installed could check for UDP packets on the AISmon output port under 3 conditions:
- packet snooping on the external interface when up with a router-assigned address
- packet snooping on the loopback interface when external interface has a router-assigned address
- packet snooping on the loopback interface when the external interface is down and/or has no assigned address.

If we see no packets in the latter case it maybe isn't an OpenCPN problem and someone should punt it to the AISmon yahoo group.
muttnik is offline   Reply With Quote
Old 05-08-2015, 12:19   #5
Registered User

Join Date: Sep 2011
Location: Durban South Africa
Boat: WALLER MKII CAT 11M
Posts: 132
Re: Cpn not showing ais targets when not connected to routerr

Quote:
Originally Posted by muttnik View Post
This has come up before in another thread with no resolution. I would't put money on setting the OpenCPN's receive port to 0.0.0.0: it's good practice anyway but that is actually what will be done whatever you set the receive address to.

This sort of *sounds* like an AISmon issue rather than an OpenCPN one. Perhaps someone who has wireshark an AISmon installed could check for UDP packets on the AISmon output port under 3 conditions:
- packet snooping on the external interface when up with a router-assigned address
- packet snooping on the loopback interface when external interface has a router-assigned address
- packet snooping on the loopback interface when the external interface is down and/or has no assigned address.

If we see no packets in the latter case it maybe isn't an OpenCPN problem and someone should punt it to the AISmon yahoo group.
Thank you for your response, after searching the net I have found some similar information regarding "" loopback"" wouldit be possible to install some sort of virtual com port on win 8.1 Sorry I am completely NON computer literate
delcrest is offline   Reply With Quote
Old 05-08-2015, 13:45   #6
Registered User

Join Date: Oct 2012
Location: Brighton, UK
Boat: Westerly Oceanlord
Posts: 513
Re: Cpn not showing ais targets when not connected to routerr

Quote:
Originally Posted by delcrest View Post
Thank you for your response, after searching the net I have found some similar information regarding "" loopback"" wouldit be possible to install some sort of virtual com port on win 8.1 Sorry I am completely NON computer literate
I wasn't suggesting you do the debugging: people generally only have and use wireshark if they're networkily inclined but it was a general appeal to techie OpenCPN users who might have the same setup as you (sadly I don't run windows). You're not the only user to have encountered this so it would be good to nail the problem down.

I believe that you can get software for windows which will create a couple of virtual com ports which both output the same data you feed in on a physical com port so that may well be another solution (connect AISmon to one, OpenCPN to the other virtual COM port) but again, windows stuff is beyond my ken so others are better able to advise.
muttnik is offline   Reply With Quote
Old 05-08-2015, 15:10   #7
Registered User

Join Date: Aug 2011
Location: Mississippi Gulf Coast
Boat: 37' TransPac Trawler, heavily modified
Posts: 88
Re: Cpn not showing ais targets when not connected to routerr

I don't use aismon, but it is installed on my Windows 8.1 tablet. Using SDRSharp with aismon 2.2.0 will output to Opencpn only when connected to a network. When I disable the wifi or disconnect from from my network, there is no output from Aismon. Rtl_ais and aisrec both work whether I am connected to the network or not. I would say also that it appears to be an aismon issue.
LeoA is offline   Reply With Quote
Old 05-08-2015, 17:05   #8
Registered User

Join Date: Aug 2011
Location: Mississippi Gulf Coast
Boat: 37' TransPac Trawler, heavily modified
Posts: 88
Re: Cpn not showing ais targets when not connected to routerr

Free Virtual Serial Ports from FREE Virtual Serial Ports driver, Rs-232 null modem emulator will create serial ports that aismon and opencpn can use.
LeoA is offline   Reply With Quote
Old 08-08-2015, 05:02   #9
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Cpn not showing ais targets when not connected to routerr

LeoA and Muttnik thank you so much for your clear explanations and knowledge. Delcrest has been diligent persistant and patiently trying to find the solution. You have rewarded his effort with several alternatives. How can we preserve this knowledge for others?
rgleason is online now   Reply With Quote
Old 08-08-2015, 08:32   #10
Registered User

Join Date: Sep 2011
Location: Durban South Africa
Boat: WALLER MKII CAT 11M
Posts: 132
Re: Cpn not showing ais targets when not connected to routerr

Quote:
Originally Posted by LeoA View Post
Free Virtual Serial Ports from FREE Virtual Serial Ports driver, Rs-232 null modem emulator will create serial ports that aismon and opencpn can use.
Hi LeoA thanks for the info tried the virtual driver, but now cant get Aismon to see the virtual port. it only gives option of com 1,2, and 3.so I am back to square one
I would really like this to work as currently I can see targets up to 50km away granted I am at a hi altitude
delcrest is offline   Reply With Quote
Old 08-08-2015, 14:21   #11
Registered User

Join Date: Aug 2011
Location: Mississippi Gulf Coast
Boat: 37' TransPac Trawler, heavily modified
Posts: 88
Re: Cpn not showing ais targets when not connected to routerr

Make sure that you are creating bridge ports. The virtual port program will make a pair of ports, use one in aismon and the other in OpenCPN. Aismon will not distinguish that the ports are virtual or physical, it will only show the port number, ex. com4. OpenCPN will show the ports as a HHD Software Virtual Port.
LeoA is offline   Reply With Quote
Old 08-08-2015, 17:49   #12
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Cpn not showing ais targets when not connected to routerr

Del Had you tried the other suggestions from muttnik? On O set UDP 0.0.0.0 and the port.
The other one LeoA had was associated with use of aismon and sdrsharp and rtl_ais on his win8.1 and needing to have a router! It sounds more like an opencpn problem to me. Is that possible?
rgleason is online now   Reply With Quote
Old 08-08-2015, 18:58   #13
Registered User

Join Date: Aug 2011
Location: Mississippi Gulf Coast
Boat: 37' TransPac Trawler, heavily modified
Posts: 88
Re: Cpn not showing ais targets when not connected to routerr

Give AisRec or rtl_ais a try. Links to download both are located in the rtlsdr thread.

Sent from my XT1031 using Cruisers Sailing Forum mobile app
LeoA is offline   Reply With Quote
Old 08-08-2015, 21:06   #14
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Cpn not showing ais targets when not connected to routerr

Another thought is to try NavmonPC for the virtual ports it also displays AIS as well
rgleason is online now   Reply With Quote
Old 10-08-2015, 13:53   #15
Registered User

Join Date: Sep 2011
Location: Durban South Africa
Boat: WALLER MKII CAT 11M
Posts: 132
Re: Cpn not showing ais targets when not connected to routerr

Quote:
Originally Posted by rgleason View Post
Another thought is to try NavmonPC for the virtual ports it also displays AIS as well
Is your dongle and Aismon working. on my pc if have all working very nicely, except the router issue, I think the answer is to just use a route back plug, which I believe ""fools"" win into thinking its connected to a router
What you think?
delcrest is offline   Reply With Quote
Reply

Tags
ais, route


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
CPA and TCPA of RADAR targets not equipped with AIS Alby1714 Marine Electronics 15 15-05-2015 07:22
AIS targets not displayed jolanda OpenCPN 1 18-03-2014 05:10
AIS Targets not visible hcolvin1 OpenCPN 13 06-11-2013 08:32
AIS targets but no position? Oceansailor OpenCPN 0 10-05-2012 12:29
AIS Targets Disappear After a Longer Period sinbad7 OpenCPN 86 30-04-2012 09:18

Advertise Here


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


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.