Facebook

Login

Support Sailonline

If you haven't already - join the SAILONLINE YACHT CLUB!

Please also consider making a donation - all amounts are greatly appreciated!

Board » General Discussion » Sailplanner users can connect to brainaids NMEA proxy!!

Page: Previous 1 2 3 4 Next

Thanks Stag I have the NMEA proxy going now step by step what is the next thing (yes you can consider me an infant with Linux)
Take it "ESEA" go sailing
Thanks Stag I have the NMEA proxy going now step by step what is the next thing (yes you can consider me an infant with Linux)
OK, good so far. Infant you say, files starting with a dot are hidden. In the terminal you can list them with the command "ls -la", just in case you didn't know.

To check if the proxy is working you kan try the command "telnet localhost 5010". Then you shall see the NMEA data coming. To exit telnet hit ^] (ctrl-altgr-9 then enterkey), at the telnet prompt type quit.

If that goes well you can try the socat thing.
OK, good so far. Infant you say, files starting with a dot are hidden. In the terminal you can list them with the command "ls -la", just in case you didn't know.

To check if the proxy is working you kan try the command "telnet localhost 5010". Then you shall see the NMEA data coming. To exit telnet hit ^] (ctrl-altgr-9 then enterkey), at the telnet prompt type quit.

If that goes well you can try the socat thing.
Yeeha! Got the NMEA data running in the terminal Hitting the ^] did nothing nor did (ctrl-altgr-9 then enterkey) that is if "altgr" is the "Alt" key I just X the terminal and it said that if you do that it will terminate the process. OK I will come back to you on the next part
Ok I have the NMEA Proxy Running and I then did the "$ mkdir ~/dev" thing but it told me it already exists,(I had already made it yesterday)
Now when I enter:
$ socat pty,link=~/dev/vty0,waitslave tcp:localhost:5010
I Get:
2011/01/16 21:55:02 socat2161 E symlink("/dev/pts/2", "~/dev/vty0"): No such file or directory
and I am stuck again :(





--- Last Edited by ESEA at 2011-01-16 21:02:08 ---

--- Last Edited by ESEA at 2011-01-16 21:02:53 ---
Take it "ESEA" go sailing
Now when I enter:
$ socat pty,link=~/dev/vty0,waitslave tcp:localhost:5010
I Get:
2011/01/16 21:55:02 socat2161 E symlink("/dev/pts/2", "~/dev/vty0"): No such file or directory
and I am stuck again :(
OK, this one I can fix, I think. Change ~ to $HOME. Or, if you already are at home, you can remove ~/ from your command.

Something like this.
socat pty,link=$HOME/dev/vty0,waitslave tcp:localhost:5010

I'll try to edit my original post in case someone else would try and run into the same proplem.

Cheers!
OK, this one I can fix, I think. Change ~ to $HOME. Or, if you already are at home, you can remove ~/ from your command.

Something like this.
socat pty,link=$HOME/dev/vty0,waitslave tcp:localhost:5010

I'll try to edit my original post in case someone else would try and run into the same proplem.

Cheers!
OK I think we are getting some ware. As much as I know (as I said thats not much) things in the terminal seem to be OK but in SailPlanner the NMEA setup gives a (6, 'SetupComm', 'Invalid handle') thanks for the help so far but I have to go now see you tomorow
ESEA
Take it "ESEA" go sailing
Thanks a lot too Magnus Schoultz!!
That's the 1+only how-to-do for Mac users!
greets
Sailplanner.

Where can I get maps for IMOCA leg 3 ?
Hi Magnus,
Can you please create a step-by-step instruction for the mac-version like Exmer's Windows tutorial? I would babysit your boat whenever you want ;-))

regards

StuArt/Berth
OK, StuArt, I'll try :)

open Brainaid's proxy from the website and login.

download and start MultiCom.
set Port A to "Pseudo Terminal" and
set Port B to "IP Client" and enter the IP-address and port number from brainaid's proxy as "Server Host Name" and "Server Port".
check both as enabled. make a note of the device it's connected as ex. /dev/ttys001

open a terminal window and enter:
sudo ln -s /dev/ttys001 /dev/tty.NMEA

start sailplanner and check "lock to NMEA"
choose tty.NMEA in sailplanner's NMEA setup window

click the start button in brainaid's proxy

click the check button in sailplanner's NMEA setup window

if you get a green OK everything worked
hi there. i tried this on my macbook as well. didnt get it to work though.
not sure where the issue is.

the multicom says its connected as "/dev/ttys000" not "...001". i got the 2 green lights though. not sure where to change this. ???

in the brainaid proxy all seems fine.

then in the sailplanner NMEA setup, when i click "check" it tells me "could not open port /dev/tty.NMEA: (2, 'No such file or directory)"

in the terminal window i copied the line as you said above. it did ask me for my password, but wouldn't let me type it. i kind of pressed entered a couple of time and then it said something like "file exists". do i have to copy that line every time i connect and want to play or just once and thats it? is there a way back to start again?

got stuck a bit here.... can anybody help?
would love to play around with this a bit.
cheers

(attached a screenshot)

--- Last Edited by Justin Limbo at 2011-05-27 13:18:56 ---
Attachments
any suggestions anybody?

--- Last Edited by Justin Limbo at 2011-06-19 07:42:02 ---
hi there. i tried this on my macbook as well. didnt get it to work though.
not sure where the issue is.

the multicom says its connected as "/dev/ttys000" not "...001". i got the 2 green lights though. not sure where to change this. ???

in the brainaid proxy all seems fine.

then in the sailplanner NMEA setup, when i click "check" it tells me "could not open port /dev/tty.NMEA: (2, 'No such file or directory)"

in the terminal window i copied the line as you said above. it did ask me for my password, but wouldn't let me type it. i kind of pressed entered a couple of time and then it said something like "file exists". do i have to copy that line every time i connect and want to play or just once and thats it? is there a way back to start again?

got stuck a bit here.... can anybody help?
would love to play around with this a bit.
cheers

(attached a screenshot)

--- Last Edited by Justin Limbo at 2011-05-27 13:18:56 ---
two things. It does let you enter a password, but in the unix world there's no visual clue when you're entering passwords.
Since multicom is reporting /dev/ttys000, you should be using "sudo ln -s /dev/ttys000 /dev/tty.NMEA"

Page: Previous 1 2 3 4 Next

Please login to post a reply.

Races

Next Race: 00d 00h 00m


Current Races:

Cape Town to Java 2025

Get ready for an exhilarating new challenge as we set sail on the eighth leg of the 2025 Ocean Championship Series! Reversing the 18th century footsteps of the indentured Cape Malays that inspired Isna Marifa’s moving novel 'Mountains More Ancient' , this leg takes us from Cape Town South Africa to the Bay of Belbuhan on the south west coast of Java - a 5100 nm journey of endurance, strategy, and pure sailing adrenaline, aboard the 125 ft Orange catamaran. Do you have what it takes to conquer the Indian Ocean? Join us and put your skills to the ultimate test!
PRIZE: SMPF
Race #1937
INFO by brainaid.de
Orange 125 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: OCQ3 - OCCH - SUPSOL - SYC
Race starts: Aug 04th 11:00 Registration Open!
▶ Flash
GO TO RACE

Lago Viedma Ice Race 2025


Less than one third of the land mass of the planet is to be found in the southern hemisphere, and most of that in tropical to temperate latitudes or in Antarctica, so it is difficult to find good natural ice to race DNs anywhere in August! However, if you take an internal flight from Buenos Aires to Aeropuerto Internacional Comandante Armando Tola de El Calafate by the shores of Lago Argentino, it’s only a 100km taxi ride to Lago Viedma, where we have set out a few beacons on the ice for you for a quick 80nm blast around the four corners of the lake, and as it’s so remote here, no need to worry about breaking the solitude of monks or suffering PL!
Race #1852
INFOby brainaid.de
DN PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: DN - SYC
Race starts: Aug 03rd 09:00 Registration Open!
▶ Flash
GO TO RACE

Tall Ships Races 2025 - Kristiansand to Esbjerg


Welcome to the fourth of four virtual Tall Ships Races in European waters which are concurrently being organized in-real-life by Sail Training International . This fourth race is from Kristiansand in Norway down Denmark’s North Sea coast to Esbjerg; circa 150nm in Sailonline’s magnificent 90m Barque.
NOTE: Starts and Finishes in tall ships racing are always offshore to avoid conflict with shipping and shipping lanes; online and real-life may not match exactly.
Race #1926
INFO by brainaid.de
Barque 90m PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: TS - SYC
Race starts: Aug 02nd 16:00 Registration Open!
▶ Flash
GO TO RACE

Marstrand to Cowes 2025


We invite you to another race, which will kick off the third quarter of our ARCH series. We'll set off from Marstrand, Sweden, which, along with Skagen, Denmark, marks the line commonly recognised as the border separating the Baltic Sea from the North Sea. The 650nm route will take our Ripitide 50 across the North Sea and the English Channel to Cowes, England. Watch out for the fast ferries crossing the Channel from Calais to Dover 😊.
Race #1935
INFO from brainaid.de
Riptide 50 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
ARQ3 - ARCH - SUPSOL – SYC
RACE CLOSE: Wednesday,
August 6 at 2300 UTC.
Race starts: Jul 28th 17:00 Registration Closed
▶ Flash
GO TO RACE

Sinbad by Balloon 2025 - Baia de l'Oiseau to Carnarvon


How ever shall I return to report with clarity to my Great Sultan – asked Sinbad. It needs be told this island and all its fables shall be expunged from the annals of every thousand and one night. The wind howls – and sun be none (it’s Winter, Sin’bro, ed.) – and all days from the west, but let’s launch anyway and see if we can work our SOL Balloon north as the days pass aiming for Asthralaya, where The Mahabharata tells the ancients once tested mighty weapons, about a quarter and a million qasbah away (2500nm, ed.), perhaps one month.
Race #1885
INFOby brainaid.de
SOL Balloon PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC - SBB
RACE CLOSE: Sunday,
August 10 at 2300 UTC.
Race starts: Jul 23rd 11:00 Registration Closed
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member WRmirekd
  2. Sailonline Yacht Club Member CriticalHippo
  3. Sailonline Yacht Club Member vida
  4. Sailonline Yacht Club Member Kipper1258
  5. Sailonline Yacht Club Member rafa
  6. Sailonline Yacht Club Member KaSToR
  7. Sailonline Yacht Club Member BRENTGRAY
  8. Sailonline Yacht Club Member rumskib
  9. Sailonline Yacht Club Member Sax747
  10. Sailonline Yacht Club Member YANN

View full list

Series

Mobile Client

SYC members have the benefit of access to our mobile/lightweight web client!

The mobile client