[systemd-devel] networkd - DHCP timeout ?

Vasiliy Tolstov v.tolstov at selfip.ru
Wed Feb 11 03:11:31 PST 2015


Nice, can you say how to reduce timeout manually to 30s? Where I need to
change value?
11 февр. 2015 г. 13:54 пользователь "Tom Gundersen" <teg at jklm.no> написал:

> On Wed, Feb 11, 2015 at 11:49 AM, Branko <brankob at s5tehnika.net> wrote:
> > Unless I have overlooked something, there seems to be no way to tell dhcp
> > client to fail and leave card unset after some timeout.
> >
> > We had power interruption, which left dhcp server unconcious and after
> > rebooting my workstation I couldn't get it up, since it was waiting for
> dhcp
> > client to get its response.
> >
> > One can set a timeout on unit, but i can't find anything similar for
> > network.
>
> You can't set a timeout for the dhcp client itself (we will keep
> trying forever), but you can set a timeout (in current git) on the
> wait-online service, so that the length of time your boot is blocked
> is limited. Currently it is set to 120s (in git), but it can be
> overridden manually.
>
> HTH,
>
> Tom
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150211/4dde5aee/attachment.html>


More information about the systemd-devel mailing list