Re: is /etc/dhcp/dhclient-enter-hooks.d broken
- From: Dan Williams <dcbw redhat com>
 
- To: ning ji <ningji hotmail com>
 
- Cc: "networkmanager-list gnome org" <networkmanager-list gnome org>
 
- Subject: Re: is /etc/dhcp/dhclient-enter-hooks.d broken
 
- Date: Mon, 21 Apr 2014 16:26:27 -0500
 
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]