Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2005 16:20:44 +0200
From:      cpghost <cpghost@cordula.ws>
To:        Aaron Glenn <aaron.glenn@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: tftpd does not respond to connections
Message-ID:  <20050912142044.GA12779@epia2.farid-hajji.net>
In-Reply-To: <18f6019405091022017b43a199@mail.gmail.com>
References:  <18f6019405091022017b43a199@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 10, 2005 at 10:01:23PM -0700, Aaron Glenn wrote:
> This has got me thoroughly stumped. On both stock FreeBSD 4.9 and
> FreeBSD 5.4 installs, tftpd does not and will not work. I uncomment
> out the first tftpd line found in /etc/inetd.conf, kill -HUP
> `/var/run/inetd.pid` and then attempt to connect to port 69. I've
> tried:
> 
> - telnetting to localhost and the IP assigned to the network
> interface, to no avail

You can't "connect" to a UDP server...

> - binding inetd to a specific IP with the -a switch and telnetting to
> that, to no avail
> - using the tftp client to both localhost and IP, both with inetd
> binding to all, and a specific IP
> 
> I've tried it on both a 4.9 box, and a 5.4 box, both -RELEASE. Clearly
> I'm missing something but I haven't seen any howto, man page, or
> document explaining the need to do anything beyond uncommenting the
> inetd.conf line and -HUP'ing the inetd process. In both cases (4.9 and
> 5.4), netstat shows the tftpd process, but never in a LISTEN state.

You mean something like this:
  udp4       0      0  net4801-2.tftp         *.*
without the 'LISTEN' keyword? Perhaps because it's UDP?
Anyway, that's from a TFTPD server, which is used by diskless
clients. It works just fine.

> Please CC as I'm not subscribed to -questions (but at this rate I
> probably should be...)
> 
> regards,
> aaron.glenn

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050912142044.GA12779>