Current-Users archive

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

Re: dhclient settings for local host name



On Aug 9,  4:10am, Riccardo Mottola wrote:
} 
} when using netbsd and launching "dhclient" on some networks the machine 
} maintains its hostname, on some it gets changed to "dhcpd1" or some 
} similar automatic name. ON the same network, other computers running 
} Linux or other OS's do not change the name. This is quite annoying!
} 
} I do not want to change any other parameter, is there an option or how 
} can I write a config file to accomplish that? I tried, but apparently I 
} override too many options and it doesn't work any more.

     All you need is a one-line /etc/dhclient.conf:

server# cat /etc/dhclient.conf
supersede host-name "server";

}-- End of excerpt from Riccardo Mottola


Home | Main Index | Thread Index | Old Index