[c-nsp] Linux Com Driver to Modem on Cisco Terminal Server

Brandon Applegate brandon at burn.net
Tue Aug 11 14:40:16 EDT 2009


On Tue, 11 Aug 2009, Gregory Boehnlein wrote:

>> I use "cu" - looks to be a lot like "tip"
>>
>> http://www.computerhope.com/unix/ucu.htm
>
> Per the E-mail, the issue is that I need things like HylaFax and other
> commercial software that relies on direct access to the /dev/tty device to
> access a modem on a remote Cisco box..
>
> Minicom, CU, all of that is great, but I can't have Hylafax use Minicom to
> communicate w/ a remote modem.
>
> I need a driver that appears to be a serial port on the Linux box, that is
> connected to a remote modem on the Cisco so that proprietary software can
> communicate w/ the modem as if it were locally attached.
>
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>

What about socat ?

http://www.dest-unreach.org/socat/

Surely your distro has packages in $repo.  You could have this start from 
and rc script.

socat PTY,link=$HOME/dev/vmodem0,raw,echo=0,waitslave EXEC:'"ssh modemserver.us.org socat - /dev/ttyS0,nonblock,raw,echo=0"'

Yours would be even simpler, as the right hand side would be (probably) 
just a tcp-connect:

--
Brandon Applegate - CCIE 10273
PGP Key fingerprint:
7407 DC86 AA7B A57F 62D1 A715 3C63 66A1 181E 6996
"SH1-0151.  This is the serial number, of our orbital gun."





More information about the cisco-nsp mailing list