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
} |