--- Manuel McLure <[EMAIL PROTECTED]> wrote:

> On Thursday 02 February 2006 18:56, maxim wexler
> wrote:
> > Did emerge -C cups and emerge lprng now every
> attempt
> > at using lpr results in
> >
> > Get_local_host: hostname 'sarawak' bad
> >
> > What do they mean bad? When I run hostname,
> "sarawak"
> > appears.
> 
> I think this happens if /etc/hosts and
> /etc/conf.d/hostname don't match up 
> correctly. Make sure /etc/hosts has a line for
> sarawak with your machine's IP 
> address.
> 

Here's my original /etc/hosts

127.0.0.1       localhost
# 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

So far have take three stabs at changing it:

1. replaced "localhost" with "sarawak"
result: 'localhost' IP address not available!

2. replaced "localhost" with "localhost.localdomain
sarawak"
result: 'localhost' IP address not available!

3. added "sarawak" after "localhost"
result: Cannot open connection to localhost - No such
file or directory. 

FWIW I'm on dialup and the on-board NIC is not being
used at this time.

This seems like a simple matter of a few characters.
But the number of possible permutations must be enormous.

__________________________________________________
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 via email to