I guess this might sound like herecy but can anyone help me remove/overwrite/rollback an LEDE image to the stock image for my router?
As an experiment I flashed it with LEDE Reboot 17.01.5 but I cannot revert to the previous image. I have tried to get image files into the router but tftp doesn't seem to be running. I can connect with putty but don't know what to do once I'm in.
scp with the PuTTy package is a PITA, easy with the cmder stuff (YMMV). Not sure, but IIRC, the need to use sysupgrade -F from above may be negated by the 18.06 stable release; i.e. you may be able flash OEM from the GUI.
Please elaborate, as the only difference between using scp vs pscp is five characters: pscp -scp, all other parameters are the same.... see the Flash tab
I'm new here and to Linux but I desperately want to break away from Windows.
I am trying to get the image (which I downloaded from Linksys) into my router (so I can try the sysupgrade -F) from a Windows 7 PC using putty. I have tried several variations in syntax (e.g. scp guest@192.168.1.188:Temp\FW_WRT1200AC_1.0.5.187766_prod.img /tmp) but keep getting "Connection refused". The file is in a Share called Temp (with permissions set for Everyone to Read) and the guest account is enabled on the PC. TIA.
If putty can connect using SSH then Winscp will also work. You're supposed to use it on the PC to connect to the router. Make sure it uses the SCP protocol.
When installing WinSCP, choose the Commander option [which is default] versus Windows Explorer mode, as this allows displaying Windows mount points on the left hand window and the router's filesystem in the right hand window.
Prior to making the connection in WinSCP, you must edit the connection option to change File Protocol from it's default (SFTP) to SCP.
Configure your SSH profile for the router in PuTTY first, then on WinSCP, click the Tools drop down and select Import Sites... this will import your PuTTY connection profiles
Ensure proper kmod is installed for the filesystem the USB drive is formatted with: opkg update && opkg find kmod-fs-*
a. If the file system used is not listed: opkg search kmod-fs-*
Install the file system kmod opkg install kmod-fs-<name>
Find the partition and mount it
a. block info
b. mount /dev/sda1 /mnt
Where sda is the usb drive and 1 is the partition number you wish to mount
Thanks everyone, especially Per, I have finally go where I wanted to be - Stock Image installed - but not too sure how I got there. I have a lot of reading up to do.