TP-LINK Archer C9 v.1 in bootloop/bricked after dd-wrt updat

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2  Next
Author Message
Capital
DD-WRT Novice


Joined: 08 Jan 2022
Posts: 4

PostPosted: Sat Jan 08, 2022 6:34    Post subject: TP-LINK Archer C9 v.1 in bootloop/bricked after dd-wrt updat Reply with quote
I upgraded my TP-LINK Archer C9 v.1 (US version) firmware from dd_wrt build v3.0_r44715 to
/dd-wrtv2/downloads/betas/2022/01-06-2022-r47976/tplink_archer-c9v1/archer-c9v1-webflash.bin.

I thought I was following the peacock thread, but obviously not well enough. On upgrading the firmware it said the update was successful, but after reboot the router has been in a constant boot loop.

I believe it is in a boot loop because the right three blue lights on the router will alternate on for several seconds, then off for several seconds, then on again. My MacOS 10.12 computer network settings will also show the ethernet as connected, then unconnected, then connected again. Pings to 192.168.1.1 router always return "Request timeout", but alternate periods that it returns "Host is down", and periods where it does not return that.

I tried to tftp upload the original tp-link firmware, as instructed in the bricked section of https://wiki.dd-wrt.com/wiki/index.php/TP_Link_Archer_C9 (with tp-link firmware filename set to ArcherC9v1_tp_recovery.bin, and chmod 766 permissions). With tftp server running and computer connected via ethernet, I turn off the router, hold the reset button, turn on the router, continue holding reset button for 5 seconds and then let go of the reset button. However I've never gotten any logs indicating that the router it is actually attempting a tftp upload. I'm not certain how be certain that the computer tftp server is setup correctly.

(I tried setting the computer static IP to 192.168.1.8, 192.168.0.66, and 192.168.1.66. The subnet mask is 255.255.255.0. Router IP address (on the computer) is 192.168.1.1, which is the setting the router last successfully worked at. Computer firewall is turned off.)

I never did a 30/30/30 reset, as that is supposed to be bad for arm hardware.

Any help would be appreciated!
Sponsor
daemonsyn
DD-WRT Novice


Joined: 09 May 2020
Posts: 19

PostPosted: Sat Jan 08, 2022 6:49    Post subject: Reply with quote
Try using

IP: 192.168.0.66
Netmask: 255.255.255.0

You can use this video as your reference.

https://www.youtube.com/watch?v=AU8RyW82Z2M&ab_channel=RichardLloyd
Capital
DD-WRT Novice


Joined: 08 Jan 2022
Posts: 4

PostPosted: Sat Jan 08, 2022 7:07    Post subject: Reply with quote
I did watch that video and use those IP addresses without success. I don't get any tftp log from the router.

Note: I used the tftp server on MacOs 10.12, because my Windows machine has no ethernet port. I think the tftp server settings are correct, but I'm not certain.
daemonsyn
DD-WRT Novice


Joined: 09 May 2020
Posts: 19

PostPosted: Sat Jan 08, 2022 10:16    Post subject: Reply with quote
Capital wrote:
I did watch that video and use those IP addresses without success. I don't get any tftp log from the router.

Note: I used the tftp server on MacOs 10.12, because my Windows machine has no ethernet port. I think the tftp server settings are correct, but I'm not certain.


You may need to try it out on a windows machine.
kernel-panic69
DD-WRT Guru


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

PostPosted: Sat Jan 08, 2022 12:31    Post subject: Reply with quote
One, two, three, four, five; release. Don't know why the wiki says 2-4 seconds. It's 5 seconds to enable TFTP recovery (or until the tftp server starts uploading the file). You can also try 192.168.1.66, but I doubt you'd need to.

https://openwrt.org/toh/tp-link/archer-c9

_________________
"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
Capital
DD-WRT Novice


Joined: 08 Jan 2022
Posts: 4

PostPosted: Sat Jan 08, 2022 19:14    Post subject: Reply with quote
Unfortunately I have not been able to get any sign that the tftp server on the router is active. I tried both 192.168.0.66 and 192.168.1.66 as IP addresses for the computer.
kernel-panic69
DD-WRT Guru


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

PostPosted: Sat Jan 08, 2022 19:48    Post subject: Reply with quote
I presume you are launching tftpd on MacOS similar to this:

https://sky579x.blogspot.com/2016/10/tftp-serverclient-on-mac-os-x.html

If you are trying to do tftp client "put filename ... " that won't work.

_________________
"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
pawhtiobo
DD-WRT User


Joined: 13 Apr 2021
Posts: 68
Location: Portugal

PostPosted: Thu Jan 13, 2022 19:52    Post subject: Reply with quote
@Capital

I have the v2 version, and the TFTP recovery never worked for me when it bricks, it uploads the FW sometimes via TFTP but the boot loop persists, the only way I recover it is using serial recovery.

Check this post of mine for instructions:

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=328863&highlight=

