From owner-freebsd-questions Wed May 20 19:09:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA20715 for freebsd-questions-outgoing; Wed, 20 May 1998 19:09:52 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gershwin.tera.com (gershwin.tera.com [207.224.230.28]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA20710 for ; Wed, 20 May 1998 19:09:42 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (tao.tera.com [207.108.223.55]) by gershwin.tera.com (8.8.8/8.8.8) with ESMTP id TAA20925; Wed, 20 May 1998 19:08:35 -0700 (PDT) Received: (from kline@localhost) by tao.thought.org (8.8.5/8.7.3) id TAA01405; Wed, 20 May 1998 19:06:13 -0700 (PDT) From: Gary Kline Message-Id: <199805210206.TAA01405@tao.thought.org> Subject: Re: remote printing to an HP DeskJet500 In-Reply-To: from Doug White at "May 20, 98 04:06:37 pm" To: dwhite@resnet.uoregon.edu Date: Wed, 20 May 1998 19:06:12 -0700 (PDT) Cc: freebsd-questions@FreeBSD.ORG (FreeBSD Mailing List), david@dhw.vip.best.com Organization: <> thought.org: public access uNix in service... <> X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The past 48 hours have been a learning experience in trying to get my DeskJet to print networked. Over my ethernet cable from ``sage'' my 6x86 box to ``tao'' my old P90 that has the DJ500 hanging off /dev/lpt0. In case anyone else had similar problems, this brief write up may hopefully help. Given a similar network, if you have any trouble with `lpr' on your remote system, and having dropped into /etc/printcap something similar to this: remote|sample remote printer:\ :rm=lphost:sd=/var/spool/output/lphost:lf=/var/log/lpd-errs: or lp|remote:\ :rp=hp500:rm=tao.thought.org:sd=/var/spool/output/tao:\ :lp=:lf=/var/log/lpd-errs: the _first_ thing to check is your network configuration in /etc/rc.conf. Being able to ping your local//private sites is not enough. You should be able to ping anywhere from any of your machines. If you cannot, you probably won't be able to remote lpr. This is what had me stalled for 30-40 hours. I had my routing done correctly typed in by hand on my 6x86; the system was up for around two weeks and when I finally rebooted, my network config wasn't set up correctly in /etc/rc.conf. It wasn't until I tried lynx to fetch a port from sage that I realized something was hosed. After 45 minutes of trying different configurations I could finally ping an outside site. And shortly after that my printer came to life, and dumped the queued pages. Other problems that may not be evident are missing directories in /var/spool; permissions, ownerships; missing daemons (lpd, in this case). Thanks gratefully noted to David Wolfskill and Doug White! gary -- Gary D. Kline kline@tao.thought.org Public service uNix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message