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 26-03-2024, 02:01   #1
Registered User
 
Franziska's Avatar

Join Date: Mar 2011
Location: Panschwitz, Germany
Boat: Woods Mira 35 Catamaran
Posts: 4,262
Still trouble running NMEA data stream and Radar in parallel. Any help?

Hi,



we have a B&G 4G radar which works really well via the fabulous radar plug in.



All you need to do is add a crossover cable between radar cable and PC. No need for interface boxes. Just plug it into the network port and go.



I do experience one issue though which I can not get a handle on. We stream the 0183 NMEA data which OpenCPN receives to our phones and tablet via our on-board router by setting up a UDP connection. This works great... until we switch the radar on. Then the stream stops. For the life of it I can not get the stream to continue when the radar is switched on.



Who experienced similar and found a working solution. I already tried a bunch of setting changes (like Vlan priority) suggested on the web but had no luck so far.
Franziska is offline   Reply With Quote
Old 26-03-2024, 05:04   #2
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: Still trouble running NMEA data stream and Radar in parallel. Any help?

Obviously your 2 networks are not in the same subnet.
CarCode is offline   Reply With Quote
Old 26-03-2024, 07:10   #3
Registered User
 
Franziska's Avatar

Join Date: Mar 2011
Location: Panschwitz, Germany
Boat: Woods Mira 35 Catamaran
Posts: 4,262
Re: Still trouble running NMEA data stream and Radar in parallel. Any help?

Thanks.
How do I fix that?
Can you please explain it in a "for dummies" style?
I'm not a coder or network specialist at all..



The radar is plugged into the windows 10 laptop via Ethernet cable.
It accesses our boat router via WiFi.

The phones access the same router, also via WiFi.

In OpenCPN I set up a UDP connection for the NMEA broadcast, as described in the manual.
__________________
www.ladyrover.com
Franziska is offline   Reply With Quote
Old 26-03-2024, 08:50   #4
Registered User

Join Date: Mar 2016
Location: San Francisco
Boat: Morgan 382
Posts: 2,936
Re: Still trouble running NMEA data stream and Radar in parallel. Any help?

With everything connected and activated, open a command prompt in windows and type the following then cut and paste the results here.

ipconfig /all
route print

Then also post a screen shot of your connections in OpenCPN. I can guess what is happening, but the above will verify it. My guess is that a gateway is being assigned to the connection to the radar. There shouldn't be. The gateway would instruct windows that whenever that connection is active that all traffic should route to it. What you want is only traffic to that subnet routed to it.

But it could be something else, the information above will point to the problem.
__________________
-Warren
wholybee is offline   Reply With Quote
Old 26-03-2024, 09:19   #5
Registered User

Join Date: Mar 2016
Location: San Francisco
Boat: Morgan 382
Posts: 2,936
Re: Still trouble running NMEA data stream and Radar in parallel. Any help?

Also, could be the defender firewall changing states when the radar is turned on. If you do not access the internet with this computer, you should turn it off. If you do access the internet, you should add rules allowing OpenCPN access.

But it's more likely my first suggestion.
__________________
-Warren
wholybee is offline   Reply With Quote
Old 26-03-2024, 10:12   #6
Registered User
 
Franziska's Avatar

Join Date: Mar 2011
Location: Panschwitz, Germany
Boat: Woods Mira 35 Catamaran
Posts: 4,262
Re: Still trouble running NMEA data stream and Radar in parallel. Any help?

C:\Users\Catamaran Lady Rover>ipconfig /all

Windows-IP-Konfiguration

Hostname . . . . . . . . . . . . : Catamaran-Lady-Rover-Nav
Primäres DNS-Suffix . . . . . . . :
Knotentyp . . . . . . . . . . . . : Hybrid
IP-Routing aktiviert . . . . . . : Nein
WINS-Proxy aktiviert . . . . . . : Nein
DNS-Suffixsuchliste . . . . . . . : lan

Ethernet-Adapter Ethernet:

Medienstatus. . . . . . . . . . . : Medium getrennt
Verbindungsspezifisches DNS-Suffix:
Beschreibung. . . . . . . . . . . : Intel(R) Ethernet Connection I218-LM
Physische Adresse . . . . . . . . : EC-F4-BB-19-AE-0C
DHCP aktiviert. . . . . . . . . . : Ja
Autokonfiguration aktiviert . . . : Ja

