Ssh commands, for enable/disable interface with mwan3

Hello!
I have a webserver on local lan with some scrips and looking for command to force down/up interfaces when using mwan3.

I tried: ip link set dev eth1 down

Same with ifconfig eth1 down

goes down, but starts again in a minute.

If i stop interface in luci it does not reconect automatically.
Anyone please?

try ifdown wan

Thanks
Yes, it took down wan, but when i tried to enable i used ifup wan (wan enabled ok) , but wanb got disconected? And then i tried ifup wanb it says interface wanb not found ?

ubus call network.interface.wanb down

This one works fine for me! :slight_smile:

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.