Re: Printing with CUPS



Mitch Contla wrote:
Alistair Crust said the following on 11/06/2006 07:41 AM:
Hi,

To fill you in I am from Skegness Grammar School an 800+ pupil school in
Lincolnshire. We run Ubuntu Dapper as a thin client environment right
throughout the school and use it to teach ALL curriculum lessons.

Just recently we have had a few problems printing from the four LTSP
servers we have. (we don't use edubuntu due to Local Disk Access,
although in a few months we will be trying edgy on a test server. Anyway
I digress). I think the reason is that we have the four app servers
accessing the jetdirect enabled printers directly instead of on server
managing all. We also would like to allow access to certain printers
from all machines but only from staff accounts, thus:

My idea was to install a Dapper server and on it cupsys et al. Then
administer via web (from a set number of machines, e.i. My office, staff
room, anywhere the kids don't have access).

Problem is that the web interface is disabled by default.. not a problem
I hear you cry. Wrong! after enabling the / and /admin sections via the
cupsd.conf Allow directive the web site does indeed become accessible,
problem is that when trying to add a printer the web interface is asking
for an upgrade because I am not accessing it from https://. I know this
is some kind of licence issue using ssl, but I don't want to use https.
and even when I install openssl the thing still doesn't work. I have
googled and there has been a few posts relating to my problem here but
none that actually fix the problem, after trying the suggestions the
trail just goes cold.

Any help would be greatly appreciated.

Apologies for cross posting but I have had no luck so far and would
really like the school to be shown as a good example to others. If I
can't get printing to work then that kind of blows my efforts out the
water.


Add the following line to /etc/cups/cupsd.conf, and restart cupsys:

DefaultEncryption IfRequested

I tested quickly, and this seems to work, however, I have not
investigated what side effects may occur. YMMV.

If you can't get that to work here's a quick work around.
Add a port forward to your .shh/config and ssh into the box.
Then you can hit it as if you were on the other machine.
#.ssh/config#
Host PrintServer
Hostname YourServerIP
User Username4Connection
LocalForward 6310 YourServerIP:631

Then when you ssh PrintServer, open your web browser to localhost:6310
and you should be local to the remote machine.
I can't remember if the syntax is right or if I'm getting the ports
mixed up so play around with it.

Here's a guide http://linuxgazette.net/115/chirico.html

Alex


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Initial Rant
    ... This school year was a bit different than the last few years. ... With in this deal we got a new file server, ... Several windoze machines that are littered around the district ... changes was authentication of the students through the new server. ...
    (alt.sysadmin.recovery)
  • Re: Server Advice
    ... Windows Server 2003. ... The machines are probably using 802.11g unless they were bought ... the company want to move to gigabit networking and increase storage space. ... Recabling the school would also be a significant cost. ...
    (uk.comp.homebuilt)
  • Re: Win 2003 DHCP Problem
    ... > We are at the beginning of converting our school system from Netware ... > 6 with servers in every building to centralized 2003 server forest. ... > machines will hold for a day other times only for about 15 Minutes. ... > This problem is not happening in the other 2 buildings and is not ...
    (microsoft.public.windows.server.dns)
  • Re: Printing with CUPS
    ... We run Ubuntu Dapper as a thin client environment right ... throughout the school and use it to teach ALL curriculum lessons. ... although in a few months we will be trying edgy on a test server. ... We also would like to allow access to certain printers ...
    (Ubuntu)
  • Re: Printing with CUPS
    ... To fill you in I am from Skegness Grammar School an 800+ pupil school in ... We run Ubuntu Dapper as a thin client environment right ... although in a few months we will be trying edgy on a test server. ... Problem is that the web interface is disabled by default.. ...
    (Ubuntu)