void-linux / void-linux/void-docs

Add the configuration of nss-mdns as a note for easily using printers on Void

Open
#796 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
217
Forks
212
Avg merge
2d 21h
Merged PRs (30d)
1

Description

So, I've been fighting with CUPS here on my void installation and understood that albeit avahi-daemon service was installed, nss-mdns was not. However, installing it was not enough to get my printer to print, as I still got the error "Unable to locate printer xxxxxxx.local".

Apart from installing it, I also had to configure the /etc/nsswitch.conf, modifying the "hosts" line to be like hosts: files mdns_minimal dns mdns.

I took this info from here: https://people.math.rochester.edu/faculty/akrish11//2016/01/09/cups-unable-to-automatically-locate-printer-2.html

It might not be much, but I think it could help newcomers who still have to print stuff around :)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the printer setup documentation and the /etc/nsswitch.conf configuration described in the issue. Add a note covering nss-mdns installation and the hosts line needed to locate .local printers, including the linked reference as appropriate.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
documentation, operating-systems
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.