/***************************************************************************
 *                       busybox inetd tftpd
 * 说明:
 *     在NXP官方主板上使能运行tftpd的,不过不知道为什么换块主板就不行了,于是
 * 找原因,中间换过xinetd也不行,最后换成inetd才行。
 *
 *                                         2016-9-27 深圳 南山平山村 曾剑锋
 **************************************************************************/

一、参考文档:
    嵌入式 busybox自带的tftp、telnet、ftp服务器
        http://blog.csdn.net/skdkjzz/article/details/40397099
    
二、inetd配置:
    cat /etc/inetd.conf 
        69 dgram udp wait root tftpd tftpd -s /var/lib/tftpboot

三、cat /etc/default/tftpd-hpa 
    RUN_DAEMON="yes"
    OPTIONS="-l -c -s /var/lib/tftpboot"

三、启动inetd:
    [aplex@root ~]# cat /etc/init.d/S80inetd 
        #! /bin/sh
        
        inetd -e /etc/inetd.conf

 

相关文章:

  • 2021-11-03
  • 2022-12-23
  • 2022-12-23
  • 2021-07-10
  • 2022-01-10
  • 2021-12-01
  • 2021-07-03
  • 2022-01-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-20
  • 2022-12-23
  • 2022-01-23
  • 2022-01-06
相关资源
相似解决方案