# rpm -qa | grep -i tftp
tftp-server-0.49-2
tftp-0.49-2
Remember, the version of TFTP dont really matter so dont focus on version as long as it is coming from same RHEL media which was used to install OS. :)
Once RPM is installed, then make sure the /etc/xinetd.d/tftp file reads as below (special foucs on "disable=no")
# cat /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
per_source = 11
cps = 100 2
flags = IPv4
}
By default, TFTP server provides files from /tftpboot directory unless it is changed in /etc/xinetd.d/tftp configuration file.
Once above is all set, then restart xinetd service and it should be all set!
# chkconfig --list | grep -i tftp
tftp: on
# service xinetd status
xinetd (pid 2374) is running...
As long as above is working + FIREWALL is open, then TFTP server should work fine.
On another note, if needed, open port 69 in firewall which is a TFTP server port.
Special note: In case of RHEL 6.0, it was not working for me but when I upgraded OS to RHEL 6U1, it again started working for me. So, I believe that RHEL 6U0's TFTP RPM has some bug. If you come across any workaround, please do let me know as well. :)
Enjoy! :)
No comments:
Post a Comment