I got some troubles when setting up the tftp server, here is a note:
install packages: (if in ubuntu)
sudo apt-get install xinetd tftpd tftp
service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -p /tftpboot
per_source = 11
cps = 100 2
flags = IPv4
}
create a directory named ‘/tftpboot’
start tftp with:
sudo /etc/init.d/xinetd restart
tftp 10.10.1.1
put abc.txt
get xxx.txt
If tftp is still not working, try to disable "Firewall" and "SELinux" (use command 'getenforce' to check current status of SELinux).
No comments:
Post a Comment