system-config-printer and two networks without a bridge

George Garvey tmwg-fedorau at inxservices.com
Mon May 24 15:37:29 UTC 2004


On Mon, May 24, 2004 at 04:15:33PM +0100, Tim Waugh wrote:
> On Thu, May 20, 2004 at 06:31:26PM -0700, George Garvey wrote:
> 
> > # Lines below are automatically generated - DO NOT EDIT
> > <Location /printers/Lexmark4039L>
> > Order Deny,Allow
> > Deny From All
> > Allow From 127.0.0.1
> > AuthType None
> > Allow from 192.168.1.0/255.255.255.0
> > Allow from 192.168.2.0/255.255.255.0
> > </Location>
> > <Location />
> > Order Deny,Allow
> > Deny From All
> > Allow From 127.0.0.1
> > Allow From 192.168.2.3
> >     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > </Location>
> > Browsing On
> > BrowseProtocols cups
> > BrowseOrder Deny,Allow
> > BrowseAllow from @LOCAL
> > BrowseAddress 255.255.255.255
> > Listen *:631
> > 
> > The line marked above lets me use cups with two networks, 192.168.1.* and
> > 192.168.2.*, which are across an unbridged P2P T1, so broadcasts don't pass
> > through. (I would guess that an allow from for a network would work, too.)
> 
> I'm not sure what you're trying to do that system-config-printer
> doesn't let you.  Can you explain a bit more?
> 
> You can tell system-config-printer to get CUPS to allow computers in
> the 192.168.1.0/24 and 192.168.2.0/24 networks to use the queues.  Is
> there something more finely-tuned that you need?
> 
> Tim.
> */

   Thanks for the response.
   I know that I can give access to the queues. I did. I included the
sample for Lexmark4039L of this. Lexmark4039L is attached to a computer at
192.168.1.1. There is another server with a printer at 192.168.2.3. These 2
servers tell everyone else on the network what printers are on the network.
   But they don't know about each other's printers, because they can't hear
the broadcasts that tell the cups servers about such things. I tried making
them poll the other server. That didn't work, because they're not allowed
to talk to each other, according to cupsd.conf. If I add the line allowing
their polling, then everything is fine. But I don't know how to use
system-config-printer to do this. So any time it is run, this setup is
destroyed.
   I hope that makes sense.





More information about the fedora-list mailing list