Red Hat Bugzilla – Bug 187703
Unable to share printer in FC5
Last modified: 2007-11-30 17:11:29 EST
Description of problem:
Installed FC5, and setup printer for printing. Printer is able to print locally.
Started system-config-printer to try and get printer to share:
Got error message
No match for USB device:
model "HL-1850_1870N series"
Please report this message in Bugzilla:
Choose 'foomatic' as the component.
Clicked on printer, clicked on sharing
Clicked on "This queue is available to other computers"
Clicked OK [Closed network window]
Clicked OK [Closed share window]
Clicked OK [ Closed "Edit a print quueue"]
Checked netstat -natp
Saw that cups was still listening on localhost only.
Checked /etc/cups/ file and saw that nothing was there that I had put in.
Restarted tool, repeated steps
Redid the changes and put in /24 instead. Saw this get changed to 255.255.255.0
Cups began listening on all networks.
There are two unrelated issues here:
1. That sharing a queue did not work, and
2. That your printer is not automatically detected
This is number 1.
Yeah, it looks like the CUPS "Allow from @IF(ifname)" doesn't quite work right
in FC5. I kept getting a "403 Permission Denied" when configured that way. As
soon as I changed the configuration from Interface to IP Address, it worked great.
Derek, the original description didn't mention '@IF(ifname)' -- perhaps you are
seeing a separate bug?
Anyway, please attach the /etc/cups/cupsd.conf that exhibits the problem, and
tell me how to see the '403 Permission Denied' error. Thanks.
Created attachment 130675 [details]
cupsd configuration that causes 403 errors
Yeah, it could be a separate bug, but it sounded similar -- especially the fact
that changing to a network/netmask solved the problem for me.
As for how to see the 403 Permission Denied error, just try to access
http://<cupsd-ip>:631/printers/printer from a host on 'vmnet8' or 'vmnet1' and
you'll see it. Accessing /printers works fine... But then when you click on
"printer" it gives you a 403.
(If you can't tell, this was an attempt to get my vmware guest system to print
using my linux-host cups configuration.. and it was working just fine in FC3
until I updated my machine the other day).
Reported upstream (with fix):
Please try this test update:
You should be able to try this out using this command, as root:
yum --enablerepo=updates-testing update 'cups*'
Anyway, works here.
Oops, sorry, forgot to respond to this. Yes, I updated and yes this fixed it.