Print E-mail
Q: I'm not using a Windows host. How can I access the port server from a Unix host?
Do you have NativeCOM for Unix?
   
A: No, we do not have NativeCOM for any Unix systems today. However, there are other ways to access the serial port from Unix.

 

telnet You can set up a custom configuration on a port to automatically telnet to a given host. This will work on virtually any Unix host and many other hosts as well.
dtelnetd One drawback of telnet is that when you telnet to the host, you will get the next available "pseudo-tty" port. Some applications want the same serial device to get the same logical port on the Unix systems every time. You can accomplish this by installing Systech's "deterministic telnet daemon" (dtelnetd) on your host (see our download site for supported systems). You can then configure a logical TCP port to be the same pseudo-tty port every time you log in.
rtn You can initiate the connection to the serial port from the host instead of the other way around, using "reverse telnet" (see our ftp site for supported systems).
lpd You can set up a remote printer on the RCS using LPD. See the lpr documentation on your host system for details about how to do this.
sockets Finally, you can access a serial port from a host by opening a socket connection directly from your application. When you set up reverse telnet on a port server port, it begins listening on two TCP port numbers for each serial port: an 8000 series number is a "raw" interface (whatever you write on the socket will get written, without change, on the serial port and vice versa) or a 9000 series port implements the telnet protocol. For instance, if you enable reverse telnet on port 3, the unit will listen for connections on ports 8003 and 9003.
    Answer Last Updated: August 24, 2008