If the network interface goes through the switch in the AP, then you will not
see the interface on the CPU go up/down. At best you could poll the switch info
(if it gives you link state)
David Lang
On Tue, 12 Jul 2016, Baptiste Clenet wrote:
Ok thanks Tobias.
How can I detect that ethernet is plugged with hotplug? I tried some
script but it never raises.
Thing is I will know when wifi is up, ok but I have to know if eth is
plugged or not since there is no eth down when eth is unplugged.
2016-07-07 0:30 GMT+02:00 Tobias Welz <t...@wiznet.eu>:
Hum, now you want to toggle wifi - this is a totally different request. This
can maybe done by hotplug events on the ethernet executing "wifi up" and
"wifi down"
You could also have a look if there is some package that might support
something like that - i don't know if e.g. mwan3 package can do that.
_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev