wiki:ser2net

Ser2net

Ser2net is similar to serialoverip but does not require a board running ser2net on both ends, just one end. The serial port can be accessed through telnet and tcp sessions from any machine.

Gateworks Single Board Computers

Gateworks offers powerful, flexible, low power ARM single board computers for transmitting data, audio, and video.

Please see more information at http://www.gateworks.com

Configuring ser2net for OpenWrt

  1. Go to the Services tab, then Serial Over IP.
  1. Select “ser2net” in the first field. (If there are no processes present or if you want to run multiple simultaneously, simply click on “Add” at the bottom left of the page.)
  1. Enter an IP Address if desired, otherwise it will bind to all ports.
  1. Enter desired port, baud rate, data bits, parity type, and stop bits.
  1. Enter a time in seconds before the port will be disconnected if there is no activity. A value of 0 will disable this feature.
  1. Once everything is set appropriately, click on “Save & Apply.” Ser2net should now be running.

Example

Configuring TruePort

As an example application for Windows, The Perle TruePort Management tool (http://www.perle.com/downloads/trueport.shtml) can be used to create a virtual COM port (VCP) on the Windows machine which will allow the Windows machine to access the serial port as if it was directly connected.

  1. Follow the steps for the set up wizard. Make sure the IP address is the address of the board running ser2net.

  1. Once it is set up, click on properties, then configuration, then settings.
  1. Select the COM port that was just created.
  1. Change Connection Mode to Light Mode.

  1. Select "Initiate connection to device server" and change the TCP port to the port specified in ser2net.
  1. Set the TCP Port to the one used when configuring ser2net on the board.
  1. You now can run your COM port application and select the COM port that you created in the steps above. The application will then communicate to the board as if it was directly connected.
Last modified 7 years ago Last modified on 10/22/2017 05:28:45 AM

Attachments (4)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.