How can I activate web access using cli command

hello,
I made a mistake on my RUT950 router and I disabled webui access. Is there any way to activate using CLI commands for editing a configuration file to reactivate webui access?

Hello,

Thanks for reaching out!

After you log-in CLI of the device, please check the uhttpd directory. With below command
cat /etc/config/uhttpd
Please open the configuration file vi command and edit the uhttpd main.

    option enable_http '1'
    option enable_https '1'

If you’re using static IP to reach the device, please also check below lines also.

     option _httpWanAccess '1'
     option _httpsWanAccess '1'

Please try and let me know about the result!

Kind Regards,
Caner

1 Like

Hi @Caner,

The problem is solved thanks to your help. First I modified the first two lines and it didn’t work then I added the last two lines and it worked. Thanks for the support.

Hello,

I am glad I could help!

Kind Regards,
Caner

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