Dev Board tftp download file

Source: Internet
Author: User

Construction process:

1. Install related software package: TFTPD (server side), TFTP (client), xinetd
sudo apt-get install tftpd tftp xinetd

2. Create a configuration file (blue directories can be changed to other addresses, such as/home/user/tftpboot)
set up a configuration file tftp under/etc/xinetd.d/
sudo vi tftp
Enter the following in the file:
Service TFTP
{
Socket_type = Dgram
protocol = UDP
Wait = yes
user = root
Server =/USR/SBIN/IN.TFTPD
Server_args =-s/home/wmx/desktop/tftp (own file upload download directory)
Disable = no
Per_source = 11
CPS = 100 2
Flags = IPV4
}
Save exit

2., set up the TFTP service file directory (upload file and download file location), and change its permissions
  sudo mkdir/home/wmx/dektop/tftp

Sudu chmod 777 /home/wmx/dektop/tftp

3. Restart the service
sudo/etc/init.d/xinetd restart
Now that the TFTP service has been installed, you can test it below

4. IP Settings for PC

sudo ifconfig eth0 192.168.2.1

5. PINGPC Machine with Development Board

Ping 192.168.2.1

can see:

  

Dev Board tftp download file

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.