FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14146 questions

16798 answers

27614 comments

54022 members

0 votes
753 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