1. Install software
$ Sudo apt-Get install TFTP TFTPD
$ Sudo apt-Get install OpenBSD-inetd
2. Create a working directory
$ CD/
$ Sudo mkdir tftpboot
$ Sudo chmod 777 tftpboot
3. modify the configuration file
$ Sudo VI/etc/inetd. conf
Modify the following content:
TFTP dgram udp wait nobody/usr/sbin/tcpd/usr/sbin/in. tftpd/tftpboot
4. Restart the service
$ Sudo/etc/init. d/OpenBSD-inetd restart
$ Sudo in. tftpd-L/tftpboot
5. Test the TFTP server on the local machine.
$ CD/tftpboot
$ Touch test
Go to your working directory
$ Cd ~
$ TFTP 127.0.0.1 // 127.0.0.1 is the Server IP Address
TFTP> get test
Check whether the operation is successful?
6. Test the connection to the TFTP server on the Development Board.
Make sure that the Development Board and server are in the same CIDR block, and ping it to check whether the network is connected.
# TFTP-l test-r test-G 192.168.1.111
// 192.168.1.111 is the IP address of the TFTP server.-L specifies the name of the downloaded file (this parameter can be omitted).-R specifies the name of the file to be downloaded on the server, and-G indicates get.
Author: canghai hunter Source: http://blog.csdn.net/embedded_hunter reproduced please indicate the source of embedded technology exchange QQ group: 179012822