enabling tftp
Results 1 to 3 of 3

Thread: enabling tftp

  1. #1
    Junior Member
    Join Date
    Jun 2003
    Posts
    3

    Thumbs up enabling tftp

    i tried to look for tftp on /etc/xinetd.d directory but i didnt find it,howcan i enable this feature on linux server.I want to use it to boot a diskless client.

  2. #2
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,401

    Re: enabling tftp

    Originally posted here by irrnp
    i tried to look for tftp on /etc/xinetd.d directory but i didnt find it,howcan i enable this feature on linux server.I want to use it to boot a diskless client.
    TFTP is UDP based so you will not find it in inetd.conf (or xinitd.d).

    What linux distro do you use?
    Oliver's Law:
    Experience is something you don't get until just after you need it.

  3. #3
    Senior Member
    Join Date
    Jan 2002
    Posts
    1,207
    TFTP is UDP based but it may still be in inetd.conf (or xinetd for that matter)

    UDP services can run out of inetd.

    You will need to install the daemon in.tftpd and put in a corresponding line in /etc/inetd.conf

    (xinetd may use a file in /etc/xinetd.d for this purpose)

    Anyway, if it existed, the line would look something like this

    Code:
    tftp  dgram   udp     wait    nobody  /usr/sbin/in.tftpd  in.tftpd
    It appears that Slackware ships with the trivial file transfer daemon.

    You should be careful with security.

    You can specify a directory (say, /tftpboot) on the inetd.conf line to restrict tftpd to that directory. This is usually a good idea.

    tftp has no security whatsoever, anybody who can connect can retrieve any (world readable) file, assuming they know it exists (You cannot list directories with tftp). Best to run it on a LAN protected by a firewall

Posting Permissions

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