I got 2 RT-AC56U routers, both running on latest Merlin version 378.52_2, one running on router mode and another on repeater mode.
On the one running repeater mode, I need all the 5 LAN ports, by default the WAN port is in VLAN 2 and others in VLAN 1, so I changed the WAN port to VLAN 1 as well using robocfg:
robocfg vlan 2 ports "5u"
robocfg vlan 1 ports "0 1 2 3 4 5t"
This works but it would revert to default settings after reboot, so I was trying to configure it in NVRAM:
nvram set vlan1ports="0 1 2 3 4 5*"
nvram set vlan2ports="5u"
nvram commit
But after reboot, the NVRAM revert to the default setting as well. I wonder if this is a bug or this is working as intended (to protect the settings)? If this is working as intended, how can I save/commit the changes in NVRAM so I don't need to re-do the configuration on every reboot?
I also tried to use crontab to run the robocfg commands on startup, but the crontab entries also got wiped on next startup.
On the one running repeater mode, I need all the 5 LAN ports, by default the WAN port is in VLAN 2 and others in VLAN 1, so I changed the WAN port to VLAN 1 as well using robocfg:
robocfg vlan 2 ports "5u"
robocfg vlan 1 ports "0 1 2 3 4 5t"
This works but it would revert to default settings after reboot, so I was trying to configure it in NVRAM:
nvram set vlan1ports="0 1 2 3 4 5*"
nvram set vlan2ports="5u"
nvram commit
But after reboot, the NVRAM revert to the default setting as well. I wonder if this is a bug or this is working as intended (to protect the settings)? If this is working as intended, how can I save/commit the changes in NVRAM so I don't need to re-do the configuration on every reboot?
I also tried to use crontab to run the robocfg commands on startup, but the crontab entries also got wiped on next startup.