7591 questions

9029 answers

14584 comments

11836 members

0 votes
545 views 0 comments
by
I want to check/set WAN port as lan using ssh on RUT240.

What uci command can I use?

1 Answer

0 votes
by

Hello,

First, disable Wired WAN interface:

uci set network.wan2.disabled='1'

then add eth1 to lan interface:

uci set network.lan.ifname='eth0 tap0 eth1'

Lastly:

uci commit

luci-reload

and

/etc/init.d/network restart

Just in case

Best answer