auto-discover of network printers relies on ip6?

Helge Blischke h.blischke at acm.org
Sat Apr 21 14:02:55 PDT 2012


willie wrote:

> 
> willie wrote:
>>
>> >
>> > Hi,
>> >
>> > Sorry for the delay.
>> >
>> > There's a lot of this - /var/log/cups/error_log with debugging turned
>> > on
> 
> 
>     < snipped big log file >
> 
> 
> Helge wrote:
>>
>> The 1.5.2 SNMP backend, if compiled with IPV6 support, exits with return
>> code 1 if IPV6 is disabled as you did. Thus, under these circumstances,
>> no printers are autodiscovered by SNMP.
>>
> 
> 
> Many thanks for this Helge.
> 
> I saw the "snmp stopped with status 1" message but didn't associate it
> with missing ipv6 kernel support - especially after Michael's earlier
> comment about life continuing within cupsd without ipv6.
> 
> I'm not trying to do anything exotic here and I'll be very surprised if no
> one else out there is using cups without an ip6 stack, but your reply
> above "...under these circumstances..." suggests the title of this thread
> is in fact correct. If so, what are my options - try to compile my own
> cups software without ipv6 support? Will that allow a machine to discover
> network printers with just ipv4?
> 
> Thanks again.

Yes, I'd download the sources (of just the cups version you are using) and 
building without IPV6 support, but do not install is as usual, only replace 
the current snmp backend with the compiled one.
Do not hesitate to aks again whenever you need help.

Helge





More information about the cups mailing list