From owner-freebsd-questions@FreeBSD.ORG Sat Nov 29 11:04:01 2003 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 9ACE216A4CE for ; Sat, 29 Nov 2003 11:04:01 -0800 (PST) Received: from smtp4.server.rpi.edu (smtp4.server.rpi.edu [128.113.2.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82CAF43FDF for ; Sat, 29 Nov 2003 11:04:00 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp4.server.rpi.edu (8.12.10/8.12.9) with ESMTP id hATJ3xtp013173; Sat, 29 Nov 2003 14:03:59 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <200311270026.28445.chowse@charter.net> References: <200311270026.28445.chowse@charter.net> Date: Sat, 29 Nov 2003 14:03:58 -0500 To: Charles Howse , FBSD Questions From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) Subject: Re: connection to remote printer is down 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: Sat, 29 Nov 2003 19:04:01 -0000 At 12:26 AM -0600 11/27/03, Charles Howse wrote: > >I have an HP1100 printer that I set up on machine "moe" with >apsfilter, and is working perfectly. > >I'm trying to setup machine "larry" to print text only to the >printer on "moe", but I'm not getting anywhere. Jobs get >into the local spool, but time out waiting on the remote >machine to "come up". I can ping the remote machine with >no difficulty. > >I have the following in /etc/hosts.lpd: > >[charles@moe ~]$ cat /etc/hosts.lpd ># $FreeBSD: src/etc/hosts.lpd,v 1.4 1999/08/27 23:23:42 peter Exp $ ># ># See lpd(8) >#machine.domain >larry.howse.homeunix.net >Here's larry's /etc/printcap: > >lp|hp1100:\ > :lp=:rm=moe:rp=hp1100:sd=/var/spool/output/moe:lf=/var/log/lpd-errs: In your /etc/hosts.lpd file, you specify a fully-qualified name for 'larry'. But in your printcap file, you specified only 'moe', and not something like 'moe.howse.homeunix.net'. That seems a bit inconsistent to me, but I assume it is not too important. To me, it looks like lpd is not accepting remote connections on moe. That would happen if lpd is not being started during system startup, or if you have started it up with the '-s' ("secure") flag. What do you see if you type the following command on moe: ps axuww | grep lpd And what startup-variables do you find on moe if you type the following command: grep lpd /etc/defaults/rc.conf /etc/rc.conf -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu