From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,5a61f0580eefb39c X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-07-03 06:00:09 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.stueberl.de!news-mue1.dfn.de!news-ber1.dfn.de!news.uni-potsdam.de!not-for-mail From: Joerg-Uwe Tessmer Newsgroups: comp.unix.tru64 Subject: Re: Printing to remote IP problem Date: Thu, 03 Jul 2003 14:56:38 +0200 Organization: University of Potsdam Message-ID: <3F042806.ED92CAAE@agnld.uni-potsdam.de> References: <3f040fa4$0$226@hades.is.co.za> NNTP-Posting-Host: einstein.agnld.uni-potsdam.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: zeppelin.rz.uni-potsdam.de 1057236998 23131 141.89.176.114 (3 Jul 2003 12:56:38 GMT) X-Complaints-To: usenet@zeppelin.rz.uni-potsdam.de NNTP-Posting-Date: 3 Jul 2003 12:56:38 GMT X-Mailer: Mozilla 4.76 [en] (X11; U; OSF1 V5.1 alpha) X-Accept-Language: en Xref: archiver1.google.com comp.unix.tru64:10154 JasperH wrote: > > Hi All, > > I set up a new Alpha1200 (machine B) with the /etc/printcap the same as that > of the old machine (machine A). Printing works fine on A. On B, when I print > to lj02, the remote host IP is not recognised. However, I can ping the IP of > the printer. Both Alphas and the printer are on the same network (ccc). > Help would be appreciated. Thanks! > > Printcap entry on A and B: > > HPLJ4SI|lj02:\ > :af=/usr/adm/lpacct:\ > :ct=remote:\ > :if=/usr/lbin/hplaserpsof:\ > :lf=/usr/adm/lpderr:\ > :mx#0:\ > :of=/usr/lbin/hplaserpsof:\ > :pl#66:\ > :ps=LPS:\ > :pw#80:\ > :rm=aaa.bbb.ccc.ddd:\ > :rp=text:\ > :rw:\ > :sd=/usr/spool/lpd/lj02:\ > :sh:\ > :xf=/usr/lbin/xf: > # > # lpc stat lj02 (on A) > lj02: > printer is on remote host aaa.bbb.ccc.ddd with name text > queuing is enabled > printing is enabled > no entries > no daemon present > # > # lpc stat lj02 (on B) > lj02: > printer is on device '/dev/lp' speed -1 > queuing is enabled > printing is enabled > 1 entry in spool area > no daemon present > # > Jasper. My /etc/printcap entry are: Node_1 = printer "laser_jet" connected to parallel port lp0 ====== lp|lp0|0|laser_jet:\ :af=/usr/adm/lpacct:\ :if=/usr/lbin/ps_level2of:\ :lf=/usr/adm/lp0err:\ :lp=/dev/lp0:\ :mc#20:\ :mx#0:\ :of=/usr/lbin/ps_level2of:\ :pl#72:\ :pw#80:\ :sd=/usr/spool/lpd0:\ :sh:\ :xf=/usr/lbin/xf: Entry in file /etc/hosts.equiv # # ***************************************************************** # * * # * Copyright Compaq Computer Corporation, 2001 * # * * # * The software contained on this media is proprietary to * # * and embodies the confidential technology of Compaq * # * Computer Corporation. Possession, use, duplication or * # * dissemination of the software and media is authorized only * # * pursuant to a valid written license from Compaq Computer * # * Corporation. * # * * # * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure * # * by the U.S. Government is subject to restrictions as set * # * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, * # * or in FAR 52.227-19, as applicable. * # * * # ***************************************************************** # # HISTORY # # @(#)$RCSfile: hosts.equiv,v $ $Revision: 1.1.5.2 $ (DEC) $Date: 1993/10/29 19:37:05 $ # # Description: The hosts.equiv file contains a list of trusted hosts. # It is used by the rsh, rlogin and rcp commands. # # Warning: Listing hosts in this file can compromise system security. # Include host names and user names in this file with caution. # # Syntax: host1 [login_1] # . # . # . # host1 [login_n] # # host1 name of a host considered trusted by the local system # [login_n] individual user on the trusted host that can log in # without a password; if no users are specified then all # users on the trusted host can log in without a password # # A single plus sign (+) on a line by itself signifies "match any". # "Match any" implies *all* hosts are considered trusted. Because # of the security ramifications of this uncommenting the NO_PLUS # keyword in the following line, globally turns off "match any". NO_PLUS Note_1 Note_2 ------------------------------------------- Node_2 ====== lp1|1|laser_jet:\ :lf=/usr/adm/lp1err:\ :lp=:\ :rm=Node_1:\ :rp=laser_jet:\ :sd=/usr/spool/lpd1:\ :sh: hope this helps. Joerg-Uwe -- Joerg-Uwe Tessmer Universitaet Potsdam Tel.: +49+331-9771613 Institut fuer Physik Fax.: +49+331-9771142 Lehrstuhl Nichtlineare Dynamik https://www.agnld.uni-potsdam.de/~joerg