WRT3200ACM change boot partition and reflash Linksys FW

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

Post Reply
kiwiandy
Posts: 17
Joined: Sun Jan 22, 2017 2:30 am

WRT3200ACM change boot partition and reflash Linksys FW

Post by kiwiandy »

I have flashed 1.11.X (Built 20180908-0910 git@b652fe9f) into my WRT3200ACM and find that I am having some wifi issues, and would like to boot back to the Linksys firmware until maybe a more stable Gargolye version is available.

I have flashed 1.11 into one partition and have 1.10 in the other.

Is there anyway I can flash a Linksys FW into the other parttition ?

Lantis
Moderator
Posts: 6751
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: WRT3200ACM change boot partition and reflash Linksys FW

Post by Lantis »

You can find the relevant instructions in the Openwrt Wiki
https://openwrt.org/toh/linksys/wrt_ac_ ... penwrt_oem

Essentially, you just "upgrade" to the OEM image without preserving your settings.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

kiwiandy
Posts: 17
Joined: Sun Jan 22, 2017 2:30 am

Re: WRT3200ACM change boot partition and reflash Linksys FW

Post by kiwiandy »

Awesome thanks Lantis...really appreciate your hard work on this... looking forward to the stable (with updated wifi drivers?) version of 1.11 !

kiwiandy
Posts: 17
Joined: Sun Jan 22, 2017 2:30 am

Re: WRT3200ACM change boot partition and reflash Linksys FW

Post by kiwiandy »

ok, this is taking me a little out of my comfort zone.... I assume I follow the instructions on Flashing Firmware OPENWRT -> OEM on the page you linked ?
I can succesfully connect to my router using PuTTY and bring up the CLI.... but can someone help me what I need to enter for the Gargoyle Firmware, rather than the OPENWRT firmware that these instructions are written for?

OpenWrt >> OEM
Backup:

Flash:

If VLAN config was altered, it must be defaulted prior to flashing OpenSSH Config PuTTY Config
Revert vLAN:

LuCI

System → Backup/Flash Firmware → Flash New Firmware Image → Choose File
Select Linksys image [.img] (Linksys OEM Builds)

Untick Keep Settings, then select Flash Image
CLI OpenSSH Config PuTTY Config
BUILDS PRIOR TO ~MAY 2018: Flash must be forced, as OEM firmware uses a different checksum algorithm

Login to OpenWrt via SSH (DropBear / OpenSSH)
Linux/BSD: SSH client built in
Windows: Download PuTTY & PuTTY Profile
Putty Profile
Line 5: “HostName”=“root@192.168.1.1”
Line 6: “LogFileName”=“&Y.&M.&D-&T_putty.log”
Line 58: “PublicKeyFile”=“C:\\Path\\To\\PuTTY\\Key.ppk”
Merge profile into registry, open/reopen PuTTY, then load SSH.OpenWrt profile

Download/Upload firmware image to router
Download via SSH Terminal:
cd /tmp && opkg update && opkg install wget && wget <Image-Link>
– OR –
Upload via Client Machine Terminal:
scp -r -i "C:\OpenWrt.ppk" -2 -scp -P 22 "D:\Path\To\Firmware.img" root@192.168.1.1:/tmp
For PuTTY, change: scp to pscp -scp

-scp = force use of SCP protocol
-r = copy directories recursively
-i = private key file for user authentication
-2 = force use of particular SSH protocol version [2]
-p = connect to specified port

Lantis
Moderator
Posts: 6751
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: WRT3200ACM change boot partition and reflash Linksys FW

Post by Lantis »

Ok that instruction isn't quite right. It makes a very simple problem overly complex.

All you need to do is follow this:
viewtopic.php?f=8&t=8505
to establish both an SCP and a SSH connection to the router.

Move the required linksys OEM image into the /tmp folder using WinSCP
Issue a sysupgrade over SSH:
sysupgrade -n -F /tmp/name-of-firmware-file.img
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

kiwiandy
Posts: 17
Joined: Sun Jan 22, 2017 2:30 am

Re: WRT3200ACM change boot partition and reflash Linksys FW

Post by kiwiandy »

THat made it easy... thanks!
ALL SORTED NOW :)

Post Reply