Difference between revisions of "Tftp"

From Klaus' wiki
Jump to: navigation, search
Line 9: Line 9:
 
$ service network restart
 
$ service network restart
 
$ service xinetd restart
 
$ service xinetd restart
 
 
 
 
$ echo "test">/tftpboot/test
 
$ echo "test">/tftpboot/test
 
$ tftp localhost ## command: get test
 
$ tftp localhost ## command: get test

Revision as of 17:58, 28 October 2010

To enable tftp on your Centos server perform the following:

$ yum install tftp*
$ chmod 777 /tftpboot
$ vi /etc/xinetd.d/tftp ## Change disable = yes to disable = no
$ restorecon -r /tftpboot
$ system-config-securitylevel-tui ## add tftp:udp in the customize menu for other ports
$ service network restart
$ service xinetd restart
$ echo "test">/tftpboot/test
$ tftp localhost ## command: get test

check that the file test is received locally.

On bren try to get the test file as well. If you receive it everything is working correct.