Hints and tips, Telnet and ftp, Enabling telnet and ftp servers – Comtrol DM ATS-LNX User Manual
Page 12: Removing telnet and ftp packages, Parallel port information

Hints and Tips
12
Hints and Tips
This section discusses the following topics:
•
Telnet and ftp (servers and clients)
•
Parallel port information
•
Installing and adding packages
•
Default device names
Telnet and FTP
The ATS-LNX is shipped with telnet and ftp client and server packages installed.
However, the telnet and ftp servers and the ftp client have been disabled since the
ssh package provides the same functionality in a much more secure manner.
Note: The ftp client is enabled by default.
Enabling Telnet and
FTP Servers
To enable the telnet and ftp servers, use the following commands:
# update-inetd --enable telnet
# update-inetd --enable ftp
By default, you can not ftp to root, a user must be created with the proper
permissions.
Removing Telnet
and FTP Packages
To remove the telnet or ftp server packages entirely use the following commands:
# dpkg --purge wu-ftp
# dpkg --purge telnetd
To remove the telnet and ftp client package:
# dpkg --purge telnet
# dpkg --purge ftp
PARALLEL Port Information
The parallel port works as-is, and you can send data to a printer using commands
like:
# echo "Hi there" >/dev/lp0
# cat myfile.txt >/dev/lp0
If you want print-spooling (queuing of print jobs) you have to download a package
(e.g. lpr). If you want to be able to print graphics or use different fonts, you have to
download a graphics converter for your printer (usually the ghostscript package is
used, possibly with another package that automatically detects the format of files
to be printed).