Install and configure the TFTP server in ubuntu9.10

Source: Internet
Author: User

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

 

 

 

 

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.