F9 - LTSP5 and CUPS Printer Configuration

Barry R Cisna brcisna at eazylivin.net
Mon Dec 8 20:34:50 UTC 2008


Hi Mike,

You didn't mention if this is a printer you have plugged into a TC via a
usb cable? If this is the case ( unless the new jetpipe piece in ltsp5
treats usb printers differently), you will need to add a config into the
lts.conf file for this printer> to the client.
Your lts.conf should have an entry that looks something like the
following:
[ws006]
     PRINTER_0_DEVICE = /dev/usb/lp0
     PRINTER_0_TYPE   = u

Try this, reboot the TC go into the cups GUI and see if you are seeing a
'green' printer now?
Also from the server after rebooting the tc try and :
telnet <TCipaddress> 9100
See if you get a response.
See what you get with this.

Take Care,
Barry Cisna
    



On Mon, 2008-12-08 at 11:48 -0500, M Rathburn wrote:
> I've installed Fedora 9 basic install, followed by a 'yum update' of the
> system, followed by a 'yum install ltsp-server'.   Pretty straightforward
> installation following instructions in the Wiki.  LTSP working spectacularly
> via PXE TC's.
> 
> The server environment has two NIC's, eth0 faces the terminals, eth1 faces
> the 'internet'.  ltspbr0 is bridged to eth0, of course.  All is working well
> as far as TC connections and internet browsing from those connections.
> 
> I give that detail information because I'm having a CUPS printer
> configuration issue, and I'm thinking it may be a networking problem (?).
> 
> >From the console Gnome login, I run System -> Administration -> Printing,
> which runs the system-config-printer v0.7.82.5 program.  If I choose the Add
> Printer icon, it says 'Searching Printers', and that's it.  It just hangs
> there until infinity (or at least I assume infinity - haven't actually
> waited that long).
> 
> I swapped over to browsing to the CUPS manager via htt://localhost:631 from
> a root GUI console login.  Connect to CUPS, then choose Add Printer, punch
> in the Printer Name, Location, Description, choose Continue, and again it
> just hangs to infinity and beyond.
> 
> So I'm stumped!  This is tech support yelling "I can't print!".  Has anyone
> else seen this issue on a stock install? and what did you do to alleviate
> the issue?  My error_log is appended below.  As you can see it just kinda
> -stops-.  The printer that I'm attempting to install is a standard TCP/IP
> network printer located at 192.168.1.150 port 9100, and as you can see in
> the log below CUPS is seeing it.
> 
> Also I'd like to avoid CLI setup of printers.  That's why we use LTSP,
> right?
> 
> Thanks.
> 
> -Mike Rathburn
>  Children First Florida
> 
> ****error_log*****
> I [08/Dec/2008:11:26:27 -0500] Listening to 127.0.0.1:631 (IPv4)
> I [08/Dec/2008:11:26:27 -0500] Listening to /var/run/cups/cups.sock (Domain)
> I [08/Dec/2008:11:26:27 -0500] Loaded configuration file
> "/etc/cups/cupsd.conf"
> I [08/Dec/2008:11:26:27 -0500] Using default TempDir of
> /var/spool/cups/tmp...
> I [08/Dec/2008:11:26:27 -0500] Configured for up to 100 clients.
> I [08/Dec/2008:11:26:27 -0500] Allowing up to 100 client connections per
> host.
> I [08/Dec/2008:11:26:27 -0500] Using policy "default" as the default!
> I [08/Dec/2008:11:26:27 -0500] Full reload is required.
> I [08/Dec/2008:11:26:27 -0500] Loaded MIME database from '/etc/cups': 35
> types, 38 filters...
> D [08/Dec/2008:11:26:27 -0500] Loading printer Cups-PDF...
> D [08/Dec/2008:11:26:27 -0500] Loading printer LaserJet...
> I [08/Dec/2008:11:26:27 -0500] Loading job cache file
> "/var/cache/cups/job.cache"...
> I [08/Dec/2008:11:26:27 -0500] Full reload complete.
> I [08/Dec/2008:11:26:27 -0500] Cleaning out old temporary files in
> "/var/spool/cups/tmp"...
> I [08/Dec/2008:11:26:27 -0500] Listening to 127.0.0.1:631 on fd 4...
> I [08/Dec/2008:11:26:27 -0500] Listening to /var/run/cups/cups.sock on fd
> 5...
> I [08/Dec/2008:11:26:27 -0500] Resuming new connection processing...
> D [08/Dec/2008:11:26:27 -0500] Discarding unused server-started event...
> D [08/Dec/2008:11:26:28 -0500] Report: clients=0
> D [08/Dec/2008:11:26:28 -0500] Report: jobs=0
> D [08/Dec/2008:11:26:28 -0500] Report: jobs-active=0
> D [08/Dec/2008:11:26:28 -0500] Report: printers=2
> D [08/Dec/2008:11:26:28 -0500] Report: printers-implicit=0
> D [08/Dec/2008:11:26:28 -0500] Report: stringpool-string-count=396
> D [08/Dec/2008:11:26:28 -0500] Report: stringpool-alloc-bytes=7696
> D [08/Dec/2008:11:26:28 -0500] Report: stringpool-total-bytes=7736
> D [08/Dec/2008:11:27:53 -0500] cupsdReadClient: 9 GET /admin?OP=add-printer
> HTTP/1.1
> D [08/Dec/2008:11:27:53 -0500] cupsdAuthorize: No authentication data
> provided.
> D [08/Dec/2008:11:27:53 -0500] [CGI] /usr/lib/cups/cgi-bin/admin.cgi started
> - PID = 26739
> I [08/Dec/2008:11:27:53 -0500] Started "/usr/lib/cups/cgi-bin/admin.cgi"
> (pid=26739)
> D [08/Dec/2008:11:27:53 -0500] cupsdSendCommand: 9 file=10
> D [08/Dec/2008:11:27:53 -0500] [CGI] admin.cgi started...
> D [08/Dec/2008:11:27:53 -0500] cupsdAcceptClient: skipping getpeercon()
> D [08/Dec/2008:11:27:53 -0500] cupsdAcceptClient: 12 from localhost (Domain)
> D [08/Dec/2008:11:27:53 -0500] [CGI] http=0xb898c518
> D [08/Dec/2008:11:27:53 -0500] [CGI] op="add-printer"...
> D [08/Dec/2008:11:27:53 -0500] [CGI] do_am_printer: DEVICE_URI="(null)"
> D [08/Dec/2008:11:27:53 -0500] [CGI] lang="en_US.UTF8", locale="/en_US"...
> D [08/Dec/2008:11:27:53 -0500] [CGI] lang="en_US.UTF8", locale="/en_US"...
> D [08/Dec/2008:11:27:53 -0500] [CGI] lang="en_US.UTF8", locale="/en_US"...
> D [08/Dec/2008:11:27:53 -0500] cupsdCloseClient: 12
> D [08/Dec/2008:11:27:53 -0500] PID 26739 (/usr/lib/cups/cgi-bin/admin.cgi)
> exited with no errors.
> D [08/Dec/2008:11:28:07 -0500] cupsdReadClient: 9 POST /admin HTTP/1.1
> D [08/Dec/2008:11:28:07 -0500] cupsdAuthorize: No authentication data
> provided.
> D [08/Dec/2008:11:28:07 -0500] [CGI] /usr/lib/cups/cgi-bin/admin.cgi started
> - PID = 26740
> I [08/Dec/2008:11:28:07 -0500] Started "/usr/lib/cups/cgi-bin/admin.cgi"
> (pid=26740)
> D [08/Dec/2008:11:28:07 -0500] cupsdSendCommand: 9 file=12
> D [08/Dec/2008:11:28:07 -0500] [CGI] admin.cgi started...
> D [08/Dec/2008:11:28:07 -0500] cupsdAcceptClient: skipping getpeercon()
> D [08/Dec/2008:11:28:07 -0500] cupsdAcceptClient: 10 from localhost (Domain)
> D [08/Dec/2008:11:28:07 -0500] [CGI] http=0xb9fc4518
> D [08/Dec/2008:11:28:07 -0500] [CGI] op="add-printer"...
> D [08/Dec/2008:11:28:07 -0500] [CGI] do_am_printer: DEVICE_URI="(null)"
> D [08/Dec/2008:11:28:07 -0500] [CGI] Getting list of devices...
> D [08/Dec/2008:11:28:07 -0500] cupsdReadClient: 10 POST / HTTP/1.1
> D [08/Dec/2008:11:28:07 -0500] cupsdAuthorize: No authentication data
> provided.
> D [08/Dec/2008:11:28:07 -0500] CUPS-Get-Devices ipp://localhost/printers/
> D [08/Dec/2008:11:28:07 -0500] [CGI] /usr/lib/cups/daemon/cups-deviced
> started - PID = 26741
> I [08/Dec/2008:11:28:07 -0500] Started "/usr/lib/cups/daemon/cups-deviced"
> (pid=26741)
> D [08/Dec/2008:11:28:07 -0500] cupsdSendCommand: 10 file=13
> D [08/Dec/2008:11:28:07 -0500] [cups-deviced] Added device
> "serial:/dev/ttyS0?baud=115200"...
> D [08/Dec/2008:11:28:07 -0500] [cups-deviced] Added device "cups-pdf:/"...
> D [08/Dec/2008:11:28:07 -0500] [cups-deviced] Added device "hal"...
> D [08/Dec/2008:11:28:07 -0500] [cups-deviced] Added device "smb"...
> D [08/Dec/2008:11:28:07 -0500] [cups-deviced] Added device "scsi"...
> D [08/Dec/2008:11:28:07 -0500] [cups-deviced] Added device "lpd"...
> D [08/Dec/2008:11:28:07 -0500] [cups-deviced] Added device "hp"...
> D [08/Dec/2008:11:28:08 -0500] [cups-deviced] Added device
> "socket://192.168.1.150"...
> D [08/Dec/2008:11:28:08 -0500] [cups-deviced] Added device
> "socket://192.168.1.152"...
> D [08/Dec/2008:11:28:09 -0500] [cups-deviced] Added device "hpfax"...
> D [08/Dec/2008:11:28:09 -0500] [cups-deviced] Added device "beh"...
> D [08/Dec/2008:11:28:09 -0500] [cups-deviced] Added device "socket"...
> D [08/Dec/2008:11:28:09 -0500] [cups-deviced] Added device "ipp"...
> ******************
> 
> _______________________________________________
> K12Linux-devel-list mailing list
> K12Linux-devel-list at redhat.com
> https://www.redhat.com/mailman/listinfo/k12linux-devel-list




More information about the K12Linux-devel-list mailing list