QuikSilver
Very Senior Member
Anyone here upgrade the firmware without using the webpage GUI? If so can you provide the command lines used? Thanks!
I don't prefer it either but I have a remote unit that is accessible using putty but not the gui. Using the service restart httpd command does nothing as well as service reboot.Using the command line is not a supported method of updating the firmware. It is discouraged because the actual commands vary between different router models and bypass the usual checks leading to the possibility of bricking the router (for example, if the partition layout changes). In other words, it can be done but should only be used when there is no alternative.
If you've got problems with the stability of the router flashing a different firmware version is unlikely to fix the problem and risks making things worse. If you've got SSH access then you can look at the syslog for errors and edit the nvram variables if necessary.Using the service restart httpd command does nothing as well as service reboot.
Remote flashing is actually the worst case scenario for wanting to use command line flashing. If this is a model that doesn't use a dual partition system, then flashing over SSH means you are writing to a live filesystem, which is very likely to crash and fail to reboot, requiring manual power cycling. When updating through the webui, the router creates a temporary root filesystem first before flashing, to avoid that issue.I don't prefer it either but I have a remote unit that is accessible using putty but not the gui. Using the service restart httpd command does nothing as well as service reboot.
Ah, thanks for the detailed explanation and insight @RMerlin. Any way to reboot (other than service reboot) a router remotely? Normally I would use scmerlin to issue commands over putty but this unit would stop loading 1/2 the commands when that option is selected.Remote flashing is actually the worst case scenario for wanting to use command line flashing. If this is a model that doesn't use a dual partition system, then flashing over SSH means you are writing to a live filesystem, which is very likely to crash and fail to reboot, requiring manual power cycling. When updating through the webui, the router creates a temporary root filesystem first before flashing, to avoid that issue.
At worst, create an SSH tunnel to the router's webui. Connect over SSH, then use the tunnel to access the webui.
service reboot
is the best method. If that doesn't work then try just reboot
./tmp/syslog.log
and /tmp/syslog.log-1
).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!