From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 18:37:57 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 5AA1116A41F for ; Sun, 4 Dec 2005 18:37:57 +0000 (GMT) (envelope-from chowse@charter.net) Received: from mxsf01.cluster1.charter.net (mxsf01.cluster1.charter.net [209.225.28.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1F2F43D49 for ; Sun, 4 Dec 2005 18:37:56 +0000 (GMT) (envelope-from chowse@charter.net) Received: from mxip09a.cluster1.charter.net (mxip09a.cluster1.charter.net [209.225.28.139]) by mxsf01.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id jB4Ibtjp032722 for ; Sun, 4 Dec 2005 13:37:55 -0500 Received: from 24-176-115-13.dhcp.jcsn.tn.charter.com (HELO [192.168.254.3]) ([24.176.115.13]) by mxip09a.cluster1.charter.net with ESMTP; 04 Dec 2005 13:37:54 -0500 X-IronPort-AV: i="3.99,212,1131339600"; d="scan'208"; a="1677745996:sNHT38470534" User-Agent: Microsoft-Entourage/11.2.1.051004 Date: Sun, 04 Dec 2005 12:37:54 -0600 From: Charles Howse To: questions Message-ID: Thread-Topic: Setting up a print-server Thread-Index: AcX5AdaQFP+9SGT1EdquxgARJH5tYg== In-Reply-To: <20051204081551.S87924@wonkity.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: Re: Setting up a print-server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2005 18:37:57 -0000 Look at this (moe is the print-server, listening on port 515): [charles@larry:~]$ telnet moe 515 Trying 192.168.254.4... Connected to moe. Escape character is '^]'. lpd [@moe.local]: Print-services are not available to your host (larry). Connection closed by foreign host. So what's my exact hostname? [charles@larry:~]$ hostname larry.local Then I ssh to moe, then I add: larry larry.local to /etc/hosts.lpd and to /etc/hosts.equiv Now... [charles@larry:~]$ telnet moe 515 Trying 192.168.254.4... Connected to moe. Escape character is '^]'. ^] telnet> quit Connection closed. Looks like print services are available now, but... [charles@larry:~]$ lpc status all [charles@larry:~]$ And printing from the Mac still gets a 'busy signal'. Can I issue a command to print something from a telnet session? [charles@larry:~]$ telnet moe 515 Trying 192.168.254.4... Connected to moe. Escape character is '^]'. lpr /etc/printcap moe.local: lpd: Illegal service request Connection closed by foreign host. [charles@larry:~]$