From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1F6Ai1-0006OE-SH for garchives@archives.gentoo.org; Mon, 06 Feb 2006 18:03:30 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k16I0sNa019727; Mon, 6 Feb 2006 18:00:54 GMT Received: from web31704.mail.mud.yahoo.com (web31704.mail.mud.yahoo.com [68.142.201.184]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k16HmEYX019217 for ; Mon, 6 Feb 2006 17:48:14 GMT Received: (qmail 52103 invoked by uid 60001); 6 Feb 2006 17:48:41 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=SyymHG8alG+Dj8V6eGr5zeGRZKIl6wmaSp5l/h4oo1OW1KRwOsHWYx5CmuC7kvMX+e0jWMNpt2Y0VuzTvpKuV8ElBlsC9qHORr5hy8DXRHLCUUjRm3KBb3P6BS8Mp3X31CrAsPd7StJALi7wKrnyusXvLVqj9smo9Rkc5C/wOnI= ; Message-ID: <20060206174841.52101.qmail@web31704.mail.mud.yahoo.com> Received: from [64.228.98.96] by web31704.mail.mud.yahoo.com via HTTP; Mon, 06 Feb 2006 09:48:41 PST Date: Mon, 6 Feb 2006 09:48:41 -0800 (PST) From: maxim wexler Subject: [gentoo-user] printing and localhost To: gentoo-user@lists.gentoo.org Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Archives-Salt: 114fb005-e0ea-467b-ae70-304c27e430c4 X-Archives-Hash: e0c45157c5d3cf688aab06c55eb9d2ff Hello everybody, When I try to print something using lprng I get: Sending job 'heathen@localhost +689 to lp@localhost Cannot open connection to localhost - No such file or directory. Here's /etc/conf.d/hostname: heathen@sarawak ~ $ cat /etc/conf.d/hostname # /etc/conf.d/hostname # $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/conf.d/hostname,v 1.2.4.1 2005/02/19 02:13:53 vapier Exp $ # Set to the hostname of this machine HOSTNAME="sarawak" /etc/hosts: heathen@sarawak ~ $ cat /etc/hosts # /etc/hosts: This file describes a number of hostname-to-address # mappings for the TCP/IP subsystem. It is mostly # used at boot time, when no name servers are running. # On small systems, this file can be used instead of a # "named" name server. Just add the names, addresses # and any aliases to this file... # $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.8 2003/08/04 20:12:25 azarah Exp $ # 127.0.0.1 localhost sarawak # IPV6 versions of localhost and co ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts I've tried editing the above different ways with the similar results: Get_local_host: hostname 'sarawak' bad or Get_local_host: 'localhost' IP address not available Yes, the appropriate modules are loaded and the printer is found at bootup. WinXP has no trouble with the printer, an HP Deskjet612. Attempts to cat a file directly to /dev/lp0 cause the printer to make some noise and to flash the trouble light. This line is probably wrong, can someone suggest the correct one? 127.0.0.1 localhost sarawak cups doesn't work either; the error is 'exit with status 3' -mw __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list