HighWire HW400c/2 User Reference Guide Rev 1.0
d 5.4.5 Configuring tftp with xinet
The servers that can be managed by the xinetd are each listed in a server-specific
description: The tftp server serves files using the Trivial File Transfer \
P o
# w s
# and to start the installation process for some operating systems.
service tftp
{
no
socket_type = dgram
per_source = 11
cps = 100 2
flags = IPv4
}
To enable the TFTP server, edit this file (as root), changing the line that reads
inux
istributions use different mechanisms for starting and stopping system processes, the
easiest way to do this is to send the HUP signal to the running xinetd process. To
ocate the process ID of the xinetd process that is currently
running on your system using the ps (process status) command, as in the following
fter executing this command, the TFTP server will be started on your system in
sp equests.
stem
following
y:
# /etc/rc.d/init.d/xinetd start
configuration file located in the directory /etc/xinetd.d. The file for the TFTP
server is aptly named tftp, and looks like the following:
# default: off
#
# rot col. The tftp protocol is often used to boot diskless \
ork tations, download configuration files to network-aware printers, \
disable =
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = yes so that it reads disable = no.
Next, force the xinetd to reread its configuration files. Because all L
d
do this, you must first l
example:
# ps -eal | grep xinet
5 S 0 2292 1 0 76 0 - 946 - ? 00:00:00 xinetd
The example line shows the xinetd process ID number, in the fourth whitespace-
separated field (2292 in this example), which is the information that you will need to
restart the process. After collecting this information, you can cause the xinetd
rocess to reread its configuration files by executing a command like the following: p
# kill -HUP 2292
A
re
onse to incoming TFTP r
If your system is running a Linux distribution such as Red Hat Linux that starts and stops sy
rocesses using rc scripts, you can simply restart the xinetd by invoking these scripts in the p
wa
# /etc/rc.d/init.d/xinetd stop
Then;
October 10, 2006 Copyright 2006, SBE, Inc. Page 73