Trivial File Transfer Protocol (TFTP) is a very simple file transfer protocol, with the functionality of a very basic form of FTP.
Since it is so simple, it is easy to implement in a very small amount of memory, an important consideration at that time.TFTP is based in part on the earlier protocol EFTP, which was part of the PUP protocol suite. In the early days of work on the TCP/IP protocol suite, TFTP was often the first protocol implemented on a new host type, because it was so simple.
To conifgure the TFTP, edit the /etc/xinetd.d/tftp file and ensure the file contains the following.
#vi /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 = nosocket_type = dgramprotocol = udpwait = yesuser = rootserver = /usr/sbin/in.tftpdserver_args = -s /tftpboot# disable = yesper_source = 11cps = 100 2flags = IPv4}
Important note:Ensure the line “disable = yes” has been commented.
The tftp configuration can be verified with the following set of commands.
#service xinetd stop
#service xinetd start
#service xinetd restart
The following should get displayed on successful configuration.
[root@omap root]# service xinetd restartStopping xinetd: [ OK ]Starting xinetd: [ OK ][root@omap root]#
This ensures the proper functioning of TFTP server.
Network service and iptables flush
After enabling the service you want, its mandatory to restart the network service and to flush the iptables.
#service network restart
This displays............
[root@omap root]# service network restartShutting down interface eth0: [ OK ]Shutting down loopback interface: [ OK ]Setting network parameters: [ OK ]Bringing up loopback interface: [ OK ]Bringing up interface eth0: [ OK ][root@omap root]#
After configuring the various services, flush the iptables.
#iptables --flush



0 comments:
Post a Comment