Lantronix ETS Reference Manual - 2.7.9 Lpr Support
TCP/IP
Concepts
2-14
2.7.9 LPR Support
The ETS and many UNIX systems implement the lpr (Berkeley remote printing) protocol, a protocol that
makes it very easy to add print hosts to a system. To add the ETS as a print host, add the ETS’s IP address
to a host table and add the ETS’s service name as a print queue. No special host software or other
configuration is needed. ETS services can be accessed via the normal lpr commands on the host.
Print jobs can be forwarded multiple “hops” in the network. If you only want one host to know about ETS
print queues, configure the other hosts to forward their print jobs to that host which will forward them to the
ETS for printing.
Note:
See Chapter 7, TCP/IP Host Setup, for more information.
2.7.10 UUCP Support
The UUCP (UNIX-UNIX Copy Protocol) utility allows UNIX hosts to transfer files between machines. It
is most commonly used for electronic mail transfers and can be run over Ethernet, typically via TCP/IP or
serial links. When run via TCP/IP, a handler for UUCP typically listens on port 540 of the host; when a
connection to this port is made, a UUCP connection is assumed and the UUCP negotiation begins. The ETS
provides support for incoming and outgoing UUCP connections.
Incoming UUCP can be accomplished with the server handling the serial line and creating a network
connection to the UUCP machine. Since UUCP typically does not provide Telnet interpretation, the ETS
Connect TCP command would be used to provide a raw TCP data stream to the UUCP host, and specifically
to UUCP port (540).
Dedicated connections to the UUCP port can be made by adding the appropriate TCP parameters to the Port
Dedicated command, or by adding an environment string to TCP/IP connection settings.
Outgoing UUCP connections can be made in a similar manner. The UUCP host must be configured such
that outgoing UUCP network connections are made to the ETS UUCP port. If the ETS has been configured
with the Set/Define Server UUCP command on page 12-84, it will attempt to connect to a specific service
named UUCP. This service must map to one or more ETS serial ports, possibly ones with modems attached.
A chat script (L.sys or Systems files) on the UUCP machine provides the commands needed to dial the
modem and log into the remote UUCP machine. The chat script needs no knowledge of the ETS command
set or service connection sequence.
2.7.11 TCP/IP Utilities and Commands
The following commands have been added to help TCP/IP usability:
Finger
Displays users on local and remote hosts. The finger command by itself shows
all users on the ETS. If given with a parameter, such as user@host, it shows
information regarding the named user on the specified host. The username can
be omitted, in which case all the users on the remote host will be displayed. If
the host cannot be reached or accessed, the finger command fails.
Note:
To see a list of ETS processes, enter the command “finger finger.”
Netstat
Displays the status of the routing tables and current network sessions.