Hello,
I have an on-going issue with my ISP and the only fixes appear to either reset my modem (connected to my TUF-AX5400 in bridge mode) or to disable and enable the WAN through the web UI.
I put together a user script to automatically detect loss of connectivity and to reset the WAN. However, I seem unable to replicate the commands sent behind the scene by the actions of setting "Enable WAN" to "no" then to "yes" in the router's web UI.
I tried stop_wan and start_wan, but it doesn't seem to 100% replicate the web UI's action as it doesn't fix my issue.
Is there a way to find out which commands are sent in the background through interactions with the web UI? Or does anyone know how to replicate this?
The only hint I have is that I see this in the logs when I apply my changes after setting "Enable WAN" to "no":
Thanks!
I have an on-going issue with my ISP and the only fixes appear to either reset my modem (connected to my TUF-AX5400 in bridge mode) or to disable and enable the WAN through the web UI.
I put together a user script to automatically detect loss of connectivity and to reset the WAN. However, I seem unable to replicate the commands sent behind the scene by the actions of setting "Enable WAN" to "no" then to "yes" in the router's web UI.
I tried stop_wan and start_wan, but it doesn't seem to 100% replicate the web UI's action as it doesn't fix my issue.
Is there a way to find out which commands are sent in the background through interactions with the web UI? Or does anyone know how to replicate this?
The only hint I have is that I see this in the logs when I apply my changes after setting "Enable WAN" to "no":
Code:
Jan 22 12:36:42 rc_service: httpd 1783:notify_rc restart_wan_if 0;restart_stubby
Thanks!