Eckhard,

Ok, i've found the problem.  It's a bug in the rc.sysinit script of
LTSP-4.1.

If you edit the /opt/ltsp/i386/etc/rc.sysinit script, look around
line 167.

You should see lines like this:

     TYPE_0=${PRINTER_1_TYPE}
     TYPE_1=${PRINTER_2_TYPE}
     TYPE_2=${PRINTER_3_TYPE}

The printer numbers are off by 1.

They should look like this:

    TYPE_0=${PRINTER_0_TYPE}
    TYPE_1=${PRINTER_1_TYPE}
    TYPE_2=${PRINTER_2_TYPE}


If you make that change, the script will know that your PRINTER_0 is
parallel, and it should then automatically load the "lp" module, if it's
not already loaded.

Give that a try, and let me know how it works.  If it fixes the problem,
i'll apply a patch to the next update of rc.sysinit.

Thanks,
Jim McQuillan
[EMAIL PROTECTED]




On Tue, 28 Sep 2004, Eckhard Jokisch wrote:

> > Eckhard,
> >
> > The kernel you are using is indeed the latest for LTSP-4.1
> >
> > So, I'd like to see your lts.conf file, to see how you are specifying
> > your printers.
> [Default]
>         SERVER             = 192.168.100.1
>         XSERVER            = auto
>         DNS_SERVER = 192.168.100.2
>         SEARCH_DOMAIN = zeggnet.de
>         X_MOUSE_PROTOCOL   = "PS/2"
>         X_MOUSE_DEVICE     = "/dev/psaux"
>         X_MOUSE_RESOLUTION = 400
>         X_MOUSE_BUTTONS    = 3
>         XkbLayout       = "de"
>         USE_XFS            = Y
>         LOCAL_APPS         = N
>         RUNLEVEL           = 5
>         RAMDISK_SIZE    = 2048
>         RCFILE_01          = floppyd
>         RCFILE_02       = lp
>         SCREEN_01       = startx
> ....................
> [192.168.100.50]
>         XkbLayout = "de"
>         USE_NFS_SWAP    = N
>         PRINTER_0_DEVICE = /dev/lp0
>         PRINTER_0_TYPE  = P
>         PRINTER_0_PORT  = 9100
>         PRINTER_0_WRITE_ONLY = Y
> .....................................................................
>
> >
> > And, do you know for sure that the workstation knows its own hostname ?
> >
> > If it doesn't, then it may be missing entries in the lts.conf file.
> It doesn't know it's hostname. As you see I use IP-adresses in lts.conf. The
> name resolution never worked here - maybe because DHCP and DNS run on a
> different server then ltsp.
>
> Meanwhile I found a workaround that made my customers a little bit
> happier .. .
> I just put an "RCFILE_02= lp"  in which says "modprobe lp" and now the local
> printers work again. But it feels like that is not the way it should be.
>
>
> Eckhard Jokisch
> AKA jokey
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> _____________________________________________________________________
> Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
>       https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help,   try #ltsp channel on irc.freenode.net
>


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to