From OpenWRT to DD-WRT

Post new topic   Reply to topic    DD-WRT Forum Index -> Generic Questions
Author Message
iisak
DD-WRT Novice


Joined: 14 Dec 2007
Posts: 2

PostPosted: Fri Dec 14, 2007 14:43    Post subject: From OpenWRT to DD-WRT Reply with quote
Hi, dudes.

OK, here is the thing. I easily installed DD-WRT to my router (Linksys WRT54GL), then I wanted to test OpenWRT and got it installed. Now the problem is, how do I install DD-WRT again to my router?

I have tried install DD-WRT firmware trough OpenWRT WWW-interface but it didn't work.

Any ideas are more than welcome.

Thanks!
Sponsor
confused_user
DD-WRT User


Joined: 17 Mar 2007
Posts: 347

PostPosted: Fri Dec 14, 2007 23:01    Post subject: Reply with quote
From OpenWrt to DD-WRT on the WRT54GL

Via OpenWrt webif GUI:
  • Goto System / Upgrade (Firmware Upgrade)
  • Download the DD-WRT dd-wrt.v24_std_generic.bin image to your PC.
  • Upload the dd-wrt.v24_std_generic.bin image and click on the Upgrade button
  • Wait 2 minutes. The router will reboot itself automatically after the upgrade is complete.
  • Do a hard reset and clear your browsers cache
  • You are done! Access the router via DD-WRT web GUI at http://192.168.1.1/ (username: root/password: admin)


Via mtd:
  • Transfer the DD-WRT dd-wrt.v24_std_generic.bin image on the router. It is important that you put the DD-WRT dd-wrt.v24_std_generic.bin firmware image into the ramdisk (/tmp) before you start flashing.
  • Rename the dd-wrt.v24_std_generic.bin image dd-wrt.v24_std_generic.trx image and flash via mtd
    Code:
    cd /tmp
    mv dd-wrt.v24_std_generic.bin dd-wrt.v24_std_generic.trx
    mtd write dd-wrt.v24_std_generic.trx linux && reboot

  • Wait 2 minutes. The router will reboot itself automatically after the upgrade is complete.
  • Do a hard reset and clear your browsers cache
  • You are done! Access the router via DD-WRT web GUI at http://192.168.1.1/ (username: root/password: admin)


Via TFTP:
  • Enable boot_wait and set boot_time from within OpenWrt:
    Code:
    nvram set boot_wait=on
    nvram set boot_time=10
    nvram commit && reboot

  • Download the DD-WRT dd-wrt.v24_std_generic.bin image to your PC.
  • Unplug the router's power cord.
  • Connect the router's LAN1 port directly to your PC.
  • Configure your PC with a static IP address between 192.168.1.2 and 192.168.1.254. E. g. 192.168.1.2 (gateway and DNS is not required).
  • Execute the TFTP commands (the commands are for Linux) below:
    Code:
    tftp 192.168.1.1
    tftp> binary
    tftp> trace
    tftp> put dd-wrt.v24_std_generic.bin

  • Plug the power on and the TFTP transfer should start immediately
  • Wait 2 minutes. The router will reboot itself automatically after the upgrade is complete.
  • Do a hard reset and clear your browsers cache
  • You are done! Access the router via DD-WRT web GUI at http://192.168.1.1/ (username: root/password: admin)


Hopefully this helps some people.
iisak
DD-WRT Novice


Joined: 14 Dec 2007
Posts: 2

PostPosted: Mon Dec 17, 2007 19:25    Post subject: Thanks Reply with quote
Yeah, got it work.. eventually.

Weird, but I got it work when I switched from Opera to Firefox. All though, router never restarted itself.. I had to restart it manually and give it 30 secs restart from back of router button.
asbesto
DD-WRT Novice


Joined: 23 Apr 2008
Posts: 12

PostPosted: Tue Sep 27, 2011 16:12    Post subject: Reply with quote
I confirm the same issue and the same solution: it was not working while I switched from Chrome to Iceweasel browser Wink

thank you!
MrFidget
DD-WRT User


Joined: 15 Jul 2010
Posts: 378

PostPosted: Wed Sep 28, 2011 21:50    Post subject: Reply with quote
In the peacock thread, it does say that there are issues loading firmware with firefox and to use something else.

I have had consistent issues with FF 3.x, 4 and 5 and firmware updates

I have had success with Google Chrome v14.0.835.186 on XP

Cheers
Chris
GeoDave
DD-WRT Novice


Joined: 27 Nov 2011
Posts: 1

