Reverting Netgear WNDR3700v3 to stock

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
naasking
DD-WRT Novice


Joined: 04 Jan 2024
Posts: 3

PostPosted: Thu Jan 04, 2024 17:21    Post subject: Reverting Netgear WNDR3700v3 to stock Reply with quote
I have a netgear WNDR3700v3 that's running DD-WRT v3.0-r29440 mega that I've been using as a switch. I want to revert it to stock or upgrade the DD-WRT running on it. I just can't seem to get it to install any image, either stock, DD-WRT or OpenWRT, it always just boots back to the existing DD-WRT.

I've tried:

* GUI firmware installation: the connection resets and the browser shows a connection reset error after 3-5 seconds and the router reboots. This happens even if I have a switch in between my computer and the router. I've tried flashing both the stock firmware and DD-WRT and OpenWRT, same result. I've also tried Chome, Firefox and Edge, they all reset in similar ways.

* TFTP installation: I've tried both Windows tftp client and tfpd64, and I've tried holding the reset button under the router during boot [2,3,4] and not [1], I've tried waiting for TTL=100 before trying the tftp upload and running it before and after that, dozens of times, nothing seems to work and the tftp attempt just times out. Holding the reset button while it's powering on leaves the ethernet ports unresponsive to pings and the power LED remains amber with no other LEDs activating until I release the reset button (I've held it for 2+ mins with no change and no ping response), so failsafe/recovery mode doesn't appear to work [5]. The inability to engage recovery mode has the same symptoms as user o0camilo0o posted about here, but nobody replied to that message so I don't know if there's a resolution. When I release the button the other LEDs come on soon after (like wifi), but IP still doesn't respond to pings until I power cycle. At no point have I seen the power LED "steadily blinking green" (or any colour) per the instructions. What I see when I power on the device normally is that the power LED switches to green for maybe 2-3 seconds, then switches to amber and back to green and then stays like that.

* nmrpflash: this never receives a conection. I disabled the Windows firewall and tried both going through a switch and directly to the router.

Any suggestions for how to proceed?

I haven't tried to setup a serial console yet as I assume that will require opening the unit, but with DD-WRT apparently running on the unit I'm hoping this won't be necessary.

[1] Netgear tftp: https://kb.netgear.com/000059633/How-do-I-upload-firmware-to-my-NETGEAR-router-using-a-TFTP-client-on-Microsoft-Windows

[2] ddwrt tftp: https://wiki.dd-wrt.com/wiki/index.php/Netgear_WNDR3700

[3] ddwrt tftp: https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=843259#843259

[4] OpenWRT tftp: https://openwrt.org/toh/netgear/wndr3700#how_to_flash_the_firmware_to_device

[5] Failsafe mode: https://openwrt.org/toh/netgear/wndr3700?#recovery_flash_in_failsafe_mode

[6] https://wiki.dd-wrt.com/wiki/index.php/Netgear_WNDR3700#WNDR3700_v3 1
Sponsor
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1958

PostPosted: Thu Jan 04, 2024 18:03    Post subject: Reply with quote
Seems that you are either not using the right browser or webUI upgrade is broken; Other means of flashing could be timing or lack of using tftpd32/64 with anticipation window of 1024 or 2048 bytes. The nmrpflash utility sometimes requires specific things to be done to work. You can still upgrade DD-WRT, though.

Using PuTTY or KiTTY via telnet or ssh to upgrade (to current release of) DD-WRT:
Code:
cd /tmp
wget http://ftp.dd-wrt.com/dd-wrtv2/downloads/betas/2024/01-02-2024-r54682/broadcom_K3X/dd-wrt.v24-54682_NEWD-2_K3.x_mega-nv64k.bin
write dd-wrt.v24-54682_NEWD-2_K3.x_mega-nv64k.bin linux
reboot

OR
Code:
cd /tmp
wget -O firmware.bin http://ftp.dd-wrt.com/dd-wrtv2/downloads/betas/2024/01-02-2024-r54682/broadcom_K3X/dd-wrt.v24-54682_NEWD-2_K3.x_mega-nv64k.bin && tail -f /var/log/messages
reboot

_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
naasking
DD-WRT Novice


Joined: 04 Jan 2024
Posts: 3

PostPosted: Thu Jan 04, 2024 19:17    Post subject: Reply with quote
I will try your suggestion, thanks. Is there a reason you're linking to:

http://ftp.dd-wrt.com/dd-wrtv2/downloads/betas/2024/01-02-2024-r54682/broadcom_K3X/dd-wrt.v24-54682_NEWD-2_K3.x_mega-nv64k.bin

rather than the following which matches the actual model number of my device?

https://ftp.dd-wrt.com/dd-wrtv2/downloads/betas/2024/01-02-2024-r54682/broadcom_K3X/dd-wrt.v24-54682_NEWD-2_K3.x_mega-WNDR3700v3.chk

I'm just not sure if there's some difference I should be aware of before proceeding.
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1958

PostPosted: Thu Jan 04, 2024 19:39    Post subject: Reply with quote
https://wiki.dd-wrt.com/wiki/index.php/Netgear_WNDR3700
From the above Wiki, under V3:
Quote:
  • Upgrade: Use mega-nv64k.bin, mini-nv64k.bin or trailed (mini-WNDR3700v3.chk) images.
    • This is a Broadcom unit with 64k nvram, identical to WNDR4000.
  • K3.X builds do work on this unit but you must first flash K2.6, as there is no mini K3.X build:
    • (i.e. K3.x_mega-WNDR3700v3.chk K3.x_mega-nv64k.bin)

_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
naasking
DD-WRT Novice


Joined: 04 Jan 2024
Posts: 3

PostPosted: Thu Jan 04, 2024 21:16    Post subject: Reply with quote
Thanks, ssh was a bust, it immediately aborted the connection once I tried to execute the write command. Telnet worked but I received this error:
Code:
root@DD-WRT:/tmp# write dd-wrt.v24-54682_NEWD-2_K3.x_mega-nv64k.bin linux
function stop_pppoeserver not found
function stop_freeradius not found
dd-wrt.v24-54682_NEWD-2_K3.x_mega-nv64k.bin: Bad trx header


This thread suggests using nmrpflash, but I already tried that. I gave it another go, this time ensuring I was plugging into port 1 on the router, and I used the explicit -a and -A parameters to set the IP addresses on each end. It didn't work when I plugged directly into the router from the computer, but when I went through an intermediate switch nmrpflash suddenly found the device!

I managed to flash the stock firmware. Thanks for your help!
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14249
Location: Texas, USA

PostPosted: Thu Jan 04, 2024 21:55    Post subject: Reply with quote
Would've been nice to see what the .chk file produced from either webUI while tailing the syslog (tail -f /var/log/messages via telnet/ssh) or from CLI flash. Seems this device can be finnicky and lack of reporting save and except for a report on a K2.6 build in the New Build - 11/01/2023 - r53843 thread requires some attention.

Help updating Netgear WNDR3700v3 from old DD-WRT

Upgrade DD-WRT on my Netgear WNDR3700v3

latest for WNDR3700v3?

Going to email BrainSlayer and link this thread.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
BrainSlayer
Site Admin


Joined: 06 Jun 2006
Posts: 7492
Location: Dresden, Germany

PostPosted: Fri Jan 05, 2024 4:25    Post subject: Reply with quote
naasking wrote:
Thanks, ssh was a bust, it immediately aborted the connection once I tried to execute the write command. Telnet worked but I received this error:
Code:
root@DD-WRT:/tmp# write dd-wrt.v24-54682_NEWD-2_K3.x_mega-nv64k.bin linux
function stop_pppoeserver not found
function stop_freeradius not found
dd-wrt.v24-54682_NEWD-2_K3.x_mega-nv64k.bin: Bad trx header


This thread suggests using nmrpflash, but I already tried that. I gave it another go, this time ensuring I was plugging into port 1 on the router, and I used the explicit -a and -A parameters to set the IP addresses on each end. It didn't work when I plugged directly into the router from the computer, but when I went through an intermediate switch nmrpflash suddenly found the device!

I managed to flash the stock firmware. Thanks for your help!


you are doing it wrong. the nv64 files are only flashable by web and have a special webgui only header. if you use the standard .bin file it will work

_________________
"So you tried to use the computer and it started smoking? Sounds like a Mac to me.." - Louis Rossmann https://www.youtube.com/watch?v=eL_5YDRWqGE&t=60s
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14249
Location: Texas, USA

PostPosted: Fri Jan 05, 2024 17:11    Post subject: Reply with quote
So, to flash an upgrade via CLI, it would be this instead, I presume:
Code:
cd /tmp
wget http://ftp.dd-wrt.com/dd-wrtv2/downloads/betas/2024/01-02-2024-r54682/broadcom_K3X/dd-wrt.v24-54682_NEWD-2_K3.x_mega.bin
write dd-wrt.v24-54682_NEWD-2_K3.x_mega.bin linux
reboot

OR
Code:
cd /tmp
wget -O firmware.bin http://ftp.dd-wrt.com/dd-wrtv2/downloads/betas/2024/01-02-2024-r54682/broadcom_K3X/dd-wrt.v24-54682_NEWD-2_K3.x_mega.bin && tail -f /var/log/messages
reboot


I also found this thread which says once you go K3x initially with K3.x_mega.nv64k.bin you can use the generic K3.x_mega.bin (assumption is by webUI, but I doubt that):

Netgear WNDR3700v3 can't upgrade after initial flash

Will make a note in the Wiki. Thanks for the clarification!

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware 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