Drahtlos-LAN-Adapter WLAN:

Verbindungsspezifisches DNS-Suffix: lan
Beschreibung. . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 7260
Physische Adresse . . . . . . . . : AC-7B-A1-0D-25-19
DHCP aktiviert. . . . . . . . . . : Ja
Autokonfiguration aktiviert . . . : Ja
Verbindungslokale IPv6-Adresse . : fe80::8a2:e2ec:2f40:5241%13(Bevorzugt)
IPv4-Adresse . . . . . . . . . . : 192.168.1.225(Bevorzugt)
Subnetzmaske . . . . . . . . . . : 255.255.255.0
Lease erhalten. . . . . . . . . . : Dienstag, 26. März 2024 18:04:40
Lease läuft ab. . . . . . . . . . : Mittwoch, 27. März 2024 06:04:41
Standardgateway . . . . . . . . . : 192.168.1.1
DHCP-Server . . . . . . . . . . . : 192.168.1.1
DHCPv6-IAID . . . . . . . . . . . : 95189921
DHCPv6-Client-DUID. . . . . . . . : 00-01-00-01-2B-99-6A-EF-EC-F4-BB-19-AE-0C
DNS-Server . . . . . . . . . . . : 192.168.1.1
NetBIOS über TCP/IP . . . . . . . : Aktiviert

Drahtlos-LAN-Adapter LAN-Verbindung* 1:

Medienstatus. . . . . . . . . . . : Medium getrennt
Verbindungsspezifisches DNS-Suffix:
Beschreibung. . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
Physische Adresse . . . . . . . . : AC-7B-A1-0D-25-1A
DHCP aktiviert. . . . . . . . . . : Ja
Autokonfiguration aktiviert . . . : Ja

Drahtlos-LAN-Adapter LAN-Verbindung* 2:

Medienstatus. . . . . . . . . . . : Medium getrennt
Verbindungsspezifisches DNS-Suffix:
Beschreibung. . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter #2
Physische Adresse . . . . . . . . : AE-7B-A1-0D-25-19
DHCP aktiviert. . . . . . . . . . : Ja
Autokonfiguration aktiviert . . . : Ja

Ethernet-Adapter Bluetooth-Netzwerkverbindung:

Medienstatus. . . . . . . . . . . : Medium getrennt
Verbindungsspezifisches DNS-Suffix:
Beschreibung. . . . . . . . . . . : Bluetooth Device (Personal Area Network)
Physische Adresse . . . . . . . . : AC-7B-A1-0D-25-1D
DHCP aktiviert. . . . . . . . . . : Ja
Autokonfiguration aktiviert . . . : Ja

C:\Users\Catamaran Lady Rover>ipconfig /all route print

Fehler: Nicht erkannte oder unvollständige Befehlszeile.

SYNTAX:
ipconfig [/allcompartments] [/? | /all |
/renew [Adapter] | /release [Adapter] |
/renew6 [Adapter] | /release6 [Adapter] |
/flushdns | /displaydns | /registerdns |
/showclassid Adapter |
/setclassid Adapter [Klassen-ID] |
/showclassid6 Adapter |
/setclassid6 Adapter [Klassen-ID] ]

Wobei:
"Adapter" Verbindungsname
(Die Platzhalter * und ? sind zulässig, siehe
Beispiele.)

Optionen:
/? Zeigt diese Hilfe an.
/all Zeigt alle Konfigurationsinformationen an.
/release Gibt die IPv4-Adresse für den angegebenen Adapter frei.
/release6 Gibt die IPv6-Adresse für den angegebenen Adapter frei.
/renew Erneuert die IPv4-Adresse für den angegebenen Adapter.
/renew6 Erneuert die IPv6-Adresse für den angegebenen Adapter.
/flushdns Leert den DNS-Auflösungscache.
/registerdns Aktualisiert alle DHCP-Leases und registriert die
DNS-Namen erneut.
/displaydns Zeigt den Inhalt des DNS-Auflösungscaches an.
/showclassid Zeigt alle für den Adapter zugelassenen
DHCP-Klassen-IDs an.
/setclassid Ändert die DHCP-Klassen-ID.
/showclassid6 Zeigt alle für den Adapter zugelassenen
IPv6-DHCP-Klassen-IDs an.
/setclassid6 Ändert die IPv6-DHCP-Klassen-ID.


