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!

Profile for stagfock



Name stagfock
Email Address
AvatarUsers avatar
Posts4
  • Re: Sailplanner users can connect to brainaids NMEA proxy!!
    Board » General Discussion
    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!
  • Re: Sailplanner users can connect to brainaids NMEA proxy!!
    Board » General Discussion
    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.
  • Re: Sailplanner users can connect to brainaids NMEA proxy!!
    Board » General Discussion
    Its the things like how do I "copy the NMEAproxy.jnlp file to ~/.netx/cache/http/sol.brainaid.de/sailonline/toolbox" that get me! I copy the code into the terminal and I get "bash: /home/edwin/.netx/cache/http/sol.brainaid.de/sailonline/toolbox: is a directory" then when I go to the file "/home/edwin/" I do not see the ".netx"
    --- Last Edited by ESEA at 2011-01-15 23:14:40 ---
    As said in another post above, the openjdk does not work as desired in this case. You could uninstall openjdk-6-... and install sun-java-6-...

    Then try without that copying of the jnlp file.
    Cheers!

    --- Last Edited by stagfock at 2011-01-16 10:50:43 ---
  • Re: Sailplanner users can connect to brainaids NMEA proxy!!
    Board » General Discussion
    This is not a complete tutorial, just the major steps I took to get my SOL position into Sailplanner on linux. Details are omitted, I just want to say it works (but not out of the box). I'm sure there are better ways, perhaps already reported in the forum.

    Try to start the brainaid proxy. It failed for me not passing an argument to the proxy.
    I had to copy the NMEAproxy.jnlp file to [~/.netx/cache/http/sol.brainaid.de
    /sailonline/toolbox

    Then I made it read only!
    $ chmod -w ~/.netx/cache/http/sol.brainaid.de
    /sailonline/toolbox/NMEAproxy.jnlp

    Then I tried again.
    $ javaws NMEAproxy.jnlp
    press start
    Horray, it worked. Lets create a virtual serial port connected to the TCP-stream.
    $ mkdir ~/dev
    $ socat pty,link=$HOME/
    dev/vty0,waitslave tcp:localhost:5010

    Create com3 under wine using the new virtual serial port.
    $ ln -s ~/dev/vty0 ~/.wine/dosdevices/
    com3

    Start Sailplanner under wine (assuming you already installed it)
    lock to nmea...
    select com3
    press check
    (perhaps you need to restart the virtual serial port if it died (socat))
    press OK

    Enjoy! Or at least I do:-)

    edit: changed ~ to $HOME for the socat command. As pointed out in later posts, the copying and chmoding of the jnlp file may be omitted if using sun-java6-jre instead of openjdk-6-jre et al.

    --- Last Edited by stagfock at 2011-01-16 21:57:41 ---

    _______________
    edited to stop overlap of column


    --- Last Edited by RainbowChaser at 2012-04-21 10:37:33 ---

Races

Next Race: 00d 00h 00m


Current Races:

Palk Bay TIMED Race 2026

This month’s TIMED race takes us to the shallow waters of Palk Bay located between India and Sri Lanka. Sail the impressive MC 38 around a roughly 140 nm course through two narrow channels before returning to the start/finish line in Jaffna.
This is a TIMEDrace so you may RE-REGISTER HEREto try again after finishing a run. You will have two weeks to test your skill and decision making after the race opens.
Race #2054
INFOby brainaid.de
PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
TRQ3 - TRCH - SYC
RACE CLOSE: Saturday,
29 August at 23:00 UTC
Race starts: Aug 16th 12:00 Registration Open!
▶ Flash
GO TO RACE

The British Isles Circumnavigation 2026


The British Isles Circumnavigation is here! Inviting skippers to take on an epic 1,720nm clockwise voyage around Britain and Ireland! Starting and finishing in Cowes, the course passes some of the most iconic landmarks in offshore sailing, including Fastnet Rock, Tearaght Lighthouse, Black Rock, St. Kilda and Muckle Flugga before the long run home. Racing in our fast and versatile TP52, this Super-Buddy Championship race will reward smart routing, changing weather strategy and sustained concentration over every mile. Good luck!
Race #2052
INFO by brainaid.de
TP-52 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SUPBUD - SYC
Race starts: Aug 09th 10:00 Registration Closed
▶ Flash
GO TO RACE

Easter Island to Tristan da Cunha 2026

Welcome to the second leg of our RNW series, rounding Cape Horn. This middle-most leg Round the New World, from Easter Island to Tristan da Cunha, is also part of our Ocean Championship, and as such the second race of OCQ3 2026. This race, like the previous race in the RNW series, will be sailed in our revised 'version 2' Imoca 60 Foil. Race #2050
INFO by brainaid.de
Imoca 60 Foil v2 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: OCQ3 - RNW - OCCH - SYC
RACE CLOSE: Sunday,
August 23 at 2300 UTC.
Race starts: Aug 03rd 11:00 Registration Closed
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member KaSToR
  2. Sailonline Yacht Club Member CriticalHippo
  3. Sailonline Yacht Club Member WRmirekd
  4. Sailonline Yacht Club Member Panpyc
  5. Sailonline Yacht Club Member rafa
  6. Sailonline Yacht Club Member cdhinman
  7. Sailonline Yacht Club Member rthinman
  8. Sailonline Yacht Club Member ms0689
  9. Sailonline Yacht Club Member BRENTGRAY
  10. Sailonline Yacht Club Member Sax747

View full list

Series

Mobile Client

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

The mobile client