Re: DHCP timeout on ethernet device.



You can add

timeout <value>;

to /etc/dhcp/dhclient-<interface>.conf


See also
http://mail.gnome.org/archives/networkmanager-list/2011-September/msg00127.html

--
Jiri

On 10/04/2011 10:24 AM, Anders Gnistrup wrote:
Hi

I have searched the net and the only method to set the DHCP request timeout value is to change the code.

  /NetworkManager/src/dhcp-manager/nm-dhcp-manager.c:#define NM_DHCP_TIMEOUT   45 /* DHCP timeout, in seconds */

But that it not a good solution.
It there configuration option in the DBUS interface or keyfile that can be set?
My own answer is No, it has to done in code.

/AG



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