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

Re: Can't print after CUPS update this morning?



On Thu, May 18, 2006 at 09:53:24PM +0300, Lauri wrote:

I also got the problem, caused from invalid netmask value in cupsd.conf.

In:

# Lines below are automatically generated - DO NOT EDIT
<Location /printers/psc750>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow from 192.168.1.1/255.255.255.0
AuthType None
</Location>

I had to remove the 255.255.255.0.

The reason CUPS is rejecting this is that the correct network address
is:

  192.168.1.0/255.255.255.0
and not
  192.168.1.1/255.255.255.0

But why it's incorrect? It should be correct.


CUPS-1.1.x would correct this for you, but CUPS-1.2 no longer does.
But this line in cupsd.conf gets written by system-config-printer (it
copies what you enter in the 'Sharing' dialog).

If you run, as root:

/usr/sbin/printconf-backend --force-rebuild
/sbin/service cups restart

you will probably find that the incorrect network address is back
again.

No, It's not back.


To test out the correct fix, please fetch these packages:

http://people.redhat.com/twaugh/tmp/cups-fc5/i386/system-config-printer-0.6.151.7-1.i386.rpm
http://people.redhat.com/twaugh/tmp/cups-fc5/i386/system-config-printer-gui-0.6.151.7-1.i386.rpm

and install them with 'rpm -Fvh system-config-printer*-0.6.151.7-1*'.
Then restart cups: '/sbin/service cups restart'

and things should work fine.  Let me know whether this works for you!

This works, thanks.

Lauri



Thanks,
Tim.
*/



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