175
submitted 4 months ago by tet@lemm.ee to c/linux@lemmy.ml

Which one(s) and why?

you are viewing a single comment's thread
view the rest of the comments
[-] paradox2011@lemmy.ml 2 points 4 months ago* (last edited 4 months ago)

The just dang works part of Mint is so nice. I do like learning and tinkering, but I have to say setting up my printer in endeavourOS was brutal! I had all the right software installed, but it ended up needing a single line of code pasted in to a file I never would have guessed on my own. I'll paste the info here on the slight chance it will save anyone else from the trauma I went through 😅

Reference article: https://wiki.archlinux.org/title/Avahi

2.1 Hostname resolution
Avahi provides local hostname resolution using a "hostname.local" naming scheme. To enable it, install the nss-mdns package and start/enable avahi-daemon.service. use sudo instead of doas if that's the tool you prefer.

doas systemctl start avahi-daemon.service

Then, edit the file /etc/nsswitch.conf and change the hosts line to include mdns_minimal [NOTFOUND=return] before resolve and dns. It should look like:

hosts: mymachines mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns
this post was submitted on 20 Feb 2024
175 points (95.8% liked)

Linux

45574 readers
1215 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS