You are not logged in.
Hello,
How to change the Hostname in DEVUAN ?
Probably the method echo "mynewpcname" > /etc/hostname with after a reboot, is not the official one
thank you
Offline
Hello,
How to change the Hostname in DEVUAN ?
Probably the method echo "mynewpcname" > /etc/hostname with after a reboot, is not the official one
thank you
well that's how I do it, it actually says in the man page for hostname, that editing etc/hostname is the only way of permanently changing it.
https://sourceforge.net/projects/vuu-do/
Vuu-do GNU/Linux, minimal Devuan-based openbox systems to build on, maximal versions if you prefer your linux fully-loaded.
Please donate to support Devuan and init freedom! https://devuan.org/os/donate
Offline
Change it permanently:
echo "mynewpcname" > /etc/hostname
(or open it in your favorite root editor)
Change it now:
hostname mynewpcname
Then log out and log in again. No need to reboot.
And if the old name is in /etc/hosts, change it there, too.
Offline
Change it permanently:
echo "mynewpcname" > /etc/hostname
(or open it in your favorite root editor)
Change it now:
hostname mynewpcname
Then log out and log in again. No need to reboot.
And if the old name is in /etc/hosts, change it there, too.
I do this way too thanks for confirming me....
However on a PI III B, the above method does not work.
About Hostname: SystemD is ugly, isn't it??
Plus, So, it means the following: This page would need a small update.
https://wiki.debian.org/HowTo/ChangeHostname
Last edited by spartrekus (2017-06-18 17:14:30)
Offline