Today began to debug arm's board, to be downloaded to the board via TFTP, so also configure the TFTP server, really bored to death ... (I love to install the system, so often have to configure)
Because it has been built under Ubuntu many times TFTP server, but always remember that a configuration file name (memory is too poor), so every time to Baidu.
But every time Baidu came out of the results are not the same, and access is very large, some of the process is quite cumbersome, not only very troublesome, and finally has not been configured successfully. So simply write a log down.
The most simple installation configuration of the TFTP server
1. Installing Tftp-server
sudo apt-get install TFTPD-HPA
sudo apt-get install TFTP-HPA (if the client does not need to be installed)
TFTP-HPA is the client
TFTPD-HPA is a server-side
2. Configuring the TFTP server
sudo vim/etc/default/tftpd-hpa
Change the original content to:
Tftp_username= "TFTP"
Tftp_address= "0.0.0.0:69″
tftp_directory= "TFTP root" #服务器目录, you need to set the permission to 777,CHOMD 777
Tftp_options= "-l-c-S"
3. Restart the TFTP service
sudo service tftpd-hpa restart
TFTP server Setup