[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DHCP hostname



At Friday, 13 February 2004, Sam Halliday <samuel@ma.hw.ac.uk> wrote:

>Sam Halliday wrote:
>[snip]
>> i am on a DHCP-served network and the server will always give out a
>> hostname, but debian completely ignores that hostname; preferring
>> instead to use the hostname "debian" which it set up during the
>> initial install.
>[snip]
>
>apologies all!
>
>  /etc/dhcpc/config
>
>allows me to set these things... i recently installed dhcpcd instead of
>dhclient which allowed me to do this. does that mean dhclient cannot 
set
>hostnames/domainnames/DNS servers?? and also, why is that not the
>default?
>
>

you know, you can change the hostname of the machine locally :

/etc/hostname

also, will nees to change localhost stuff:

/etc/hosts












Reply to: