Skip to content

Linux Daily

Daily usage of linux, raw style

Two options:

/etc/hostname

Can be edited with gedit for instance, not sure if you need root permissions.

If you’re only interested in changing the hostname that is sent, or rahter seen by, the network, you can change the dhcp settings.

In /etc/dhcp3/dhclient.conf you can see right after the initial comments this:

send host-name "<hostname>";

You edit it to something like

#send host-name "<hostname>";
send host-name "m4m";

You’re good to go.

Advertisements

Tags: , , , , , , , , , , , , , , , , ,

%d bloggers like this: