Forums

Setting up TFTP server on Ubuntu

  • I am following instructions on:

    http://designsomething.org/leopardboard/f/22/p/102/177.aspx#177

    When I was doing "You should create the following file /etc/xinet.d/tftp with this contents:" I found out that /etc/xinet.d does not exist on my system:

    ls /etc/xinet.d
    ls: cannot access /etc/xinet.d: No such file or directory

    Did I miss a step somewhere?

    My host runs Ubuntu 9.10 and all three of the tftp tftpd xinetd packages were just installed, per instructions.

  • There is an /etc/xinetd.d (I assume a 'd' was dropped from the name in the instructions), and only root has permission to write to it:

    sudo vi /etc/xinetd.d/tftp

    works. It would be good to update the instructions accordingly so newbies like me don't make my mistakes :)

     

  • If you are using ubuntu 9.10 this file should be created, please check:

    /etc/inetd.conf:

    tftp        dgram    udp    wait    nobody    /usr/sbin/tcpd    /usr/sbin/in.tftpd /srv/tftp

    -- 
    Miguel Aguilar
    Embedded Software Engineer
    RidgeRun Embedded Solutions
  • Thanks! Yes /etc/inetd.conf has it. So I do not need the /etc/xinetd.d/tftp? Right?