Professional Documents
Culture Documents
TFTP Ubuntu Install
TFTP Ubuntu Install
=====================
NOTE: ensure you can ping router/switch from tftp server machine.
1) install:
# /etc/default/tftpd-hpa
TFTP_USERNAME="username" <----- replace with user name on system (with
rwx priviledges on /var/lib/tftpboot)
TFTP_DIRECTORY="/var/lib/tftpboot" <----- Files will be stored here. i.e copied
to/from here (you can specify another location)
TFTP_ADDRESS=":69"
TFTP_OPTIONS="--secure --create" <----- Add --create so that files can be
written to /var/lib/tftpboot
3) restart tftp:
4) Testing:
a) create a file with some text in /var/lib/tftpboot/ and call it, say
testing.txt
Now type:
tftp> get testing.txt
tftp> <-- you should get back the prompt.
tftp> quit <-- type quite to exit.
When copying files from devices: you will be asked for the ip address of the tftp
server.