Difference between revisions of "Configuring basic tftp server"

From Notes_Wiki
m
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=Configuring basic tftp server=
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[tftp server configuration]] > [[Configuring basic tftp server]]


To create a tftp server use:
To create a tftp server use:
Line 14: Line 14:




Back to [[Tftp server configuration]]
 
 
 
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[tftp server configuration]] > [[Configuring basic tftp server]]

Latest revision as of 09:40, 14 July 2022

Home > CentOS > CentOS 6.x > tftp server configuration > Configuring basic tftp server

To create a tftp server use:

  1. yum install tftp tftp-server
  2. Edit '/etc/xinetd.d/tftp', change disable to no
  3. Start xinetd service or restart if already running
  4. Disable firewall as TFTP connection request originates on UDP port 59 but actual data transfer can be on any port. (Out of band).


Using TFTP server with switch

When copying file from tftp server to switch ensure that file permissions allow switch to read the file. When copying file from switch to tftp server, one needs to create empty file with same name and give it 777 permissions before we can copy data from switch to tftp server. Hence we have to create empty world writable file before we can use tftp to copy data from switch to tftp-server. Even making parent directory permissions 777 wont help, one must create empty file before we can copy files to tftp-server.



Home > CentOS > CentOS 6.x > tftp server configuration > Configuring basic tftp server