ubuntu tftp service open

来源:互联网 发布:windows如何打钢筋符号 编辑:程序博客网 时间:2024/06/13 00:56

This is about how to open the TFTP service documents


First I need install tftpd-hpa tftp-hpa

 1.sudo apt-get  install tftpd-hpa tftp-hpa

 

And then, I need to be configured /etc/default/tftpd-hpa

 2.sudo gedit /etc/default/tftpd-hpa 
 
  #/etc/default/tftpd-hpa
  TFTP_USERNAME="tftp"
  TFTP_DIRECTORY="/tftpboot"   //This is your tftp service directory
  TFTP_ADDRESS ="0.0.0.0:69"
  TFTP_OPTIONS="-l -c -s"

Finally,start tftpd-hpa service


 3.sudo service tftpd-hpa restart
 4.tftp localhost ,get XXXX,put XXXX

原创粉丝点击