Summary of tftpserver Configuration

Source: Internet
Author: User
Configuration tftpserver Summary-Linux Enterprise Application-Linux server application information. The following is a detailed description. You need to configure the tftp server when using s3c2410 recently. Here is a summary.
If custom: all is selected during installation, it will automatically install.
Available
$ Rpm-qa | grep tftp test whether the installation is complete.
Two installation files tftp-0.32-4.i386.rpm and tftp-server-0.32-4.i386.rpm under rh9

1. On RH7.2 installation disc 2 # Or rh9 3 disk.
Rpm-ivh tftp-server-0.32-4.i386.rpm
Rpm-ivh tftp-0.32-4.i386.rpm

2. Edit the/etc/xinet. d/tftp file and modify
###
# Specify chroot using the-s parameter
#-C parameter specifies that tftp can create files
Server_args =-s/tftpboot-c
Disabled = no

3. Create a data folder and restart XINETD.
# Mkdir/tftpboot
# Chmod o + w/tftpboot or chmod 777/tftpboot
#/Etc/init. d/xinetd restart or service xinetd restart
I selected tftp auto-start in the network service.
$ Setup
Select tftp in system services and remove the ipchains and iptables services (that is, remove the front of them ).
* Number)
Test e. g:
# Tftp 172.21.5.113
Tftp> get xxxx
Tftp> put xxxx
Tftp> h will prompt you for help.
CODE: --------------/etc/xinetd. d/tftp ------------------
# Default: off
# Description: The tftp server serves files using the trivial file transfer
\
# Protocol. The tftp protocol is often used to boot diskless \
# Workstations, download configuration files to network-aware
Printers ,\
# And to start the installation process for some operating systems.
Service tftp
{
Disable = no
Socket_type = dgram
Protocol = udp
Wait = yes
User = root
Server =/usr/sbin/in. tftpd
Server_args =-s/tftpboot-c
Per_source = 11
CPIs = 100 2
Flags = IPv4
}

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.