HP-UX IP Address and Client Management Administrator's Guide (October 2009)
Table 3-3 tftp File Transfer Options
DescriptionOption
Sets the TFTP file transfer type to ASCII. This is the default type.
ascii
Sets the TFTP file transfer type to binary.
binary
Copies remote_file to local_file. If local_file is unspecified,
tftpd uses the specified remote_file name as the local_file
name. If local_file is specified as “-”, the remote file is copied to
standard output.
get remote_file [local_file]
Invokes the get command with an IPv6 address. The IPv6 address must
be enclosed in a pair of square brackets ([ and ]).
get [IPv6_address]:remotename
localname
Copies local_file to remote_file. If remote_file is unspecified,
tftpd assigns the local_file name to the remote_file name.
put local_file [remote_file]
Invoke the put command with an IPv6 address. The IPv6 address must
be enclosed in a pair of square brackets ([ and ]).
put localfile
[IPv6_address]:remotefile
When verbose is on, tftpd displays responses from the server host.
When verbose is on and a file transfer completes, tftpd reports
information about the efficiency of the transfer. Enter the verbose
command at the tftpd> prompt to turn the verbose setting on or off.
verbose
Troubleshooting BOOTP and TFTP Servers
This section outlines techniques that can help you diagnose and correct common problems with
the BOOTP and TFTP servers.
Helpful Configuration Changes
To ease troubleshooting, configure your system as follows:
• Ensure that syslogd is configured to log daemon information messages to the file
/var/adm/syslog/syslog.log. To check this configuration, make sure that
/etc/syslog.conf includes one of the following entries:
*.info /var/adm/syslog/syslog.log
or
daemon.info /var/adm/syslog/syslog.log
• Configure bootpd to start with debug logging set to level 2. This logging level causes
bootpd to log useful debugging messages about how bootpd replies to BOOTP clients.
Follow these steps to set the debug log level:
1. Add the -d 2 option to the bootpd line in the /etc/inetd.conf file as follows:
bootps dgram udp wait root /usr/lbin/bootpd bootpd -d 2
2. Reconfigure inetd with the following command:
/usr/sbin/inetd -c
3. Kill any bootpd daemon that is still running on your system. For example:
$ /usr/bin/ps -e /usr/bin/grep bootpd
root 20413 3006 0 10:51:09 ? 0:00 bootpd
$ /usr/bin/kill 20413
Common bootpd Problems
This section discusses certain common bootpd problems and possible remedies.
112 Configuring the BOOTP and TFTP Servers