Standardmäßig werden nur die IP-Adresse, die Subnetzmaske und das
Standardgateway für die einzelnen an TCP/IP gebundenen Adapter angezeigt.

Wenn bei "/release" und "/renew" kein Adaptername angegeben wird, werden die
IP-Adressleases für alle an TCP/IP gebundenen Adapter freigegeben oder
erneuert.

Wenn bei "/setclassid" und "/setclassid6" keine Klassen-ID angegeben wird,
wird die Klassen-ID entfernt.

Beispiele:
> ipconfig ... Zeigt Informationen an.
> ipconfig /all ... Zeigt detaillierte Informationen an.
> ipconfig /renew ... Erneuert alle Adapter.
> ipconfig /renew EL* ... Erneuert alle Verbindungen, deren
Name mit "EL" beginnt.
> ipconfig /release *Ver* ... Gibt alle übereinstimmenden
Verbindungen frei (z.B.
"Verkabelte Ethernetverbindung 1" oder
"Verkabelte Ethernetverbindung 2").
> ipconfig /allcompartments ... Zeigt Informationen zu allen
Datendepots an.
> ipconfig /allcompartments /all ... Zeigt detaillierte Informationen zu
allen Datendepots an.
__________________
www.ladyrover.com
Franziska is offline   Reply With Quote
Old 26-03-2024, 10:18   #7
Registered User
 
Franziska's Avatar

Join Date: Mar 2011
Location: Panschwitz, Germany
Boat: Woods Mira 35 Catamaran
Posts: 4,262
Re: Still trouble running NMEA data stream and Radar in parallel. Any help?

Connections attached. There are 3 on the PC:


AIS/Miniplex
Quarkselec Heading

UDP NMEA Broadcast


Also attached an image of the connection of the phone connection receiving the data stream.



Let's try not to kill any of the working stuff 😉
Attached Thumbnails
Click image for larger version

Name:	20240326_181319.jpg
Views:	32
Size:	267.6 KB
ID:	288094   Click image for larger version

Name:	20240326_181328.jpg
Views:	23
Size:	281.9 KB
ID:	288095  

Click image for larger version

Name:	20240326_181435.jpg
Views:	16
Size:	154.5 KB
ID:	288096  
Franziska is offline   Reply With Quote
Old 26-03-2024, 11:36   #8
Registered User

Join Date: Mar 2016
Location: San Francisco
Boat: Morgan 382
Posts: 2,936
Re: Still trouble running NMEA data stream and Radar in parallel. Any help?

Is the radar turned on and working in the above post? I only see the wi-fi connected, nothing plugged directly into the PC Ethernet port.

route print is meant to be a separate command. So type ipconfig /all and press enter, then type route print and press enter.

The attached screen shots are too blurry, I can't read them.
__________________
-Warren
wholybee is offline   Reply With Quote
Old 27-03-2024, 02:49   #9
Registered User
 
Franziska's Avatar

Join Date: Mar 2011
Location: Panschwitz, Germany
Boat: Woods Mira 35 Catamaran
Posts: 4,262
Re: Still trouble running NMEA data stream and Radar in parallel. Any help?

Sorry about that. Unfortunately I was already asleep when you wrote.



Here the data with the radar on and transmitting. Also the connection screenshots again.


C:\Users\Catamaran Lady Rover>ipconfig /all

Windows-IP-Konfiguration

Hostname . . . . . . . . . . . . : Catamaran-Lady-Rover-Nav
Primäres DNS-Suffix . . . . . . . :
Knotentyp . . . . . . . . . . . . : Hybrid
IP-Routing aktiviert . . . . . . : Nein
WINS-Proxy aktiviert . . . . . . : Nein

Ethernet-Adapter Ethernet:

Verbindungsspezifisches DNS-Suffix:
Beschreibung. . . . . . . . . . . : Intel(R) Ethernet Connection I218-LM
Physische Adresse . . . . . . . . : EC-F4-BB-19-AE-0C
DHCP aktiviert. . . . . . . . . . : Ja
Autokonfiguration aktiviert . . . : Ja
Verbindungslokale IPv6-Adresse . : fe80::6d56:9698:af76:6262%15(Bevorzugt)
IPv4-Adresse (Auto. Konfiguration): 169.254.158.177(Bevorzugt)
Subnetzmaske . . . . . . . . . . : 255.255.0.0
Standardgateway . . . . . . . . . :
DHCPv6-IAID . . . . . . . . . . . : 267187387
DHCPv6-Client-DUID. . . . . . . . : 00-01-00-01-2B-99-6A-EF-EC-F4-BB-19-AE-0C
DNS-Server . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS über TCP/IP . . . . . . . : Aktiviert

