Configure the tftp service in Ubuntu

Source: Internet
Author: User
Ubuntu configuration tftp service-Linux Enterprise Application-Linux server application information. The following is a detailed description. Uboot uses this to download the kernel. For ubuntu users, the configuration is not very friendly.

Installer

Sudo apt-get install tftp tftpd

The former is the client, and the latter is the service program.

This is not the case, because tftp requires inetd to control, while ubuntu or debian systems do not install inetd by default. Install:

Sudo apt-get install netkit-inetd

Create a tftpboot in the/directory and change the attribute to 777.

Cd/

Sudo mkdir tftpboot

Sudo chmod 777 tftpboot

Modify/etc/inetd. conf

Tftp dgram udp wait nobody/usr/sbin/tcpd/usr/sbin/in. tftpd/tftpboot

Reload the inetd process

Sudo/etc/init. d/inetd reload

Test to create a new file in the/tftpboot folder.

Touch aaa

Enter another folder

Tftp 10.0.0.1

Tftp> get aaa

Is it normal?

Now copy the compiled Kernel File to/tftpboot and use the tftp command of u-boot to add the kernel to the target board memory.

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.