From: maxim wexler <blissfix@yahoo.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] printing and localhost
Date: Mon, 6 Feb 2006 09:48:41 -0800 (PST) [thread overview]
Message-ID: <20060206174841.52101.qmail@web31704.mail.mud.yahoo.com> (raw)
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
reply other threads:[~2006-02-06 18:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060206174841.52101.qmail@web31704.mail.mud.yahoo.com \
--to=blissfix@yahoo.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox