Printing: Difference between revisions

imported>Onny
Add openFirewall option to printer sharing example
imported>Wentasah
m Add a note about removal of soon to be outdated section.
Line 182: Line 182:


=== Adding network printer "Name or service not known" ===
=== Adding network printer "Name or service not known" ===
{{Note|This problem is fixed in nixpkgs-unstable. Remove this section after NixOS 23.11 EOL.}}


If CUPS complains about "''Impossible to connect to XXX.local: Name or service not known''" even if {{nixos:option|services.avahi.nssmdns}} is enabled as shown above, the reason could be that mdns does not work properly with IPv6 in your network. In such a case, switching to mdns4-only setup can help:
If CUPS complains about "''Impossible to connect to XXX.local: Name or service not known''" even if {{nixos:option|services.avahi.nssmdns}} is enabled as shown above, the reason could be that mdns does not work properly with IPv6 in your network. In such a case, switching to mdns4-only setup can help: