| 1 | = Ser2net = |
| 2 | |
| 3 | 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. |
| 4 | |
| 5 | == Gateworks Single Board Computers == |
| 6 | Gateworks offers powerful, flexible, low power ARM single board computers for transmitting data, audio, and video. |
| 7 | |
| 8 | Please see more information at [http://www.gateworks.com] |
| 9 | |
| 10 | |
| 11 | [[Image(gw5100realsmall.png,200px)]] |
| 12 | |
| 13 | |
| 14 | |
| 15 | == Configuring ser2net for OpenWrt == |
| 16 | |
| 17 | 1. Go to the Services tab, then Serial Over IP. |
| 18 | |
| 19 | 2. 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.) |
| 20 | |
| 21 | 3. Enter an IP Address if desired, otherwise it will bind to all ports. |
| 22 | |
| 23 | 4. Enter desired port, baud rate, data bits, parity type, and stop bits. |
| 24 | |
| 25 | 5. Enter a time in seconds before the port will be disconnected if there is no activity. A value of 0 will disable this feature. |
| 26 | |
| 27 | 6. Once everything is set appropriately, click on “Save & Apply.” Ser2net should now be running. |
| 28 | |
| 29 | === Example === |
| 30 | |
| 31 | [[Image(wiki:ser2net:ser2net.jpg)]] |
| 32 | |
| 33 | == Configuring TruePort == |
| 34 | |
| 35 | 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. |
| 36 | |
| 37 | 1. Follow the steps for the set up wizard. Make sure the IP address is the address of the board running ser2net. |
| 38 | |
| 39 | [[Image(wiki:ser2net:trueport1.jpg)]] |
| 40 | |
| 41 | 2. Once it is set up, click on properties, then configuration, then settings. |
| 42 | |
| 43 | 3. Select the COM port that was just created. |
| 44 | |
| 45 | 4. Change Connection Mode to Light Mode. |
| 46 | |
| 47 | [[Image(wiki:ser2net:trueport2.jpg)]] |
| 48 | |
| 49 | 5. Select "Initiate connection to device server" and change the TCP port to the port specified in ser2net. |
| 50 | |
| 51 | 6. Set the TCP Port to the one used when configuring ser2net on the board. |
| 52 | |
| 53 | 7. 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. |