Difference between revisions of "TFTP: Instalasi"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (New page: 9 down vote accepted I got TFTP service working great by using: sudo apt-get install xinetd tftpd tftp Here is where the solution came from: http://mohammadthalif.wordpress.com/2010/...) |
Onnowpurbo (talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | Install | |
− | |||
− | + | sudo apt-get install xinetd tftpd tftp | |
− | + | Buat | |
− | + | vi /etc/xinetd.d/tftp | |
− | + | isi dengan | |
− | + | service tftp | |
− | + | { | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
protocol = udp | protocol = udp | ||
port = 69 | port = 69 | ||
Line 26: | Line 19: | ||
server_args = /tftpboot | server_args = /tftpboot | ||
disable = no | 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 | + | ==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 | |
Line 63: | Line 56: | ||
* http://askubuntu.com/questions/201505/how-do-i-install-and-run-a-tftp-server | * http://askubuntu.com/questions/201505/how-do-i-install-and-run-a-tftp-server | ||
+ | * http://mohammadthalif.wordpress.com/2010/03/05/installing-and-testing-tftpd-in-ubuntudebian/ |
Latest revision as of 02:52, 13 December 2013
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