Drahtlos-LAN-Adapter WLAN:

Medienstatus. . . . . . . . . . . : Medium getrennt
Verbindungsspezifisches DNS-Suffix: lan
Beschreibung. . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 7260
Physische Adresse . . . . . . . . : AC-7B-A1-0D-25-19
DHCP aktiviert. . . . . . . . . . : Ja
Autokonfiguration aktiviert . . . : Ja

Drahtlos-LAN-Adapter LAN-Verbindung* 1:

Medienstatus. . . . . . . . . . . : Medium getrennt
Verbindungsspezifisches DNS-Suffix:
Beschreibung. . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
Physische Adresse . . . . . . . . : AC-7B-A1-0D-25-1A
DHCP aktiviert. . . . . . . . . . : Ja
Autokonfiguration aktiviert . . . : Ja

Drahtlos-LAN-Adapter LAN-Verbindung* 2:

Medienstatus. . . . . . . . . . . : Medium getrennt
Verbindungsspezifisches DNS-Suffix:
Beschreibung. . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter #2
Physische Adresse . . . . . . . . : AE-7B-A1-0D-25-19
DHCP aktiviert. . . . . . . . . . : Ja
Autokonfiguration aktiviert . . . : Ja

Ethernet-Adapter Bluetooth-Netzwerkverbindung:

Medienstatus. . . . . . . . . . . : Medium getrennt
Verbindungsspezifisches DNS-Suffix:
Beschreibung. . . . . . . . . . . : Bluetooth Device (Personal Area Network)
Physische Adresse . . . . . . . . : AC-7B-A1-0D-25-1D
DHCP aktiviert. . . . . . . . . . : Ja
Autokonfiguration aktiviert . . . : Ja

C:\Users\Catamaran Lady Rover>route print
================================================== =========================
Schnittstellenliste
15...ec f4 bb 19 ae 0c ......Intel(R) Ethernet Connection I218-LM
13...ac 7b a1 0d 25 19 ......Intel(R) Dual Band Wireless-AC 7260
6...ac 7b a1 0d 25 1a ......Microsoft Wi-Fi Direct Virtual Adapter
17...ae 7b a1 0d 25 19 ......Microsoft Wi-Fi Direct Virtual Adapter #2
11...ac 7b a1 0d 25 1d ......Bluetooth Device (Personal Area Network)
1...........................Software Loopback Interface 1
================================================== =========================

IPv4-Routentabelle
================================================== =========================
Aktive Routen:
Netzwerkziel Netzwerkmaske Gateway Schnittstelle Metrik
127.0.0.0 255.0.0.0 Auf Verbindung 127.0.0.1 331
127.0.0.1 255.255.255.255 Auf Verbindung 127.0.0.1 331
127.255.255.255 255.255.255.255 Auf Verbindung 127.0.0.1 331
169.254.0.0 255.255.0.0 Auf Verbindung 169.254.158.177 266
169.254.158.177 255.255.255.255 Auf Verbindung 169.254.158.177 266
169.254.255.255 255.255.255.255 Auf Verbindung 169.254.158.177 266
224.0.0.0 240.0.0.0 Auf Verbindung 127.0.0.1 331
224.0.0.0 240.0.0.0 Auf Verbindung 169.254.158.177 266
255.255.255.255 255.255.255.255 Auf Verbindung 127.0.0.1 331
255.255.255.255 255.255.255.255 Auf Verbindung 169.254.158.177 266
================================================== =========================
Ständige Routen:
Keine

IPv6-Routentabelle
================================================== =========================
Aktive Routen:
If Metrik Netzwerkziel Gateway
1 331 ::1/128 Auf Verbindung
15 266 fe80::/64 Auf Verbindung
15 266 fe80::6d56:9698:af76:6262/128
Auf Verbindung
1 331 ff00::/8 Auf Verbindung
15 266 ff00::/8 Auf Verbindung
================================================== =========================
Ständige Routen:
Keine
Attached Thumbnails
Click image for larger version

