From owner-freebsd-questions Wed Feb 20 22:36:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from pianosa.catch22.org (pianosa.catch22.org [64.81.48.19]) by hub.freebsd.org (Postfix) with ESMTP id 9BD9937B402 for ; Wed, 20 Feb 2002 22:36:17 -0800 (PST) Received: by pianosa.catch22.org (Postfix, from userid 1006) id 988FD38D; Wed, 20 Feb 2002 22:36:13 -0800 (PST) Date: Wed, 20 Feb 2002 22:36:13 -0800 From: Danny Howard To: Dale Morris Cc: freebsd-questions@FreeBSD.ORG Subject: Re: lpd problem Message-ID: <20020220223613.A6477@pianosa.catch22.org> References: <20020220214936.A876@lymond.lvcm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020220214936.A876@lymond.lvcm.com>; from dlm@well.com on Wed, Feb 20, 2002 at 09:49:36PM -0800 X-Loop: djhoward@uiuc.edu Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Feb 20, 2002 at 09:49:36PM -0800, Dale Morris wrote: > Here's what I've done so far.. > in etc/rc.conf entered a line.. lpd_enable="YES" That should be all you need ... > created a file in /usr/local/etc/rc.d called lpd.sh containing: > [ -x /usr/sbin/lpd] && /usr/sbin/lpd && echo -n " lpd" > > chmod +x lpd.sh You shouldn't need that. > Of course if I issue the command "whereis lpd" the following is returned: > lpd: /usr/share/man/man8/lpd.8.gz /usr/src/usr.sbin/lpr/lpd Try locate. Locate is fantastic. > When I go from single to multi-user I get an error message that > /usr/sbin/lpd can't be found (or something to that effect). Looking in > /usr/sbin/ there is only lptcontrol and lptest there. For some wacky reason, lpd is missing from /usr/sbin. Fortunately, you have the source sitting there to build and install lpd. Why not give this a shot: cd /usr/src/usr.sbin/lpr/lpd make install Then you'll have lpd installed, at least. You ought to be able to start it then. :) -danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message