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:

Gladstone Ports Corporation Brisbane to Gladstone Yacht Race 2026


Sailonline is thrilled to partner with the Queensland Cruising Yacht Club for the 2026 Gladstone Ports Corporation Brisbane to Gladstone Yacht Race! This 308 nautical mile offshore challenge follows Australia’s stunning east coast from Brisbane to Gladstone. Racing the fast and tactical Farr 40, sailors will need precision, strategy, and focus as shifting conditions test every decision from start to finish!
Race #2027
INFO by brainaid.de
Farr 40 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SUPBUD - SYC
Race starts: Apr 03rd 01:00 Registration Open!
▶ Flash
GO TO RACE

Rapallo to Nador 2026


Welcome to Liguria’s Rapallo, there where Zarathustra spoke - at length - to Nietzsche, for our first race of nine to celebrate all things Mediterranean - fickle winds, history and olive oil. A number of our races in this new Magical Mediterranean series will be partnership with famous real-life races, but this first race is pure fiction - 780nm in refurbed IMOCA 60s, past or through the Balearic Isles and on into the Alboran Sea, to a finish off Nador on the Maroc Mediterranean coast.
Race #1975
INFOby brainaid.de
IMOCA 60v2 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: MED - SYC
Race starts: Mar 30th 15:00 Registration Open!
▶ Flash
GO TO RACE

Cross the Convergence 2026 - Guam to Ouvéa


The third race of our series of ocean voyages across the World’s convergence zones takes us southeastward now down the Pacific, from Guam’s Apra Harbour at 13.5 degrees North, back across the Equator to the glorious New Caledonian resort island of Ouvéa, on the edge of the Tropic of Capricorn at 20.5 degrees South. It’s 2400nm, and there’s more than a few other islands in the way, so mind where you go in your Ocean 50s. Race #1981
INFOby brainaid.de
Ocean 50PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: CCZ - SYC
Race starts: Mar 20th 18:00 Registration Closed
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member KaSToR
  2. Sailonline Yacht Club Member WRmirekd
  3. Sailonline Yacht Club Member rafa
  4. Sailonline Yacht Club Member rumskib
  5. Sailonline Yacht Club Member Panpyc
  6. Sailonline Yacht Club Member CollegeFund
  7. Sailonline Yacht Club Member Sax747
  8. Sailonline Yacht Club Member CriticalHippo
  9. Sailonline Yacht Club Member vida
  10. Sailonline Yacht Club Member sassy63

View full list

Series

Mobile Client

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

The mobile client