UPDATE-HOSTNAME-FROM-IP(8)

πŸ“¦ version 2.13.2, in debian bookworm, debian trixie

✨ update-hostname-from-ip ✨

okay bestie, this is the update-hostname-from-ip page from section 8 of the Debian Edu Admin Tools manual πŸ’– she's a little command that makes your hostname match your IP, and honestly? iconic behaviour.


🌸 NAME 🌸

update-hostname-from-ip β€” set current hostname to match the IP address πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

update-hostname-from-ip [-mMInq]

that's it. that's the whole vibe check. five little letters and she's ready πŸ’…


πŸ‘‘ DESCRIPTION πŸ‘‘

So here's the tea, bestie πŸ“: update-hostname-from-ip sets your current hostname so it matches the IP address on eth0.

And why would you want that, you ask? Because this is genuinely useful when you're grabbing your IP address from DHCP ✨ β€” like, the DHCP server hands you an address and you just… go with it. No cap, that's the whole point.


πŸ’… COMMAND LINE OPTIONS πŸ’…

These are the options that can appear on the command line β€” and yes, every single one of them is here, I would never gatekeep πŸ™ˆ

  • -m β€” use MAC address πŸŽ€
  • -M MAC β€” use this MAC address, like, the specific one you pick πŸ’–
  • -I IP β€” use this IP address, again, the one you choose ✨
  • -n β€” print only πŸ‘€ (she just tells you, she doesn't do anything)
  • -q β€” quiet 🀫 (no yapping)

🌈 AUTHORS 🌈

Debian Edu Team, and their whole internet home is right here: https://blends.debian.org/edu 🫢


and that's the whole page, bestie!! this one came straight from the Debian Edu girlies, and the date on it is December 2020 ⭐ mwah, slay, no notes πŸ’œπŸ§š

πŸ“¦ where this page comes from