auto-discover of network printers relies on ip6?

willie tumbleweed at fast-mail.org
Fri Apr 6 05:17:30 PDT 2012


Still struggling with this. /etc/cups/snmp.conf contains only:

   Address @LOCAL
   Community public

which should be fine according to your man page, but I also had a play using my broadcast address and @IF with no luck.


The error log on starting the daemon suggests ip6 is required:

   E [06/Apr/2012:13:00:19 +0100] Unable to open listen socket for address
   [v1.::1]:631 - Address family not supported by protocol.

and when I run either "Add Printer" or "Find New Printers":

   E [06/Apr/2012:13:14:02 +0100] [cups-deviced] PID 18463 (snmp) stopped with
   status 1!


Any ideas?

Happy Easter.



> Willie,
>
> I'd check your /etc/cups/snmp.conf file to see what it there (it *should* be using @LOCAL for the address, which automatically uses the right broadcast addresses).
>
>
> On Apr 3, 2012, at 6:32 AM, willie <tumbleweed at fast-mail.org> wrote:
>
> >
> > Thanks again.
> >
> > /usr/lib/cups/backend/snmp @LOCAL
> >
> > returns:
> >
> > network lpd://leda/BINARY_P1 "Brother HL-5250DN series" "Brother HL-5250DN series" "MFG:Brother;CMD:PJL,PCL,PCLXL,POSTSCRIPT;MDL:HL-5250DN series;CLS:PRINTER;" ""
> >
> > ..which looks ok to my cups-novice eyes. Do you think this is an issue with my configs (as I do, suspecting many others would have been here before and said something's wrong) or do we have a bug?
> >
> > Tonight I'll try someone else's machine here running a different distro.
> > Willing to try anything else on your advice.
> >
> >
> >
> >
> >
> >> Hmm, not sure why this is having trouble then...  Do you see any errors if you run:
> >>
> >> 	/usr/lib/cups/backend/snmp @LOCAL
> >>
> >> On Mar 26, 2012, at 4:24 PM, willie wrote:
> >>
> >>>
> >>> I hadn't even thought of looking at the printer config, but no:
> >>>
> >>> TCP/IP        Enabled
> >>> IPv6        Disabled
> >>> SMTP          Disabled
> >>> NETBIOS/IP    Enabled
> >>> IPP           Enabled
> >>> FTP           Enabled
> >>> mDNS          Disabled
> >>> APIPA         Disabled
> >>> SNMP          Enabled
> >>> Web Server    Enabled
> >>> TELNET        Enabled
> >>>
> >>>
> >>>
> >>>
> >>>> Is the Brother printer configured to only support IPv6?
> >>>>
> >>>> On Mar 24, 2012, at 2:11 PM, willie <tumbleweed at fast-mail.org> wrote:
> >>>>
> >>>>>
> >>>>> Hello folks,
> >>>>>
> >>>>> I wouldn't know if this is a bug or not but I'd sure like to understand what's happening.
> >>>>>
> >>>>> I'm running linux 3.2.12/cups 1.5.2.
> >>>>>
> >>>>> Since disabling the ip6 stack with kernel argument "ipv6.disable=1", cups fails to discover network printers on the cups server web page (localhost:631). If I remove that kernel line parameter and reinstate ip6, all is well again.
> >>>>>
> >>>>> I've failed to find any info out there to suggest that cups *depends* on ipv6.
> >>>>>
> >>>>> I use static IP addressing and the problem occurs with both wired and wireless networking.
> >>>>>
> >>>>> (If it's relevant, one printer that's no longer discovered without an ipv6 stack is a Brother HL-5250dn.)
> >>>>>
> >>>>> Can anyone help?
> >>>>>
> >>>>> Thanks.
> >>>>> _______________________________________________
> >>>>> cups mailing list
> >>>>> cups at easysw.com
> >>>>> http://lists.easysw.com/mailman/listinfo/cups
> >>>>
> >>>> __________________________________________________
> >>>> Michael Sweet, Senior Printing System Engineer, PWG Chair
> >>>>
> >>>
> >>> _______________________________________________
> >>> cups mailing list
> >>> cups at easysw.com
> >>> http://lists.easysw.com/mailman/listinfo/cups
> >>
> >> ________________________________________________________________________
> >> Michael Sweet, Senior Printing System Engineer, PWG Chair
> >>
> >
> > _______________________________________________
> > cups mailing list
> > cups at easysw.com
> > http://lists.easysw.com/mailman/listinfo/cups
>
> __________________________________________________
> Michael Sweet, Senior Printing System Engineer, PWG Chair
>





More information about the cups mailing list