Name:	20240327_104515.jpg
Views:	21
Size:	396.6 KB
ID:	288127   Click image for larger version

Name:	20240327_104507.jpg
Views:	23
Size:	386.3 KB
ID:	288128  

Franziska is offline   Reply With Quote
Old 27-03-2024, 03:34   #10
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Still trouble running NMEA data stream and Radar in parallel. Any help?

The address you use for the UDP connection is obviously completely wrong. You say you copied it from some manual, can you point me to that manual so it can be fixed, please?
nohal is online now   Reply With Quote
Old 27-03-2024, 03:48   #11
Registered User
 
Franziska's Avatar

Join Date: Mar 2011
Location: Panschwitz, Germany
Boat: Woods Mira 35 Catamaran
Posts: 4,262
Re: Still trouble running NMEA data stream and Radar in parallel. Any help?

Can't find it. But I seem to recall the instructions for it were in French. I believe it was from an official OpenCPN site.



Those settings work. I get the data stream to my devices.



I'll see if I can find the link again.
__________________
www.ladyrover.com
Franziska is offline   Reply With Quote
Old 27-03-2024, 03:49   #12
Registered User
 
Franziska's Avatar

Join Date: Mar 2011
Location: Panschwitz, Germany
Boat: Woods Mira 35 Catamaran
Posts: 4,262
Re: Still trouble running NMEA data stream and Radar in parallel. Any help?

Here the link.

Pratiques et Techniques de la Plaisance
__________________
www.ladyrover.com
Franziska is offline   Reply With Quote
Old 27-03-2024, 03:53   #13
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Still trouble running NMEA data stream and Radar in parallel. Any help?

Looking at what you posted above and if I undestand what you say, you are not actually connected to any other network but the one from the radar and neither of your 3 Wi-Fi adapters have any IP address assigned, which of course means you can't broadcast any data over it.
I know nothing about Windows network configuration, but what you need to do is to configure it in a way where connecting the cable does not disconnect you from the wi-fi.
nohal is online now   Reply With Quote
Old 27-03-2024, 04:04   #14
Registered User
 
Franziska's Avatar

Join Date: Mar 2011
Location: Panschwitz, Germany
Boat: Woods Mira 35 Catamaran
Posts: 4,262
Re: Still trouble running NMEA data stream and Radar in parallel. Any help?

Quote:
Originally Posted by nohal View Post
Looking at what you posted above and if I undestand what you say, you are not actually connected to any other network but the one from the radar and neither of your 3 Wi-Fi adapters have any IP address assigned, which of course means you can't broadcast any data over it.
I know nothing about Windows network configuration, but what you need to do is to configure it in a way where connecting the cable does not disconnect you from the wi-fi.

Connections are as follows:
Laptop is connected to WiFi router. Laptop is connected to radar with Ethernet crossover cable.


Phone is connected to WiFi router.


Results: Phone receives NMEA data rebroadcasted from OpenCPN laptop. Works fine, until I switch the radar on.


When I switch the radar on, it works fine as intendet, but it kills the data stream via WiFi.


"I know nothing about Windows network configuration, but what you need to do is to configure it in a way where connecting the cable does not disconnect you from the wi-fi."


This is exactly what I need help on, as I'm not an expert on networks at all.


I already tried a couple of things as indicated in the first post, but with no success.
Franziska is offline   Reply With Quote
Old 27-03-2024, 04:11   #15
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Still trouble running NMEA data stream and Radar in parallel. Any help?

You are not connected to wi-fi when you are connected to the radar, that is your only problem.

Please google "Windows connecting cable disconnects wi-fi" and read what it finds.
nohal is online now   Reply With Quote
Reply

Tags
nmea, radar


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
Viewing NMEA Data Stream RaymondR Marine Electronics 15 13-02-2020 13:04
WiGig for Radar, AIS & Nmea stream rgleason OpenCPN 21 26-01-2015 02:17
Trouble with NMEA data from Bluetooth gps receiver Lovinit OpenCPN 5 03-06-2013 15:49
Four Solar Panels - Parallel , Series or Series-Parallel west coaster Electrical: Batteries, Generators & Solar 76 07-07-2011 14:35
No GPS data even though data stream window ... Netsurfer OpenCPN 10 09-06-2011 04:41

Advertise Here


All times are GMT -7. The time now is 04:18.


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.