void-linux / void-linux/void-docs

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

Offen
#796 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
CSS
Sterne
217
Forks
212
Ø Merge
2 T. 21 Std.
Gemergte PRs (30 T.)
1

Beschreibung

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 :)

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Prüfe die Dokumentation zur Druckereinrichtung und die in diesem Issue beschriebene Konfiguration von /etc/nsswitch.conf. Füge einen Hinweis hinzu, der die Installation von nss-mdns und die erforderliche hosts-Zeile zum Auffinden von .local-Druckern abdeckt, einschließlich des verlinkten Verweises, sofern angebracht.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
linux
Bereich
documentation, operating-systems
Issue-Typ
Dokumentation
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
52/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.