ich habe 2 Probleme mit Cups:
1. Ich kann das Cups UI von anderen PCs im Netzwerk nicht erreichen, obwohl ich das gesammte Netz als Allow in der cupsd.conf eingestellt habe. Es erscheint allerdings trotzdem immer 403 forbidden. Per Lynx auf localhost, funktioniert die Seite einwandfrei. Hier meine cupsd.conf:
Code: Alles auswählen
#
#
# Sample configuration file for the Common UNIX Printing System (CUPS)
# scheduler. See "man cupsd.conf" for a complete description of this
# file.
#
# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel warning
DefaultEncryption IfRequested
# Administrator user group...
SystemGroup lpadmin
# Only listen for connections from the local machine.
Listen 631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow @LOCAL
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Restrict access to the server...
<Location />
Order allow,deny
Deny From All
Allow From All
Allow 192.168.178.*
Allow localhost
</Location>
# Restrict access to the admin pages...
<Location /admin>
# Encryption Required
Order allow,deny
Deny From All
Allow 192.168.178.*
Allow localhost
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Basic
Require user @SYSTEM
Order allow,deny
Allow localhost
Allow 192.168.178.*
</Location>
# Set the default printer/job policies...
<Policy default>
# Job-related operations must be done by the owner or an adminstrator...
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscrip
tion Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an adminstrator to authenticate...
<Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-Ne
w-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-P
rinter CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
AuthType Basic
Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
#
#
#
# Printcap: the name of the printcap file. Default is /etc/printcap.
# Leave blank to disable printcap file generation.
#
Printcap /var/run/cups/printcap
#
# PrintcapFormat: the format of the printcap file, currently either
# BSD or Solaris. The default is "BSD".
#
#PrintcapFormat BSD
#PrintcapFormat Solaris
#
# PrintcapGUI: the name of the GUI options panel program to associate
# with print queues under IRIX. The default is "/usr/bin/glpoptions"
# from ESP Print Pro.
#
# This option is only used under IRIX; the options panel program
# must accept the "-d printer" and "-o options" options and write
# the selected printer options back to stdout on completion.
#
#PrintcapGUI /usr/bin/glpoptions
2. Als ich meinen HP Office Jet G85 an USB angeschlossen habe und dannach das WebUI in Lynx aufgerufen habe, wurde der Drucker einwandfrei erkannt und ich konnte ihn sofort hinzufügen. Als Treiber habe ich den "HP OfficeJet G85 Foomatic/hpijs (recommended) - HPLIP 1.6.10" ausgewählt.
Wenn ich nun aber versuche eine Testpage auszudrucken, kommt der Auftrag zwar in die Warteschlange, aber es wird nichts gedruckt. Wenn ich nun die Jobs aufrufe, steht dort:
Code: Alles auswählen
HP_OfficeJet_G85_USB_1-1 Test Page root 18k Unknown processing since
Fri Mar 20 19:49:38 2009 Reprint Job Cancel Job Move Job
HP_OfficeJet_G85_USB_1-2 Test Page guest 18k Unknown pending since
Fri Mar 20 19:27:23 2009 Reprint Job Hold Job Cancel Job Move Job
HP_OfficeJet_G85_USB_1-3 fstab root 1k Unknown pending since
Fri Mar 20 19:37:36 2009 Reprint Job Hold Job Cancel Job Move Job
HP_OfficeJet_G85_USB_1-4 Test Page guest 18k Unknown pending since
Fri Mar 20 19:51:34 2009 Reprint Job Hold Job Cancel Job Move Job
Code: Alles auswählen
E [20/Mar/2009:19:09:49 +0100] CUPS-Add-Modify-Printer: Unauthorized
E [20/Mar/2009:19:09:59 +0100] CUPS-Add-Modify-Printer: Unauthorized
E [20/Mar/2009:19:28:46 +0100] CUPS-Reject-Jobs: Unauthorized
E [20/Mar/2009:19:28:54 +0100] CUPS-Reject-Jobs: Unauthorized
E [20/Mar/2009:19:29:07 +0100] CUPS-Accept-Jobs: Unauthorized
E [20/Mar/2009:19:29:20 +0100] CUPS-Set-Default: Unauthorized
Ich werd daraus nicht schlau, wieso ist root unauthorized ???
Wär nett, wenn mir jemand bei den Problemen helfen könnte...
Grüße,
niciuda