TFTP: Instalasi
Revision as of 02:52, 13 December 2013 by Onnowpurbo (talk | contribs)
Install
sudo apt-get install xinetd tftpd tftp
Buat
vi /etc/xinetd.d/tftp
isi dengan
service tftp { protocol = udp port = 69 socket_type = dgram wait = yes user = nobody server = /usr/sbin/in.tftpd server_args = /tftpboot disable = no }
Buat folder /tftpboot
sudo mkdir /tftpboot sudo chmod -R 777 /tftpboot sudo chown -R nobody /tftpboot
Restart xinetd service.
sudo /etc/init.d/xinetd restart
Testing
Buat file test di /tftpboot Cek ip address (misalnya 192.168.1.2) dari tftp server
Coba lakukan
tftp 192.168.1.2 tftp> get test Sent 159 bytes in 0.0 seconds
tftp> quit
cat test