Socat for XPort on Dreambox (ppc)

  • Hi all,


    I am currently working on an alarm project. Thought it would be a good idea to have the server application do its job on the 'anyway' running Dreambox. In order to control a bunch of door switches (via µController's serial interface), I thought of connecting an XPort via LAN to the tuxbox. Can be done using 'socat' creating a transparent serial device: "socat PTY,link=/dev/XPort TCP:<XPORT-IP>:10001"
    http://www.dest-unreach.org/socat/


    XPort® is a compact, integrated solution to webenable any device with serial capability. By incorporating XPort to a product design, manufacturers can offer network connectivity as a standard feature within weeks — so they can be accessed and controlled over the Internet.
    http://www.lantronix.com/devic…device-servers/xport.html


    Here's the port of socat incl. manual, not including src. Tested on 7020 (ppc):


    Regards, Mamba

  • Hello all,


    here a more modern version of socat (1.6.0.0). Tested on 7020. Compiled on native compiler (xdevels with --enable-static).


    This version was compiled including SSL. This means you can attach serial interfaces over the internet protecting your communication, if need be.


    Regards, Mamba