[nos-bbs] Remote AX25 data to local JNOS system

Bill Vodall WA7NWP wa7nwp at jnos.org
Sun Nov 13 18:11:34 EST 2005



> maybe socat does the trick.
> 
> http://www.dest-unreach.org/socat/
> 
> Hope this helps,
> 
>   Torsten DL1THM

That looks like it will do it.

1.  Run net2kiss on the "ax25 machine"

---
     On server with modem:

socat TCP4-LISTEN:54321,reuseaddr /dev/ttyS0,nonblock,raw,echo=0
---

Instead of ttyS0, open up the pty...

---
     On client: mkdir $HOME/dev

socat PTY,link=$HOME/dev/vmodem0,raw,echo=0,waitslave 
TCP4:modemserver.us.org:54321

     Installs a TCP4 service on a modemserver and generates a pseudo 
terminal device (PTY) on the client that can be reached under the 
symbolic link $HOME/dev/vmodem0. Now an application on the client that 
expects a serial line or modem can be configured to use 
$HOME/dev/vmodem0; its traffic will be directed to /dev/ttyS0 on the 
modem server.
---

and on the JNOS machine, kissattach to the PTY created by socat.


Great tool - thanks.  I'll try it shortly.

Bill





More information about the nos-bbs mailing list