Re: [SLUG] host name for printer?

From: Dennis McDonald (dmcdon3@tampabay.rr.com)
Date: Sun Dec 29 2002 - 16:42:27 EST


Thanks for the help Ian, but the omni driver did not work for my IIP
Plus. I installed CUPS and it works great
DM
On Fri, 2002-12-27 at 10:59, Ian C. Blenke wrote:
> On Friday 27 December 2002 10:14, Dennis McDonald wrote:
> > Good Morning
> > I have recently upgrade to RH8 after using 7.1. I cannot get my printer
> > to work. I get an error message
> >
> > Get_local_host: hostname 'x1-6-00-01-29-16-3b-d0' bad
> >
> > when trying lp abc. I get the same message when using the redhat printer
> > configuration tool. This hostname looks similar to the output of
> > ifconfig for the HW addr.
> >
> > [Dennis@x1-6-00-01-29-16-3b-d0 test2]$ /sbin/ifconfig
> > eth0 Link encap:Ethernet HWaddr 00:01:29:16:3B:D0
> > inet addr:65.35.242.254 Bcast:255.255.255.255
> > Mask:255.255.248.0
> >
> > Its also in the header of my Konsole window and in my prompt.
> > I have changed the printer perms to default accept, but no help
> > Where do I go to change the setting to fix this?
> > Thanks
> > Dennis
>
> Your machine cannot resolve itself. Do this:
>
> # echo "127.0.0.1 x1-6-00-01-29-16-3b-d0" >> /etc/hosts
>
> or, more specifically:
>
> # echo 127.0.0.1 `hostname` >> /etc/hosts
>
> This will append a line to your /etc/hosts file.
>
> The "correct" fix for this is to force your DHCP client (pump, dhcpcd, or
> dhclient) NOT to set your hostname based on the suggested name provided by
> the RoadRunner DHCP server. Moreover, setting your hostname to resolve to
> 127.0.0.1 tends to occasionally break other things like mail. Unfortunately,
> then you're a DHCP client, it's something you learn to deal with.
>
> --
> - Ian C. Blenke <icblenke@nks.net>
>
> (This message bound by the following:
> http://www.nks.net/email_disclaimer.html)
>



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:56:53 EDT