What's new

upgrade firmware via SSH?

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
 

dave14305

Part of the Furniture
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.
 

Smokindog

Senior Member
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?
 

PolarBear

Regular Contributor
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.)
 

Waffull

Occasional Visitor
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.
 

Waffull

Occasional Visitor
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.
 

Waffull

Occasional Visitor
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.
 

dave14305

Part of the Furniture
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.
 

Waffull

Occasional Visitor
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.
 

Waffull

Occasional Visitor
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.
 

dave14305

Part of the Furniture
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?
 

dave14305

Part of the Furniture
Also make sure any Adblockers are disabled for the router IP and router.asus.com, or whitelist both of them in the adblocker.
 

heysoundude

Very Senior Member
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

Sign Up For SNBForums Daily Digest

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