How to manage hostnames via DHCP?
Tom H
tomh0665 at gmail.com
Thu Mar 10 08:30:44 UTC 2011
On Thu, Mar 10, 2011 at 1:35 AM, Niki Kovacs <contact at kikinovak.net> wrote:
> Le 09/03/2011 13:34, Tom H a écrit :
>>
>> On the clients, if not using NM:
>>
>> # cat /etc/network/interfaces
>> auto lo
>> iface lo inet loop
>> auto eth0
>> iface eth0 inet dhcp
>>
>> # rm /etc/hostname
>>
>> # cat /etc/hosts
>> 127.0.0.1 localhost.localdomain localhost
>>
>> # vi /etc/default/grub
>> (edit the following line)
>> GRUB_CMDLINE_LINUX="ipv6.disable=1"
>> (run update-grub to update the grub configuration)
>> (if you prefer, you can use "/etc/modprobe.d/" files)
>>
>> (If using NM, you probably only have to "rm /etc/hostname")
>
> Thanks for your detailed answer! I'll give that a shot.
You're welcome. Good luck.
More information about the ubuntu-users
mailing list