Pratiques et Techniques en Plaisance  | Imprimer |  Fermer la fenêtre

OpenCPN Networking / repeater to tablet PCs

Publié Mars 2015, (màj Mars 2015) par : Nevermind   

Opencpn network/RJ45 (Ethernet) cable

The means :

  1. OpenCPN, know IP of the server PC, have an RJ45 (Ethernet) cable or Wifi on both PC
  2. have set both networked PCs, cable or Wifi
  3. OpenCPN on the PC server

Setting OpenCPN on the PC server
  • Setting Options
    • connections
      • add Connection
  • Set as follows by putting your IP address followed by : xx
    • Properties => "Network”
    • Protocol => “UDP”
    • Adress => your IP address followed by : “.x.x”
    • Data Port com “10110”
    • Out Put on this port “OK”
  • Set “Apply” and then “OK”

- 

- 


Setting OpenCPN on PC Receiver
  • Setting Options
    • connections
      • add Connection
  • Set as follows by putting only this IP address, for UDP protocol : 0.0.0.0
    • Properties => "Network”
    • Protocol => “UDP”
    • Adress => “0.0.0.0”
    • Data Port com “10110”
    • Receive Input on this port “OK”
  • Set “Apply” and then “OK ”

- 

Networking

On the server PCOn the PC Receiver

- 

  • For this example, all the NMEA data from the GPS and display of AIS data
On the server PCOn the PC Receiver

- 

  • The emission readings and receiving NMEA sentences, under the AIS receptions.
  • We see that every sentence received by the transmitter is immediately re-shipped by outgoing connection

- 

NMEA information goes through the RJ45 cable or WiFi and are received on the other PC.
With this application you can have a PC inside and another type tablet outdoors


Opencpn network/Wifi

On the transmitter PC : create a new profile and name it on the receiver PC => Network sharing center => Set up a new connection Naming the network : his name must be identical to the server

- 

  • The server must be on the same connection
Choose the connection from the listAnd you get this

- 


OpenCPN WiFi network between XP, W7 and W8 tablet

Creation of a network using a batch file


Start by typing the text in Notepad, putting your network name and passport :

cd\
cd windows\system32
netsh wlan set hostednetwork mode=allow ssid=monreseau key=macleamoi keyUsage=persistent
netsh wlan start hostednetwork

For this example, the name given to the network is « monreseau » and the key « macleamoi ».

- 

  • You will have a file with two toothed wheel as an icon :

- 

- 

  • Save and run the batch file
    • A batch file processing, performs an automatic sequence of commands (process) on a computer without operator intervention.
    • It is identifiable by its extension : xxxxx.BAT
  • For this example we will change the xxxx.TXT’s extension, by xxxx.BAT
  • Then save the file under this name
  • To run the file xxxx. BAT : right click on the file and ask “Run as administrator”

- 

  • The virtual card was created :
  • And the connection :

- 

  • OpenCPN set as follows by putting IP of your PC :

- 

  • Setting the client :

- 

  • It’ll just connect to the network created and run on both PC OpenCPN

Nevermind, Macinaggio février/mars 2015
Mise en page Laorana Finike,
- 

UP