Odi's astoundingly incomplete notes
New entries | Codecups-1.6 printer sharing
Gentoo has updated CUPS to version 1.6. If you run a print server you must configure zeroconf correctly, or your clients won't see any remote printers:
The clients need working MDNS too:
and change /etc/nsswitch.conf:
and should run cups-browsed with this config:
/etc/portage/package.use:
net-print/cups dbus zeroconf net-dns/avahi dbus mdnsresponder-compatAnd allow DNS-SD through iptables:
[0:0] -A INPUT -p udp -m udp --dport 5353 -j ACCEPTAlso configure the CUPS browsing protocol:
/etc/cups/cups-browsed.conf
:
BrowseRemoteProtocols none BrowseLocalProtocols DNSSD,CUPSI think CUPS tells avahi about registered printers through D-Bus. Then clients discover registered printers via DNS-SD queries.
The clients need working MDNS too:
emerge -av nss-mdns
and change /etc/nsswitch.conf:
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
and should run cups-browsed with this config:
/etc/cups/cups-browsed.conf
:
BrowseRemoteProtocols DNSSD,CUPS BrowseLocalProtocols none
Add comment