PostPosted: Sun Nov 27, 2011 19:06    Post subject: Reply with quote
This is an old thread but since I had so much trouble getting my WRT150N v1 back to DD-WRT from OpenWRT I thought it my duty to post. For the WRT150N v1 I have had very little success flashing non-openwrt bins when in openwrt and I have tried dozens of times. I was unable to find a "generic" trx file as noted above on the DD-WRT site. I was able to find a trx file on the Download page of DD-WRT site which worked.

I used the following procedures to get from OpenWRT to DD-WRT on the WRT150Nv1 (every time):

1. Download a copy of PuTTY. SSH into the router suing PuTTY using the router IP address and login to OpenWRT.
2. Execute the following commands:

wget http://www.dd-wrt.com/dd-wrtv2/downloads/v24-sp1/Consumer/Linksys/WRT150N_v1/dd-wrt.v24_mini_asus.trx -O /tmp/firmware.trx

mtd -r write /tmp/firmware.trx linux
3. Allow the router to reboot.

This downloads DD-WRT mini_asus trx file into the tmp directory. You can then flash your drive using the mtd command.
uruiamme
DD-WRT Novice


Joined: 09 Nov 2011
Posts: 25

PostPosted: Tue Jan 17, 2017 3:53    Post subject: Yes Reply with quote
I just did this. Here is my explanation on an Atheros device with TFTP:

http://www.dd-wrt.com/phpBB2/viewtopic.php?p=1062327#1062327
Lx23RD
DD-WRT Novice


Joined: 25 Mar 2018
Posts: 1

PostPosted: Sun Mar 25, 2018 14:17    Post subject: From OpenWrt to DD-WRT on the TL-WDR3600 Reply with quote
Hello there,
I have a TP-LINK WDR3600 V.1.5 with openwrt (Barrier Breaker 14.07) installed. I would like to upgrade it with DD-WRT but i am not sure which firmware should i use from the list: https://www.dd-wrt.com/site/support/router-database.
Please let me also know which installation method is recommended in that case.
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1407

PostPosted: Mon Mar 26, 2018 1:04    Post subject: Reply with quote
here is a link to the latest version (it works on mine):

http://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2018/03-20-2018-r35452/tplink_tl-wdr3600v1/

read:

https://www.dd-wrt.com/wiki/index.php/Installation
Quickybricks
DD-WRT Novice


Joined: 28 Aug 2018
Posts: 1

PostPosted: Tue Aug 28, 2018 15:08    Post subject: Reply with quote
confused_user wrote:
From OpenWrt to DD-WRT on the WRT54GL

Via OpenWrt webif GUI:
  • Goto System / Upgrade (Firmware Upgrade)
  • Download the DD-WRT dd-wrt.v24_std_generic.bin image to your PC.
  • Upload the dd-wrt.v24_std_generic.bin image and click on the Upgrade button
  • Wait 2 minutes. The router will reboot itself automatically after the upgrade is complete.
  • Do a hard reset and clear your browsers cache
  • You are done! Access the router via DD-WRT web GUI at http://192.168.1.1/ (username: root/password: admin)



I tried this method for my wrt1200ac router, running OpenWRT and I receive the following error.

"The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform."

Is there another file format available for the dd-wrt generic image?
Thanks!
ShakeItUp
DD-WRT Novice


Joined: 10 Jan 2019
Posts: 2

PostPosted: Thu Jan 10, 2019 17:53    Post subject: Switching From Open WRT to DD-WRT Reply with quote
Greetings,

I also am trying to switch from openwrt to DD-WRT.

I found this thread using the search function.

I also get the same error.

"The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform."

Why does DD-WRT not have another file format so that we can switch?

Thanks
4lexO
DD-WRT Novice


Joined: 29 Mar 2019
Posts: 2

PostPosted: Mon May 06, 2019 12:50    Post subject: Reply with quote
Impossible to do it on the Linksys 3200ACM router. I had the same error when using the GUI :

Code:
"The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform."


I tried with the MTD commands lines but For the last I have this error :
Code:
root@OpenWrt:/tmp# mtd write dd-wrt.v24_std_generic.trx linux
Could not open mtd device: linux
Can't open device for writing!


I tried the TFTP and have the error of :

Code:
-ash: nvram: not found


There is no package that can solve the nvram error.


CAN BE HARMFUL TO THE ROUTER.
To install DD-WRT :
I made a HARD RESET by pressing for at least 20s on the RESET button. I restarted the configuration on the OEM firmware and then installed DD-WRT.
Flash the factory-to-ddwrt.bin
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Generic Questions 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 can attach files in this forum
You can download files in this forum