Results 1 to 3 of 3

Thread: ubuntu 9.10 tftp server

  1. #1
    Join Date
    Jul 2006
    Beans
    46

    ubuntu 9.10 tftp server

    is it possible to get the tftp server that comes with ubuntu 9.10 (I think it is tftp-hpa) to start with the -c option (or whatever option is needed to start the server so it will allow file creation)? if so where and how do I do this? if not is there a different server I should install that will allow me to use the file creation mode?

    I tried to change the "/etc/default/ tftpd-hpa" file to read "
    Code:
    #Defaults for tftpd-hpa
    RUN_DAEMON="no"
    OPTIONS="-l -s -c /var/lib/tftpboot"
    (just added the "-c" in the OPTIONS line) but that dosen't seem to work.

    Thanks

  2. #2
    Join Date
    Feb 2009
    Beans
    62
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: ubuntu 9.10 tftp server

    One thing you might look at doing is creating a new entry for it in the local section of the startup sequence.

    If you look at the /etc/ directory you will see a document called rc.local

    If you edit that file and add the commands you want to run at startup before exit 0 the system will execute them as root. If you need them to run as another user, you could see if it can execute sudo -u <user name> < command > Since it's already root, it shouldn't need a password. Haven't tested it, but it's worth a shot.

    This way you can make sure it'll start accordingly. Also, if this is not a server environment, but rather a desktop, you can add a new entry for it in the system -> preferences -> startup applications menu.

  3. #3
    Join Date
    Apr 2007
    Location
    linköping, sweden
    Beans
    119
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: ubuntu 9.10 tftp server

    Code:
    #Defaults for tftpd-hpa
    RUN_DAEMON="no"
    OPTIONS="-l -c -s /var/lib/tftpboot"
    Should work better. The -s is what takes the supplied path as an argument.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •