What's new

upgrade firmware via SSH?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Waffull

Occasional Visitor
Is there a way to upgrade the firmware from an SSH command line? I have the AC3200.

For some reason my login no longer works via the website, but it does work via SSH. Hoping upgrading to the latest stable will solve the problem.

Thank you,
Marc
 
Is there a way to upgrade the firmware from an SSH command line? I have the AC3200.

For some reason my login no longer works via the website, but it does work via SSH. Hoping upgrading to the latest stable will solve the problem.

Thank you,
Marc
Verify the http password via ssh with:
Code:
nvram get http_passwd
Is it what you expect? Is it shorter than you expect? 16 character maximum.

Make sure no password managers are autofilling anything incorrectly.

Better to solve the password issue first.
 
Is there a way to upgrade the firmware from an SSH command line? I have the AC3200.

For some reason my login no longer works via the website, but it does work via SSH. Hoping upgrading to the latest stable will solve the problem.

Thank you,
Marc
Have you tried a different browser? Also, have you tried both HTTP and HTTPS?
 
16 character maximum.


For some purposes, any non-alphanumeric characters appear to be stored in %nn notation, so take up 3 of the 16 maximum allowed.

This was a couple of years ago, but it is probably the same now.

(I don't remember which particular services - it could be SSH or OpenVPN, not sure, but it caught me out until I realised.)
 
Verify the http password via ssh with:
Code:
nvram get http_passwd
Is it what you expect? Is it shorter than you expect? 16 character maximum.

Make sure no password managers are autofilling anything incorrectly.

Better to solve the password issue first.

Password is as I expected.

lastpass is disabled for the local network.
 
Try this to regain access to the GUI.

# service restart_httpd

Tried, still nothing. I don't even get an error message. The login page just refreshes.

I have rebooted the device many times since this started... Been using asuswrt-merlin for years.
 
For some purposes, any non-alphanumeric characters appear to be stored in %nn notation, so take up 3 of the 16 maximum allowed.

This was a couple of years ago, but it is probably the same now.

(I don't remember which particular services - it could be SSH or OpenVPN, not sure, but it caught me out until I realised.)

PW is 9 characters long with one non-alphanumeric character. Have used the same password on this router since I bought it, over 4 years ago.
 
Try either deleting cookies for router.asus.com and 192.168.1.1, or using Incognito/Private Browsing.

In the meantime, if you can upload a firmware file via WinSCP, run:
Code:
mtd-write2 RT-AC3200_384.11_2.trx linux
service reboot
Be sure to cd to the directory you uploaded to first.
 
Try either deleting cookies for router.asus.com and 192.168.1.1, or using Incognito/Private Browsing.

In the meantime, if you can upload a firmware file via WinSCP, run:
Code:
mtd-write2 RT-AC3200_384.11_2.trx linux
service reboot
Be sure to cd to the directory you uploaded to first.

Thank you... I was able to do this... still no http/s access... don't get it. Even tried the beta version... same thing.
 
Also try the ASUS phone app

And you can always go to recovery mode.

The Asus android app does work... no problem logging into that.

I'll do a hard reset of the device soon, just don't have physical access to it at the moment.

This has definitely been one of the more frustrating things to occur with this router.
 
The Asus android app does work... no problem logging into that.

I'll do a hard reset of the device soon, just don't have physical access to it at the moment.

This has definitely been one of the more frustrating things to occur with this router.
Try looking for error messages in Chrome console (F12). This seems very odd. What if you try to use Chrome on your Android? Same result?
 
Also make sure any Adblockers are disabled for the router IP and router.asus.com, or whitelist both of them in the adblocker.
 
Tried, still nothing. I don't even get an error message. The login page just refreshes.

I have rebooted the device many times since this started... Been using asuswrt-merlin for years.

Sometimes you need to destroy existing to create better things: if you've been doing dirty flashes to it all this time, it's probably time for a factory reset and an M&M setup.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top