Date: Tue, 17 Feb 2004 18:25:42 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Marty Landman <MLandman@face2interface.com> Cc: freebsd-questions@freebsd.org Subject: Re: can't connect to ftp server Message-ID: <20040217182542.GC59848@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <6.0.0.22.0.20040217113548.04cea110@pop.face2interface.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040217182542.GC59848>
