Mittwoch, 23. Mai 2012

[Dreamplug] Change DNS-Hostname

One may want to identify the Dreamplug via DNS-Hostname in the network. Per default, it always is "dreamplug", which is quite useful if ten dreamplugs are in the same net.

In my previous releases (which are based upon NewIT-Debian Squeeze Release) the hostname is easily configureable via hostname command, but the DNS-Name always remains "dreamplug".

To alter the DNS-Name, you have to edit dhclient.conf:

 nano /etc/dhcp/dhclient.conf  

At the top of the document there's the line where you have to apply changes:

 send host-name "dreamplug";  

change here to whatever your DNS-Name should be and restart networking.

 /etc/init-d/networking restart  

Done - pretty easy when you know where to look for it ;)

Keine Kommentare:

Kommentar veröffentlichen