sudo apt-get install tftp tftpd
sudo apt-get install xinetd
tftp127.0.0.1可以put/get,但是从设备上tftp put总是无响应(wireshark结果)。安装Xinetd,配置/etc/xinet.d/tftp后:
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
cd /
sudo mkdir tftpboot
sudo chmod 777 tftpboot
sudo /etc/init.d/xinetd restart
阅读(760) | 评论(0) | 转发(0) |