advertise printers with the good ip

Bernd Krumböck b.krumboeck at rewe-group.at
Sun Dec 10 10:57:51 PST 2006


Hello Sebastien!

>>
>> Sorry, I don't exactly understand what you mean.
> 
> I'm not sure what "BrowseAllow from @LOCAL" means. The ref page says
> "The @LOCAL name will allow browse data from all local interfaces."
> I guess it means that cupsd will listen at browse data on the l0
> interface. Am I right ?

@LOCAL is a replacement for all subnets which are directly connected to your
computer.

example:
Your computer has 2 interfaces:
eth0    192.168.1.23/255.255.255.0
eth1    10.0.0.140/255.0.0.0

---- for this example ----
BrowseAllow @LOCAL
is equal to
BrowseAllow 192.168.1.23/24
BrowseAllow 10.0.0.140/8
--------------------------

> 
> If so, as it is the only BrowseAllow directive in my client cupsd.conf, I
> don't understand how it can find the server's printer whose broadcasting
> arrives on eth0.
> 

Your CUPS daemon allows broadcasts on eth0 (@LOCAL). Look into your cups
error_log file during start of cupsd (LogLevel should be at least info).


best regards!
Bernd




More information about the cups mailing list