To access IPP-over-USB printer: Emulate remote machine in the network
Till Kamppeter
till.kamppeter at gmail.com
Wed Feb 22 02:02:57 UTC 2017
On 01/21/2017 09:56 AM, TJ wrote:
> On 16/01/17 18:05, Till Kamppeter wrote:
>> In the beginning I used localhost:60000 which makes polling capabilities
>> and status, printing, and web interface work, but the printer could not
>> be Avahi-broadcasted and so CUPS and cups-browsed could not discover it.
>>
> Possibly not the ideal solution but did you test whether using
> avahi-daemon.conf's "deny-interfaces=" with a single interface name that
> it is safe to ignore (a throw-away dummy interface) would work?
>
> I ask because the man-page for avahi-daemon.conf seems to imply that the
> interface default action is to ignore 'lo' and any point-to-point
> interfaces, but if using "deny-interfaces=" without any
> "allow-interfaces=" it will use all interfaces not specified - which
> implies that it would then use 'lo'. E.g:
>
> # allow-interfaces=
> deny-interfaces=dummy0
> # implication is that 'lo' will be used
>
> If the functionality is only required for the localhost's CUPS service
> this might be sufficient.
>
>
>
I doubt that this will actually work. The loopback interface "lo" is not
multicast-capable whereas the Avahi/DNS-SD broadcasting works only with
multicast interfaces.
Did you already try something like that? Were you actually able to do
DNS-SD broadcasts on "lo"?
Till
More information about the ubuntu-devel
mailing list