I am looking for a utility that will allow me to bind a reverse-telnet connection via a psuedo-TTY. The goal is to be able to emulate a modem attached to a terminal server as a local device.
To clarify, I am looking for a utility that will run in daemon mode, that will create a direct connection to the modem (telnet ip.of.termsrv 2001), and emulate that connection via a psuedo-TTY (/dev/pts/#).
The reason I am doing this is because I have no physical serial or USB ports on the FreeBSD host, and need to attach a modem to it for dial-out purposes.
I've found some old documents indicating that something like this is possible, but I've been unable to duplicate the functionality thus far.
Here's an example of an AIX utility called cnsconnect: http://blake.ism.u-bordeaux1.fr/doc_link/C/a_doc_lib/7318s20/s20gdref/dialoutMod.htm
Does such a program exist within FreeBSD, or something that could be compiled within FreeBSD?
To clarify, I am looking for a utility that will run in daemon mode, that will create a direct connection to the modem (telnet ip.of.termsrv 2001), and emulate that connection via a psuedo-TTY (/dev/pts/#).
The reason I am doing this is because I have no physical serial or USB ports on the FreeBSD host, and need to attach a modem to it for dial-out purposes.
I've found some old documents indicating that something like this is possible, but I've been unable to duplicate the functionality thus far.
Here's an example of an AIX utility called cnsconnect: http://blake.ism.u-bordeaux1.fr/doc_link/C/a_doc_lib/7318s20/s20gdref/dialoutMod.htm
Does such a program exist within FreeBSD, or something that could be compiled within FreeBSD?