A, tftpserver server configuration and use Method 1: # udpsvd-vE069tftpd-croot above 0 indicates all IP addresses are listening Method 2: # vietcinetd. conf69dgramudpnowaitroottftpdtftpd-croot # inetd test use: we can download the tftp32 software under windows,
A, tFtpServer Configuration and use
Method 1:
# Udpsvd-vE 0 69TftpD-c/root &
// The above 0 indicates listening to all IP addresses
Method 2:
# Vi/etc/inetd. conf
69 dgram udp nowait root tftpd-c/root
# Inetd
Test use:
We can use the tftp32 software in windows to download and upload files.
Set tftp32 as the client, set the Host ip address, enter the file name to be sent, click put, or click get.
B. Use of tftp client
Tftp32 as server
1. put the hello. c file on the Development Board to the root directory of tftpd32 on the PC end and rename it to world. c.
# Tftp-l hello. c-r world. c-p (IP address of the tftp server)
2. get the world. c file in the tftp32 directory on the PC to the Development Board and rename it as hello word. c.
# Tftp-l hello_world.c-r world. c-g (IP address of the tftp server)
BusyBox versions download http://www.linuxIdC.com/Linux/2011-08/40704.htm