[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <537F12EF.4010302@gmail.com>
Date: Fri, 23 May 2014 17:20:47 +0800
From: zhuyj <zyjzyj2000@...il.com>
To: Vlad Yasevich <vyasevich@...il.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
zhuyj <zyjzyj2000@...il.com>
Subject: Re: question: Any way to trigger DHCP renewal from kernel code?
On 05/23/2014 08:49 AM, Vlad Yasevich wrote:
> On 05/22/2014 06:24 PM, Haiyang Zhang wrote:
>> Hi,
>>
>> Our synthetic network driver is notified when the Hyper-V host
>> resume from sleep/hibernation. We need to renew DHCP in this case.
>> I'm looking for a way to trigger DHCP renewal from kernel mode
>> code.
>>
>> Can anyone help me?
> One idea:
>
> Generate a udev event and a udev rule that triggers a renew when
> event is received.
>
> -vlad
Another idea:
crontab, Periodically trigger a renew.
Zhu Yanjun
>
>> Thanks,
>> - Haiyang
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe netdev" in
>> the body of a message to majordomo@...r.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists