Upgrading from within Linksys OEM Firmware

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Goto page 1, 2  Next
Author Message
gainestr
DD-WRT User


Joined: 06 Jul 2017
Posts: 78

PostPosted: Wed Nov 01, 2017 2:37    Post subject: Upgrading from within Linksys OEM Firmware Reply with quote
Before I try this and regret it, can a person upgrade DD-WRT from the Linksys partition using dd-wrt web flash so it doesn't overwrite the configuration files?

Typically, I always flash factory to dd-wrt from within OEM Firmware but I was just wondering if it can be done or is it not recommended?

Just curious.

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

CPU Model: Marvell Armada 385
Router: Linksys WRT1900ACSv2
Firmware: DD-WRT v3.0-r39144 std (03/11/19)
Kernel: Linux 4.9.162 #871 SMP Mon Mar 11 03:05:23 CET 2019 armv7l
WiFi Driver: 10.3.8.0-20181120 (strings /lib/modules/*.*/mwlwifi.ko | grep "^10.3")
Options: AP, OpenVPN Server, OpenVPN Client, IPv6, UPnP, QoS(Disabled), SFE (Disabled)

Others:
Linksys SE4008 WRT 8-Port Gigabit Ethernet Switch (LAN Switch)
QNAP TS-253A-8G NAS (2-bay, WD Red 4TB each)
Sponsor
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 981
Location: Louisiana, USA

PostPosted: Wed Nov 01, 2017 4:24    Post subject: Reply with quote
I'm just guessing, but I would think the only reason that might work is you already have DD-WRT installed on one partition.
I'm curious too, but I still wouldn't risk it. It may turn out to be an hour long "why the hell did I do that" type of thing.

Unless you absolutely have to be able to quickly switch back over to stock firmware for some reason - I would just overwrite it and keep your configuration intact.
That's the way I've been mostly upgrading and I haven't had a problem.

With the ability to return to stock much more easily now and DD-WRT builds getting better, I don't think it's as important as much as before to keep Linksys firmware readily available.

Side note: It would appear that newer builds will have a 'Skip Factory Firmware' feature built in to the GUI reset.
Thank you Kong & Brainslayer!

http://svn.dd-wrt.com/changeset/33615

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
roland90
DD-WRT User


Joined: 22 Oct 2015
Posts: 123

PostPosted: Wed Nov 01, 2017 14:52    Post subject: Reply with quote
What does Skip Factory Firmware covers?
Thanks the info.
myersw
DD-WRT Guru


Joined: 13 Jun 2006
Posts: 1608
Location: SE Michigan USA

PostPosted: Wed Nov 01, 2017 15:04    Post subject: Re: Upgrading from within Linksys OEM Firmware Reply with quote
gainestr wrote:
Before I try this and regret it, can a person upgrade DD-WRT from the Linksys partition using dd-wrt web flash so it doesn't overwrite the configuration files?

Typically, I always flash factory to dd-wrt from within OEM Firmware but I was just wondering if it can be done or is it not recommended?

Just curious.

Simple answer, NO.
There is a way to install from the DD-WRT UI and have it install into the existing DD-WRT partition rather then writing to the inactive partition. It makes use of using the command line to trick the router by telling the router the inactive partition is actually the active one. Since the router always installs to the inactive partition you have now told it the partition where the DD-WRT install is is the inactive. He talks about a wrt1900acs, but since they all work the same that doesn't matter. Be sure to note the info in CAPS. They are important.

Just do the following, taken from forum.
How to update firmware without switching to the Linksys partition. Updating through the web interface of
dd-wrt instead of switching to Linksys UI to install/ upgrade.

I'm not sure if this trick is widely known or not, but it should be:

This works on my WRT1900ACS ...

Factory on boot_part 1
DD-WRT on boot_part 2
Running on boot_part 2

Run Command: ubootenv set boot_part 1
DO NOT REBOOT
Upgrade to new webflash - DO NOT RESET

Bingo! This fools the system into upgrading the current boot_part, leaving the Factory FW in place.

(Works if they're reversed too, just change the command accordingly.)

That's the beautiful thing about this method... No reset, no factory to dd-wrt, no reentering all your settings.
You can even go from Kong to Brainslayer or vice-versa.

_________________
Unifi Security Gateway: Unifi Firmware
Netgear r7800: Voxel Firmware
Modem:Netgear CM500V voice and Data.
ISP:Comcast
tutorial for flashing "WRT" series:
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=287813
DD-WRT Installation, Upgrade & Basic Setup–Cliff Notes:
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117
Kong DD-WRT Config Tutorial:
http://www.instructables.com/id/Install-and-Configure-a-DD-WRT-Kong-Router/
I tried to be normal once. Worst 2 minutes ever.
gainestr
DD-WRT User


Joined: 06 Jul 2017
Posts: 78

PostPosted: Thu Nov 02, 2017 3:11    Post subject: Re: Upgrading from within Linksys OEM Firmware Reply with quote
myersw wrote:

This works on my WRT1900ACS ...

Factory on boot_part 1
DD-WRT on boot_part 2
Running on boot_part 2

Run Command: ubootenv set boot_part 1
DO NOT REBOOT
Upgrade to new webflash - DO NOT RESET

Bingo! This fools the system into upgrading the current boot_part, leaving the Factory FW in place.


That's exactly what I was looking for. I actually thought about doing that once but again, I was afraid to do it in case something went drastically wrong.

I really appreciate the help with that. Much appreciated!

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

CPU Model: Marvell Armada 385
Router: Linksys WRT1900ACSv2
Firmware: DD-WRT v3.0-r39144 std (03/11/19)
Kernel: Linux 4.9.162 #871 SMP Mon Mar 11 03:05:23 CET 2019 armv7l
WiFi Driver: 10.3.8.0-20181120 (strings /lib/modules/*.*/mwlwifi.ko | grep "^10.3")
Options: AP, OpenVPN Server, OpenVPN Client, IPv6, UPnP, QoS(Disabled), SFE (Disabled)

Others:
Linksys SE4008 WRT 8-Port Gigabit Ethernet Switch (LAN Switch)
QNAP TS-253A-8G NAS (2-bay, WD Red 4TB each)
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 981
Location: Louisiana, USA

PostPosted: Thu Nov 02, 2017 4:14    Post subject: Reply with quote
Thanks for posting that, Bill!

@gainestr Can you please post your success with this. When you have verified it works with no issues on the latest builds - I'll add it to the Tutorial Sticky.

Thank you both very much! Mr. Green

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
gainestr
DD-WRT User


Joined: 06 Jul 2017
Posts: 78

PostPosted: Thu Nov 02, 2017 15:07    Post subject: Reply with quote
spuriousoffspring wrote:
Thanks for posting that, Bill!

@gainestr Can you please post your success with this. When you have verified it works with no issues on the latest builds - I'll add it to the Tutorial Sticky.

Thank you both very much! Mr. Green


I can confirm that it works. Even better than expected!
I was able to upgrade from r33555 to r33607 and downgrade back to r33555 using webflash file NOT factory-to-ddwrt.

Typically, I would reboot into Linksys OEM firmware and flash factory-to-ddwrt file, then I would restore my backup configuration file, and then I would have to disable and then re-enable IPV6 in order for it to become active. Also, I would need to reboot my WEMO devices in order to get Node-RED to see them again (change in routers MAC address or change in routers IPv4 address made them quit working due to switching between Linksys and DD-WRT firmwares).

Using the procedure from above, the entire upgrade and reboot took less than a minute and my IPV6 settings and WEMO devices remained active.

I will definitely use this shortcut in the future.

Thanks to all who have contributed to this post!

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

CPU Model: Marvell Armada 385
Router: Linksys WRT1900ACSv2
Firmware: DD-WRT v3.0-r39144 std (03/11/19)
Kernel: Linux 4.9.162 #871 SMP Mon Mar 11 03:05:23 CET 2019 armv7l
WiFi Driver: 10.3.8.0-20181120 (strings /lib/modules/*.*/mwlwifi.ko | grep "^10.3")
Options: AP, OpenVPN Server, OpenVPN Client, IPv6, UPnP, QoS(Disabled), SFE (Disabled)

Others:
Linksys SE4008 WRT 8-Port Gigabit Ethernet Switch (LAN Switch)
QNAP TS-253A-8G NAS (2-bay, WD Red 4TB each)
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 981
Location: Louisiana, USA

PostPosted: Thu Nov 02, 2017 15:57    Post subject: Reply with quote
Awesome! Thanks for the update. I will add it to the Tutorial Sticky today.

@myersw Do you have the original poster's user name so that I can give him/her the credit?

Thanks again to you both!

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
myersw
DD-WRT Guru


Joined: 13 Jun 2006
Posts: 1608
Location: SE Michigan USA

PostPosted: Thu Nov 02, 2017 16:10    Post subject: Reply with quote
spuriousoffspring wrote:
Awesome! Thanks for the update. I will add it to the Tutorial Sticky today.

@myersw Do you have the original poster's user name so that I can give him/her the credit?

Thanks again to you both!

Sorry I do not. It was one of those things I saw in a post and grabbed thinking it could come in handy at some point. I have a text file that I keep stuff like this and I guess I should include the author, but never have.
--bill

_________________
Unifi Security Gateway: Unifi Firmware
Netgear r7800: Voxel Firmware
Modem:Netgear CM500V voice and Data.
ISP:Comcast
tutorial for flashing "WRT" series:
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=287813
DD-WRT Installation, Upgrade & Basic Setup–Cliff Notes:
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117
Kong DD-WRT Config Tutorial:
http://www.instructables.com/id/Install-and-Configure-a-DD-WRT-Kong-Router/
I tried to be normal once. Worst 2 minutes ever.
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 981
Location: Louisiana, USA

PostPosted: Thu Nov 02, 2017 16:25    Post subject: Reply with quote
It's all good! I'll do a search for the author. When I first read your post it looked familiar. Wish I had saved it too.

Thanks!

Side Note: My WRT32X arrived yesterday and I'm looking forward to setting it up today or tomorrow.
I'm gonna run on stock firmware for a little while and then DD-WRT it.
Will post my observations.

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
myersw
DD-WRT Guru


Joined: 13 Jun 2006
Posts: 1608
Location: SE Michigan USA

PostPosted: Thu Nov 02, 2017 18:12    Post subject: Reply with quote
spuriousoffspring wrote:
It's all good! I'll do a search for the author. When I first read your post it looked familiar. Wish I had saved it too.

Thanks!

Side Note: My WRT32X arrived yesterday and I'm looking forward to setting it up today or tomorrow.
I'm gonna run on stock firmware for a little while and then DD-WRT it.
Will post my observations.

Will be interested in how the wrt32x goes. Little pricey for me at this time. Just installed a Ubiquiti EdgeRouter so now the wrt3200 is acting as a very powerful AP. Wink Got the Ubiquiti router to play with something different. Probably my imagination, but browsing feels faster with this configuration.

_________________
Unifi Security Gateway: Unifi Firmware
Netgear r7800: Voxel Firmware
Modem:Netgear CM500V voice and Data.
ISP:Comcast
tutorial for flashing "WRT" series:
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=287813
DD-WRT Installation, Upgrade & Basic Setup–Cliff Notes:
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117
Kong DD-WRT Config Tutorial:
http://www.instructables.com/id/Install-and-Configure-a-DD-WRT-Kong-Router/
I tried to be normal once. Worst 2 minutes ever.
slimbrick87
DD-WRT User


Joined: 10 Jul 2017
Posts: 92

PostPosted: Sun Nov 05, 2017 16:51    Post subject: Reply with quote
This is definitely a nice way of upgrading. Thanks for posting it.

Slim

_________________
FIRMWARE: 6-20-2018 - r36168
MODEM: ARRIS SURFBoard SB6183
ROUTER: Linksys WRT1900ACS V2
ISP: TWC Spectrum 100 Mbps Download | 10 Mbps Upload
SERVICES: IVPN OpenVPN Client
NRHTX
DD-WRT Novice


Joined: 05 Jan 2014
Posts: 28

PostPosted: Mon May 28, 2018 23:57    Post subject: Re: Upgrading from within Linksys OEM Firmware Reply with quote
gainestr wrote:
myersw wrote:

This works on my WRT1900ACS ...

Factory on boot_part 1
DD-WRT on boot_part 2
Running on boot_part 2

Run Command: ubootenv set boot_part 1
DO NOT REBOOT
Upgrade to new webflash - DO NOT RESET

Bingo! This fools the system into upgrading the current boot_part, leaving the Factory FW in place.


That's exactly what I was looking for. I actually thought about doing that once but again, I was afraid to do it in case something went drastically wrong.

I really appreciate the help with that. Much appreciated!

Guys, I currently have a WRT1900AC V1 with firmware DD-WRT v3.0-r31924 std (05/02/17) for the last 3 days I have been trying to upgrade to the latest beta firmware 05-23-2018-r36006 › linksys-wrt1900ac every upgrade I try the current firmware remains the sam.

1st, I would like to know, how do you know where the current firmware is installed example par 1 or 2.

2nd, If I follow the above instructions will I finally be able to upgrade?

Sorry to be a hater Evil or Very Mad but I am beginning to hate this WRT1900AC. I have never had problems installing DD WRT firmwares until I purchased this router.

Anything you can provide would be appreciated.

Thank you
NRHTX
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 981
Location: Louisiana, USA

PostPosted: Tue May 29, 2018 0:18    Post subject: Reply with quote
The only reason you should concern yourself with what partition currently in use is if you are wanting to keep the Linksys Stock Firmware on one partition. And even that isn't as important as it once was. Very easy to return to Stock if you wanted to.

My recommendation is to just upgrade with ddwrt-linksys-wrt1900ac-webflash.bin directly from 31924 Administration Tab - Firmware Upgrade Sub Tab.
ftp://ftp.dd-wrt.com/betas/2018/05-23-2018-r36006/linksys-wrt1900ac/

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
NRHTX
DD-WRT Novice


Joined: 05 Jan 2014
Posts: 28

PostPosted: Tue May 29, 2018 12:00    Post subject: Reply with quote
spuriousoffspring wrote:
The only reason you should concern yourself with what partition currently in use is if you are wanting to keep the Linksys Stock Firmware on one partition. And even that isn't as important as it once was. Very easy to return to Stock if you wanted to.

My recommendation is to just upgrade with ddwrt-linksys-wrt1900ac-webflash.bin directly from 31924 Administration Tab - Firmware Upgrade Sub Tab.
ftp://ftp.dd-wrt.com/betas/2018/05-23-2018-r36006/linksys-wrt1900ac/


Hi spuriousoffspring,

I tried last night and this morning. I tried 2 different browsers, Firefox and Chrome and over the weekend I tried IE. For some reason my firmware is stuck on the old version DD-WRT v3.0-r31924. There has to be a different way to get these firmwares install on the WRT1900AC V1.

Thank you
BRHTX
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum