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:

Sail Around Turkey 2025


Welcome to the 11th running of one of Sailonline's most iconic races, where our fleet races the length of the Turkish coastline from Hopa (the easternmost harbour on Turkey’s Black Sea coast) to Iskenderun (the easternmost harbour on Turkey’s Mediterranean coast). It’s a 1,372nm race and aboard our classic, 1st decade of the 21st Century, version 2 IMOCA 60, you should be able to get around the course in less than a week. That is if, of course, once you get out of the Black Sea you don’t stop to enjoy the sights or a BBQ or two in the Golden Horn, or on the Marble Islands, now land-locked Troy or Gallipoli or any of the myriad Aegean islands, that you shall have to carefully navigate past.
Race #1930
INFOfrom brainaid.de
IMOCA 60 v2 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC
Race starts: Jun 27th 15:00 Registration Open!
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member CriticalHippo
  2. Sailonline Yacht Club Member KaSToR
  3. Sailonline Yacht Club Member WRmirekd
  4. Sailonline Yacht Club Member FreyjaUSA
  5. Sailonline Yacht Club Member rafa
  6. Sailonline Yacht Club Member Kipper1258
  7. Sailonline Yacht Club Member rumskib
  8. Sailonline Yacht Club Member BRENTGRAY
  9. Sailonline Yacht Club Member Patrick70119
  10. Sailonline Yacht Club Member CollegeFund

View full list

Series

Mobile Client

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

The mobile client