4. 通过xinetd超级服务器启动tftpd
在这之前,先重启下进程
mystery@lcw:/etc$ sudo reload xinetd 然后重启服务
mystery@lcw:/etc/default$ sudo service xinetd restart
xinetd stop/waiting
xinetd start/running, process 3350
mystery@lcw:/etc/default$
5. 测试
tftp> status
Connected to 192.168.123.24.
Mode: netascii Verbose: off Tracing: off
Rexmt-interval: 5 seconds, Max-timeout: 25 seconds
tftp> get test
Transfer timed out. 出现 Transfer timed out
4、重新启动服务
mystery@lcw:~$ sudo service tftpd-hpa restart
tftpd-hpa stop/waiting
tftpd-hpa start/running, process 5540
5、通过tftp的get和put进行测试
mystery@lcw:~$ tftp localhost
tftp> get test
tftp> put minicom.log
tftp> q
mystery@lcw:~$ ls /home/mystery/tftp/
minicom.log test
mystery@lcw:~$ OK,TFTP又开始正常工作,囧……