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

Bug#791995: debian-edu-config: should provide /etc/cups/client.conf to fix network printing on clients (was: debian-edu: task desktop-other should contain libdns-mdns as a Depends to fix printer setup on clients)



Hi Wolfgang, hi all,

I only now saw below instructions. Nice!!!

On  Mo 13 Jul 2015 11:07:18 CEST, Wolfgang Schweer wrote:

On Sun, Jul 12, 2015 at 01:31:01PM +0200, Wolfgang Schweer wrote:
On Sun, Jul 12, 2015 at 12:58:14PM +0200, Wolfgang Schweer wrote:
>
> Sad to tell that it is different on a stock combi server: automatic
> setup isn't available.
>
> But adding /opt/ltsp/i386/etc/cups/client.conf containing one line:
>
> ServerName tjener
>
> is enough to fix it. I don't know why it differs from a manually
> installed LTSP chroot and I don't have the time to figure it out.
>
> About to install a clean jessie workstation. Might be that adding
> /etc/cups/client.conf will be sufficient there as well.

It is.

On IRC sunweaver pointed out that the existence of /etc/cups/client.conf
would break setting up locally attached printers (via locally running
cups). While this is true in general, there's a way to have local
printer(s) (attached to real workstations) configured centrally on
tjener. To get this working install the package p910nd on the
workstation and configure it, see man p910nd. (For a USB printer you
would set P910ND_OPTS="-f /dev/usb/lp0" and P910ND_START=1 in
/etc/default/p910nd.) Then you can set up this printer on tjener as
AppSocket/HP Jetdirect printer using 'socket://<workstation-ip>:9100' as
URI. For diskless workstations a similar app socket tool is available by
default, see the jessie manual how to set up printers attached to LTSP
clients.

Wolfgang

The question now remains: shall we simply ship /etc/cups/client.conf as package file in debian-edu-config or treat/create-if-not-there that file with cfengine.

Suggestions welcome.

Mike
--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

Attachment: pgpcL7AxyfCva.pgp
Description: Digitale PGP-Signatur


Reply to: