[Cerowrt-devel] failing to find the "declared victory" in a current wifi router
moeller0 at gmx.de
Fri Jul 10 04:01:38 EDT 2015
On Jul 10, 2015, at 09:22 , Joe Touch <touch at isi.edu> wrote:
>> On Jul 10, 2015, at 12:03 AM, Mikael Abrahamsson <swmike at swm.pp.se> wrote:
>>> On Tue, 7 Jul 2015, Joe Touch wrote:
>>> Some questions:
>>>> On 7/6/2015 11:16 PM, Mikael Abrahamsson wrote:
>>>> You can flash back the factory firmware without serial, you just use
>>>> sysupgrade with the Linksys factory image.
>>> How does that differ from mtd, e.g., as indicated here (which doesn't
>>> mention sysinstall)?:
>> "Revert to Linksys Stock Firmware"
>> So you can either use the web ui or the "sysupgrade" command to go back to Stock firmware.
> I see the word "sysupgrade" only her, but that is in reference to the img type not the command :
> When flashing from OpenWrt, use the "sysupgrade" image. Although the factory image will work, the sysupgrade image has the fringe benefit of preserving the UBI container between flashes, which provides some wear-leveling.
> Can you explain where the info on using the sysupgrade command to revert to the factory image is??
Have a look at:
this should cover all your bases…
I would assume the following to work from your routers command line interface (so log in via ssh first):
On your client computer:
scp Stock_firmware_image root at your.router.name.or.ip-address:/tmp/firmware.bin
ssh root at your.router.name.or.ip-address
On your router:
/sbin/sysupgrade -d 60 -v -n ./firmware.bin
(the -d will delay the reboot for 60 seconds giving you time to read the output, the -v will increase the verbosity to help debugging in case of failure, and the -n will not attempt to conserve your setting through the sysupgrade, which will not work for a revert to the link sys image anyway).
>> I have only used the mtd method once, and that was when there was a problem with the flash for some reason and I was recommended that method instead by an OpenWrt developer.
>> Mikael Abrahamsson email: swmike at swm.pp.se
> Cerowrt-devel mailing list
> Cerowrt-devel at lists.bufferbloat.net
More information about the Cerowrt-devel