[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Printer problems



James Richard Tyrer wrote:

> Art Ross wrote:
> >
> > James Richard Tyrer wrote:
> >
> > > Art Ross wrote:
> > > >
> > > > I have a RH 7.1 box that has some problems with printing.  I have a
> > > > local printer and a remote Samba printer configured that worked at one
> > > > time.  When trying to print a document a couple of days ago, I was given
> > > > an error.  Thinking that something had changed, I deleted the two
> > > > configurations and re-entered them.  When trying to print a test page, I
> > > > receive the following error;
> > > >                               Get_local_host:     Hostname "Galileo'
> > > > bad
> > > > Obviously, I have something out of wack with the hostname, but I don't
> > > > know where to proceed.
> > >
> > > What is in your file: "/etc/hosts"?
> > >
> > > JRT
> > >
> > > _______________________________________________
> > > Redhat-install-list mailing list
> > > Redhat-install-list redhat com
> > > https://listman.redhat.com/mailman/listinfo/redhat-install-list
> >
> > JRT,
> >   I don't have the hostname in the host file because I'm using DHCP to
> > receive an IP.  If this is the case should I return to the hostname as
> > localhost.localdomain rather than 'Galileo'?
>
> That would seem like a reasonable try at trouble shooting the problem.
>
> I don't know a lot about networks, but one thing is certain, if you are
> using an alias for your system, somehow something is going to need to
> know what it is and I don't think that anything looks at the "HOSTNAME"
> file except the rc scripts.
>
> JRT
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list

I did some additional checks this afternoon and came up with this.  By default, I
didn't have a /etc/hostname file.  So what I did was create one with the entry
of; 'localhost.localdomain'.  When I boot the system, lpd startup works correctly
and I'm able to print to all printers.  That problem is now solved but something
interested happens.  The hostname entry I made is overwritten, probably by the
DHCP server at the time I am assigned an IP.  I can live with this but is there a
way to communicate to the DHCP server a hostname that I chose or is this property
controlled by the Network Adminstrator?

Best Regards,
  Art





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]