[OpenWrt-Devel] Link detection - TP-Link Archer C7 v2

2015-05-26 Thread Richard Clark
I am having some problems with link detection on eth0 / WAN on the TP-Link Archer C7 V2 router. Removing the network cable from the WAN port does not change the link status, so when it is added back in, various scripts never kick off to get new DHCP, restart the firewall, etc. This was on a self

Re: [OpenWrt-Devel] Link detection - TP-Link Archer C7 v2

2015-05-27 Thread Richard Clark
On 05/27/2015 05:31 AM, Karl Palsson wrote: > You don't happen to have force_link set on the interface in question in > your UCI config do you? No. It IS set on the LAN interface, but if I am reading the option correct that is to force a static assignment by netifd even if no link is detected (ma

Re: [OpenWrt-Devel] Link detection - TP-Link Archer C7 v2

2015-05-27 Thread Richard Clark
On 05/27/2015 03:59 AM, Christian Mehlis wrote: > Hi Richard, > > I had this problem a moth ago with this board: > I found no solution so far... > > Christian For now I have added a little script in the background that just watches for the link status using swconfig swconfig dev ag71xx-mdio.0 p

Re: [OpenWrt-Devel] Link detection - TP-Link Archer C7 v2

2015-05-27 Thread Richard Clark
On 05/27/2015 05:41 AM, Jo-Philipp Wich wrote: > Hi Richard, > > the link status is not propagated to the netdev because there's an > external switch chip between the CPU and the RJ45 plug on the outside. > > There currently is no mechanism to propagate switch port states to Linux > netdev link s