Hi Jamie.
The only problem is that I use DHCP on an e-smith server to provide my
ip addresses, so they can change if the system has to be rebooted. I can
mount and manually print to the remote printer using smbclient, so I
know it works and is visible. The problem is that when the system boots,
lpd does not load due to an error message telling me that jim.darrough
is a bad hostname. How do I get around that?
Regards, Jim
On Sat, 2001-12-01 at 20:03, Linux Rocks ! wrote:
> yeah... if samba/whatever printing thing uses DNS, you should have your
> hostname in there too, with your ip. I dont know your network, but lets say
> you have a private net, and its the first host on it, and its a class C. You
> would have an entry something like:
> 192.168.0.0 darrough.clipper.net darrough
>
> The format is:
> Your IP address Your FQDN Hostname (or alias so you dont have to
>use the
> FQDN)
>
> The Middle one doesn actually have to be a FQDN, but it usually is in a real
> network.
>
> Jamie
>
>
> On Saturday 01 December 2001 19:52, you wrote:
> > /etc/hosts says:
> >
> > 127.0.0.1 localhost.localdomain localhost
> >
> > If the name of my computer is jim.darrough, should that show here?
> >
> > Thanks, Jim
> >
> > On Sat, 2001-12-01 at 18:38, Bob Crandell wrote:
> > > Did you change the name of your computer? Make sure your /etc/hosts file
> > > says what lpd is looking for.
> > >
> > > On 2001.12.01 16:57 Jim Darrough wrote:
> > > > Hi Guys.
> > > >
> > > > I am trying to add a remote windows printer to my newly-installed
> > > > system, but when I boot, lpd won't load, and I get an error message
> > > > like this: "2001-12-01-16:56:13.421 Get_local_host: hostname 'xxxxx'
> > > > bad"
> > > >
> > > > What did I do wrong? lpd won't load, so I can't print anything.
> > > >
> > > > Regards, Jim Darrough
>
>