From owner-freebsd-questions@FreeBSD.ORG Mon Sep 12 14:18:44 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B6D016A41F for ; Mon, 12 Sep 2005 14:18:44 +0000 (GMT) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5B4D43D46 for ; Mon, 12 Sep 2005 14:18:43 +0000 (GMT) (envelope-from cpghost@cordula.ws) Received: from epia2.farid-hajji.net (epia-2 [192.168.254.11]) by fw.farid-hajji.net (Postfix) with ESMTP id AC7984C36B; Mon, 12 Sep 2005 16:18:57 +0200 (CEST) Date: Mon, 12 Sep 2005 16:20:44 +0200 From: cpghost To: Aaron Glenn Message-ID: <20050912142044.GA12779@epia2.farid-hajji.net> References: <18f6019405091022017b43a199@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18f6019405091022017b43a199@mail.gmail.com> User-Agent: Mutt/1.5.9i Cc: freebsd-questions@freebsd.org Subject: Re: tftpd does not respond to connections X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 14:18:44 -0000 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/