Good luck!
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Tue Jan 18, 2022 13:02    Post subject: Reply with quote
The same happened for me when flashing r48138.
I have sent a serial bootlog to Sebastian.

_________________
Kernel panic: Aiee, killing interrupt handler!
Capital
DD-WRT Novice


Joined: 08 Jan 2022
Posts: 4

PostPosted: Tue Jan 18, 2022 21:13    Post subject: Reply with quote
Thank you all for your input. I've decided not to attempt a Serial recovery.

On tftp:


@kernel-panic69 I was using the MacOs tftp server, as mentioned in the link you posted. Why is "put filename" known to not work? How else should tftp transfers on MacOs be done?

Should Wireshark be able to indicate whether or not the router is even attempting a tftp transfer?
kernel-panic69
DD-WRT Guru


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

PostPosted: Tue Jan 18, 2022 23:13    Post subject: Reply with quote
Because when you put a file, you are using client mode tftp, not server mode tftp. The folder you have to put the firmware image file in, unless you have manipulated the .plist file is /private/tftpboot AFAIK:

https://kb.promise.com/thread/how-do-i-enable-a-tftp-server-on-mac-os-x/

_________________
"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
dwardo
DD-WRT User


Joined: 07 Feb 2013
Posts: 126
Location: France

PostPosted: Sun Jan 30, 2022 18:27    Post subject: Reply with quote
My ArcherC9v1 has taught me the following :
1. Always reboot before attempting an upgrade.s Everytime I forget to do it (and router has been up for more than a week usually) I end in a bootloop (I forgot again yesterday when updating to 48218... so had to serial restore to factory/stock...)
2. Recent ddwrt versions don't install from factory... They bootloop (to me the automatic CTF detection is to blame) (I tried again yesterday to see if things had changed)...
I end up doing :
a. install from factory with r46974 which does not bootloop
b. reboot (if activating CTF is not available on first boot which has happened...)
c. manually set CTF to enabled and select CTF+FA (hit apply which reboots)
d. upgrade to more recent versions...
pawhtiobo
DD-WRT User


Joined: 13 Apr 2021
Posts: 68
Location: Portugal

PostPosted: Sun Jan 30, 2022 23:46    Post subject: Reply with quote
dwardo wrote:
My ArcherC9v1 has taught me the following :
1. Always reboot before attempting an upgrade.s Everytime I forget to do it (and router has been up for more than a week usually) I end in a bootloop (I forgot again yesterday when updating to 48218... so had to serial restore to factory/stock...)
2. Recent ddwrt versions don't install from factory... They bootloop (to me the automatic CTF detection is to blame) (I tried again yesterday to see if things had changed)...
I end up doing :
a. install from factory with r46974 which does not bootloop
b. reboot (if activating CTF is not available on first boot which has happened...)
c. manually set CTF to enabled and select CTF+FA (hit apply which reboots)
d. upgrade to more recent versions...


@dwardo

I also have done a reboot before every upgrade on my v2, but I was doing that as precaution, now with your confirmation, I will do it always.

Also don't do a factory reset after any successful upgrade (images later than 10/2021 bricks the router if reset is made).

I have reported this issue in the past in https://svn.dd-wrt.com/ticket/7485
kernel-panic69
DD-WRT Guru


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

PostPosted: Mon Jan 31, 2022 1:21    Post subject: Reply with quote
Not like issues have not been reported directly to BrainSlayer:
Quote:
Mon, Aug 23, 2021, 5:26 AM

Reported in 47206:

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=329993&postdays=0&postorder=asc&start=15

Not sure if you already corrected this for 47225.

/R,

kp69

Quote:
Tue, Aug 10, 2021, 10:10 PM

I did advise recovery and testing 47142 to see if it was just a bad
image for this device,

but I have a report of a bootloop due to kernel panic:

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=329907

Boot log is in the forum post.

/R,

kp69

_________________
"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
noox
DD-WRT Novice


Joined: 02 Apr 2023
Posts: 1

PostPosted: Tue Apr 04, 2023 21:50    Post subject: Reply with quote
dwardo wrote:
My ArcherC9v1 has taught me the following :
...
b. reboot (if activating CTF is not available on first boot which has happened...)
c. manually set CTF to enabled and select CTF+FA (hit apply which reboots)

Is this confirmed that enabling CTF+FA helps? It seems rather random to me.

Yesterday I tried to upgrade 4 times to 3 different recent firmware versions. One of them was confirmed in the built thread to work with the C9v1. (https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1282506) I always ended up in the boot loop.

I'm still on built r40501 from 2019. There seems to be no CTF/FA (even after reboot, WAN DHCP, no QoS). And I assume it's not worth it with about 100 mBit/s. I will try r46974 and start from there. But I wonder if there are any updates regarding the boot loops with the Archer C9(v1).

Btw.: the easy recovery as described here: https://wiki.dd-wrt.com/wiki/index.php/TP_Link_Archer_C9#Troubleshooting, did not work for me. Although it downloaded the file via TFTP. Serial recovery worked.
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
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