hard to find info about init

Ante Karamatic ivoks at grad.hr
Wed Nov 12 06:05:33 UTC 2008


On Tue, 11 Nov 2008 17:08:36 -0800
jim <jim at well.com> wrote:

>    NO: i wanna know how to tell init 
> not to kick off dhclient3. 

init doesn't start dhclient. If you had network configured to use dhcp
server to obtain IP addres, /etc/init.d/networking will
read /etc/network/interfaces and start dhclient. If you change settings
in /etc/network/interfaces, so that you use static IP now. You should
restart /etc/init.d/networking and 'killall -9 dhclient3'.

One might consider this as a bug, since there's no magic that will stop
dhclient once you change network settings. But, bottom line is -
init/upstart doesn't start dhclient.

If you reboot, you'll notice that there's no dhclient running.




More information about the ubuntu-server mailing list