2013年6月14日 星期五

Linux建置TFTP Server

  1. mkdir /tftpboot
  2. vi /etc/xinetd.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
    }
  3. vi /etc/inetd.conf
    #tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd
  4. /etc/init.d/xinetd restart

沒有留言:

張貼留言