it seems the upgrade process shuts down pppd so wan closes before i can upload the firmware and temporary bricks the device - it needs power cycle.Yes, the command is different for ARM. Also, a couple of other things to keep in mind....
- the firmware shut downs several services before the upgrade
- after the upgrade it cleans up the original firmware image
- in the case of ARM, it actually builds a new, small rootfs, to handle the reboot
Any reason not to start an OpenVPN server to connect to instead of ssh (unless this is an N16)? This way you don't have to open the ssh port and can use the full firmware function through the gui.
I've also tried the script with nohop but no luck this time either.
It seems local upgrade is the way for now