<div dir="ltr"><div><div><div>Thank you for explanation.<br><br></div>Why does openwrt use force_link on WAN, when it can break internet connection and remote access?<br></div>Or what are advantages of force_link?<br><br></div>Thanks.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><br>--<br>S pozdravom Jakub Janco</div></div>
<br><div class="gmail_quote">2015-05-14 17:32 GMT+02:00 Hans Dedecker <span dir="ltr"><<a href="mailto:dedeckeh@gmail.com" target="_blank">dedeckeh@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, May 13, 2015 at 12:35 PM, Conor O'Gorman <<a href="mailto:i@conorogorman.net">i@conorogorman.net</a>> wrote:<br>
> On 12/05/15 17:57, Jakub Jančo wrote:<br>
>><br>
>> Hello,<br>
>><br>
>> I have tplink 1043nd with BB<br>
>><br>
>> Problem is that I have dhcp client on WAN and if I unplug cable from<br>
>> WAN, it doesnt change status, give up dhcp address.<br>
>><br>
>> Even worse is that if I plug cable with another end point with another<br>
>> network, WAN dhcp client doesnt pull new IP, I must click on "Connect"<br>
>> to refresh dhcp client, then new ip is assigned and internet works. Or<br>
>> restart device.<br>
><br>
><br>
> Have a look at ifpugd.<br>
><br>
> But maybe netifd should/could/might do something for this scenario?<br>
><br>
> Conor<br>
> _______________________________________________<br>
> openwrt-devel mailing list<br>
> <a href="mailto:openwrt-devel@lists.openwrt.org">openwrt-devel@lists.openwrt.org</a><br>
> <a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel" target="_blank">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a><br>
netifd has support for link state changes; the network interface will<br>
be brought up/down<br>
if the link is active/inactive. However if the force_link parameter is<br>
enabled for a network<br>
interface netifd will ignore link state changes.<br>
<br>
Hans<br>
_______________________________________________<br>
openwrt-devel mailing list<br>
<a href="mailto:openwrt-devel@lists.openwrt.org">openwrt-devel@lists.openwrt.org</a><br>
<a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel" target="_blank">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a><br>
</blockquote></div><br></div>