From owner-freebsd-questions@FreeBSD.ORG Tue Feb 17 10:25:54 2004 Return-Path: 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 11D6216A4CE for ; Tue, 17 Feb 2004 10:25:54 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5823443D1D for ; Tue, 17 Feb 2004 10:25:53 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i1HIPhoH060097 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 Feb 2004 18:25:43 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i1HIPg00060096; Tue, 17 Feb 2004 18:25:42 GMT (envelope-from matthew) Date: Tue, 17 Feb 2004 18:25:42 +0000 From: Matthew Seaman To: Marty Landman Message-ID: <20040217182542.GC59848@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Marty Landman , Wayne Pascoe , freebsd-questions@freebsd.org References: <6.0.0.22.0.20040217111500.049a6db0@pop.face2interface.com> <20040217162446.GB77332@marvin.penguinpowered.org> <6.0.0.22.0.20040217113548.04cea110@pop.face2interface.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="96YOpH+ONegL0A3E" Content-Disposition: inline In-Reply-To: <6.0.0.22.0.20040217113548.04cea110@pop.face2interface.com> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: Wayne Pascoe cc: freebsd-questions@freebsd.org Subject: Re: can't connect to ftp server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2004 18:25:54 -0000 --96YOpH+ONegL0A3E Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 17, 2004 at 12:04:51PM -0500, Marty Landman wrote: > Well, I know more than before and I can get sftp access to my fbsd box so= =20 > yes. Now I gather the problem is that the machine isn't listening on port= =20 > 21; is that supposed to be controlled by inetd? What do I do now? Kinda obvious, but is inetd(8) running at all? If it is running, did you restart it after editing the configuration file? To make inetd(8) start automatically on reboots add this to /etc/rc.conf: inetd_enable=3D"YES" You might want to tweak inetd's runtime flags something like the following: inetd_flags=3D"-wWl -R 1024 -c 128" which makes inetd log every connection to it and imposes some limits on the number and rate of connections inetd will accept. In order to make inetd(8) reread it's config file: # kill -HUP `cat /var/run/inetd.pid` You should now see something listening on port 21 -- if you still can't connect by FTP, double check your firewall rules (remember that FTP uses both ports 20 and 21) and /etc/hosts.allow. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --96YOpH+ONegL0A3E Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAMlymdtESqEQa7a0RAkkUAJwJ5XeAkbfa/NGJq/hR84p//BAfTwCdFnYb Pvj1lC3v6MS9tu+WYO9L+ms= =aD4J -----END PGP SIGNATURE----- --96YOpH+ONegL0A3E--