Re: is /etc/dhcp/dhclient-enter-hooks.d broken



On Fri, 2014-04-11 at 19:48 +0000, ning ji wrote:
In this folder there're couple of files, 1 is debug.i turned on that         RUN="yes"
added this in the last line,    echo 'angtghghkimn' >> /opt/mylog   after reboot, it gets the new ip from 
dhcp server, but cannot see anything in /opt/mylog.
any suggestions pls ?

When running with NetworkManager, because NM needs to receive the DHCP
details and apply any local user overrides, I don't think the hooks are
run.  The hooks depend on the dhclient script that's shipped with
dhclient, which is not used when NetworkManager is handling the
interface.

Dan



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