[K12OSN] lp_server not running

Jim McQuillan jam at mcquil.com
Thu Sep 29 13:38:35 UTC 2005


John,

I'm assuming that the terminal you are setting up is the one with the
MAC address of  '00:48:54:67:3a:64'

Did you know that you have 2 sections for that terminal in the lts.conf
file?

I think that is supposed to work, but i've never tried it.  I suppose
that could cause a problem.

Also, what version of LTSP/K12ltsp are you using?

There was a bug in the printer stuff that was fixed in LTSP-4.1.

The problem was it was looking for 'PRINTER_1_TYPE' instead of
'PRINTER_0_TYPE' for the first printer.  The PRINTER_0_DEVICE was still
ok, it was only the TYPE that was looking for '1'.  So, in that case,
the quick answer was to set the following:

     PRINTER_1_TYPE   = P
     PRINTER_0_DEVICE = /dev/lp0


Since either 4.1 or 4.1.1, this is no longer a problem.

Take a look at /opt/ltsp/i386/etc/rc.sysinit.  Search for
'PRINTER_1_TYPE', and see if it is looking for 1, 2, 3, or 0, 1, 2
for the printer types.  The correct script is looking for 0, 1, 2.

Jim McQuillan
jam at Ltsp.org



On Thu, 29 Sep 2005 jconlon1 at elp.rr.com wrote:

> Jim,
> I have attached the lts.conf file.
>
> Before I switched the order of the lines around I got no response on the
> terminal when I typed lp_server at the bash prompt.
> Pat
>
> ----- Original Message -----
> From: Jim McQuillan <jam at mcquil.com>
> Date: Wednesday, September 28, 2005 2:39 pm
> Subject: Re: [K12OSN] lp_server not running
>
> > John,
> >
> > The order of the lines in lts.conf shouldn't make any difference.
> >
> > Can you send me a copy of your lts.conf file?
> >
> > Jim McQuillan
> > jam at Ltsp.org
> >
> >
> >
> > On Wed, 28 Sep 2005 jconlon1 at elp.rr.com wrote:
> >
> > > I have done the things the wiki says to do in setting this up in
> > both> the lts.conf and assigned a fixed IP in the dhcpd.conf files.
> > >
> > > I did find that the order in which the enteries are made in the
> > lts.conf> file is important.  I switched those lines around an at
> > the bash prompt
> > > on the terminal I typed ps -elf and the list of files did not have
> > > lp_server in it.  I typed lp_server and got the following error
> > message:>
> > > parport 0: PC-style at 0x378 [PCSPP(,...)] lp_server pid [233]
> > open of
> > > /dev/lp failed - no such file or directory
> > >
> > > What do I need to do to fix this?
> > > Pat
> > >
> > > ----- Original Message -----
> > > From: Petre Scheie <petre at maltzen.net>
> > > Date: Wednesday, September 28, 2005 7:28 am
> > > Subject: Re: [K12OSN] lp_server not running
> > >
> > > > Is there a way to see what processes a client is running after
> > it's> > all booted up?
> > > > Opening a terminal and running 'ps -ef' will tell you what's
> > > > happening on the server.
> > > > But I was looking for a way for Pat to verify that lp_server is
> > > > indeed running on the
> > > > client.
> > > >
> > > > Jim McQuillan wrote:
> > > > > jconlon1,
> > > > >
> > > > > lp_server runs on the client, NOT on the server.
> > > > >
> > > > > To get it running on the client, you just need to add some
> > > > entries to
> > > > > your lts.conf file, to define your local printer.
> > > > >
> > > > > Take a look at this wiki article:
> > > > >
> > > > >    http://wiki.ltsp.org/twiki/bin/view/Ltsp/Printers
> > > > >
> > > > > Jim McQuillan
> > > > > jam at Ltsp.org
> > > > >
> > > > >
> > > > >
> > > > > On Wed, 28 Sep 2005 jconlon1 at elp.rr.com wrote:
> > > > >
> > > > >
> > > > >>I am running FC-4.4.0 k12ltsp.
> > > > >>lp_server is not running so I can't get a terminal to act
> > like a
> > > > >>jetdirect device for an HP parallel port printer.
> > > > >>
> > > > >>How do I get lp_server to run?
> > > > >>
> > > > >>_______________________________________________
> > > > >>K12OSN mailing list
> > > > >>K12OSN at redhat.com
> > > > >>https://www.redhat.com/mailman/listinfo/k12osn
> > > > >>For more info see <http://www.k12os.org>
> > > > >>
> > > > >
> > > > > _______________________________________________
> > > > > K12OSN mailing list
> > > > > K12OSN at redhat.com
> > > > > https://www.redhat.com/mailman/listinfo/k12osn
> > > > > For more info see <http://www.k12os.org>
> > > > >
> > > >
> > > > _______________________________________________
> > > > K12OSN mailing list
> > > > K12OSN at redhat.com
> > > > https://www.redhat.com/mailman/listinfo/k12osn
> > > > For more info see <http://www.k12os.org>
> > > >
> > >
> > > _______________________________________________
> > > K12OSN mailing list
> > > K12OSN at redhat.com
> > > https://www.redhat.com/mailman/listinfo/k12osn
> > > For more info see <http://www.k12os.org>
> > >
> >
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN at redhat.com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
> >
>




More information about the K12OSN mailing list