4791 questions

5860 answers

9403 comments

5726 members

0 votes
142 views 6 comments
by
by
Firmware : RUT2XX_R_16.01.11.17

config uhttpd 'main'
        list listen_http '80'
        list listen_https '443'
        option enablehttp '1'
        option home '/www'
        option rfc1918_filter '1'
        option max_requests '3'
        option max_connections '100'
        option cert '/etc/uhttpd.crt'
        option key '/etc/uhttpd.key'
        option cgi_prefix '/cgi-bin'
        option script_timeout '600'
        option network_timeout '30'
        option http_keepalive '20'
        option tcp_keepalive '1'
        option ubus_prefix '/ubus'
        option _httpWanAccess '1'
        option _httpsWanAccess '1'
        option _sshWanAccess '1'
        option redirect_https '0'

1 Answer

0 votes
by

Hello,

Please reset your device to factory defaults and update it to the latest firmware through bootloader menu if you're still not able to access WebUI after reset.

EB.

by

As it is "operational" and you want to have a remote connection capability left - I believe what I'm asking you to do would not be the best solution, as you will lose the possibility to connect again after the procedure is done.

Please find some way to do it while you have physical access to the device. If SSH works - firstboot command should do the trick.

EB.

by

Hi,

So there isn't any remote solution in which I can restore the GUI access. If this is the case, then how could i upload the same firmware via SSH, is there any method?

Ali

by

Hi,

You can use the SCP protocol to send your files through SSH.

scp file.txt root@192.168.1.1:/tmp

Also, you can do it with software like WinSCP - where you will be able to log in and see the whole file system.

To initiate the update procedure through SSH you can use:

sysupgrade –v /tmp/fw.bin

EB.

by
Hi,

Thanks for the comment, please share if I go with WinSCP Option.

1) Where to upload the firmware file, in which directory?

2) after successful upload to the router how do I initiate it replace the older version, also keeping the configuration unchanged??

Ali
by

Hi,

First of all, make sure you're coming from the official firmware version as this might not work if you were on testing firmware.

Then drop your new firmware into /tmp folder of your device and execute sysupgrade -v -c /tmp/firmware.bin

It should now give you some output so just wait till it says "Rebooting system..."..

Once it's done - give it some time to boot and you can proceed to log in to your WebUI.

EB.