1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

Remote Firmware Upgrade

Discussion in 'Asuswrt-Merlin' started by amrhf, Apr 2, 2020.

  1. amrhf

    amrhf Occasional Visitor

    Joined:
    Oct 6, 2016
    Messages:
    14
    Hi,

    normally I would upgrade via web interface on a PC connected on LAN.

    But due to current situation I can not get access to the router.

    I have remote access to my RT-AC87U via build in OpenVPN and ssh and wonder if I could remotely upgrade the firmware from current 384.11_2 to latest 384.13_4

    I have tried via web interface connected from WAN, but it did not work.

    I have access to RaspberryPi on LAN site as well.
     
  2. dosborne

    dosborne Very Senior Member

    Joined:
    May 11, 2019
    Messages:
    571
    Location:
    /dev/null
    Quite a few people in the same situation, and a topic that has been covered a number of times.

    Although *possible* it is never recommended. A physical power cycle is always recommended after the update, and it is also a good idea to do that before the update too. Unless there is a particular vulnerability you are trying to fix, you should wait until you or someone else is available to cycle the router. If it is in any way a critical or important network, be prepared for it to be unavailable until cycled. There is a chance of course that all will go well, but you never know.

    With VPN access and access to other devices on this network, there is essentially no difference with you being "remote" vs "local" with the exception of being able to pull the plug to reboot.
     
    amrhf likes this.
  3. L&LD

    L&LD Part of the Furniture

    Joined:
    Dec 9, 2013
    Messages:
    12,598
    @amrhf, do you have a USB drive attached? If so, 'Safely remove it' via the GUI and then flash it. The router just needs more ram to do it's work. Note you don't need to physically remove the USB device(s), just need them unmounted. ;)

    Only do so if this network isn't critical in anyway for your use (of course). :)
     
    martinr and amrhf like this.
  4. amrhf

    amrhf Occasional Visitor

    Joined:
    Oct 6, 2016
    Messages:
    14
    Yes, there is HDD attached, I will un-mount it (Safely remove it) ;)

    but as per post from @dosborne I will wait until I have someone to power-cycle the router. Before and after the upgrade :)
     
  5. amrhf

    amrhf Occasional Visitor

    Joined:
    Oct 6, 2016
    Messages:
    14
    How about CLI method, is that available via the SSH instead of WebBrowser?
     
  6. L&LD

    L&LD Part of the Furniture

    Joined:
    Dec 9, 2013
    Messages:
    12,598
    The 'pre' power-cycle isn't necessarily needed in my experience. What it accomplishes is flushing the use ram too. :)

    The 'post' power-cycle is available at anytime via the GUI. (I do so at 15 minutes and after 60 additional minutes too after a firmware update).
     
  7. bbunge

    bbunge Very Senior Member

    Joined:
    Aug 11, 2014
    Messages:
    1,129
    Location:
    Pennsylvania USA
    I manage a couple of remote AC68U's and do quite well upgrading them. With that said I do remote control of a PC on an ethernet connection through the router VPN to run the upgrade. Yes, I loose connection when the router reboots but can connect when the system is stable. The routers run Stubby DoT, openVPN, QOS and AiProtection. No USB devices. You could set up a PC inside the network with Teamviewer and do the same thing. I never have experienced upgrade failure and have not needed to stand on my head with removing USB devices (my AC86U has a USB for swap and network stats) or nuking the router before or after.
    Live dangerously with the router but remember to wash your hands!
     
    amrhf and martinr like this.