Install following packages.
sudo apt-get install xinetd tftpd tftp
Create /etc/xinetd.d/tftp
sudo nano /etc/xinetd.d/tftp
and put this entry
service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = /tftpboot
disable = no
}
Create a folder /tftpboot
this should match whatever you gave in server_args
. mostly it will be tftpboot
sudo mkdir /tftpboot
sudo chmod -R 777 /tftpboot
sudo chown -R nobody /tftpboot
Restart the xinetd
service.
sudo /etc/init.d/xinetd restart
You must allow udp port 69
in firewall.
'Linux' 카테고리의 다른 글
Makefile : Clock skew detected (0) | 2018.08.23 |
---|---|
OpenCV cross compile for arm linux (0) | 2018.02.23 |
vim에서 explorer 기능 (0) | 2016.07.26 |
diff 폴더 비교하기 (0) | 2015.12.08 |
minicom 사용법 (0) | 2015.11.08 |