76
submitted 1 month ago by jokeyrhyme@lemmy.ml to c/linux@lemmy.ml

hehe, so ... if you ever change the hostname of a Linux machine, you really really ought to double-check /etc/hosts to make the same hostname change there

it's surprising just how much will break if a machine's own hostname isn't resolvable to a 127.x.x.x address :P

you are viewing a single comment's thread
view the rest of the comments
[-] limelight79@lemmy.world 5 points 1 month ago* (last edited 1 month ago)

This reminds me... My server demands to be known as hostname.local on my network. The other machines just respond to just hostname. I really should figure out why that is.

[-] p03locke@lemmy.dbzer0.com 4 points 1 month ago
[-] limelight79@lemmy.world 1 points 4 weeks ago

I use DHCP for everything, even my server, with a reserved IP address in the router for the server and my desktop and a few other things I don't want to move around (printers, some IoT things, Home Assistant, etc.).

I think the issue is the bridge interface I have to set up for Home Assistant.

[-] triplenadir@lemmygrad.ml 1 points 2 weeks ago

.local is usually avahi / bonjour - could be some machines are running it, others aren't

this post was submitted on 27 Feb 2026
76 points (98.7% liked)

Linux

63789 readers
34 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 6 years ago
MODERATORS