HELP!!! Blocked the reset button and lost the password!

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


Joined: 01 May 2016
Posts: 41

PostPosted: Tue Oct 25, 2022 14:44    Post subject: HELP!!! Blocked the reset button and lost the password! Reply with quote
Hello! I blocked the Reset button in the settings of the v.41791 firmware - and lost the password. Now I have to change the settings of the router (to use it in changed circumstances), but I can't even do a hard reset because in the settings of the DD-WRT firmware (build 41791) I blocked responding to the reset button. In fact, my router (Archer c9 v.2) has become a brick, although it is in perfect working order.
Any decision will be greatly appreciated!
Thank you in advance for help!
Sponsor
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Tue Oct 25, 2022 15:13    Post subject: Reply with quote
Serial connection would do, or, TFTP recovery back to stock back to dd-wrt sort of thing.

https://wiki.dd-wrt.com/wiki/index.php/TP_Link_Archer_C9

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1941

PostPosted: Tue Oct 25, 2022 15:21    Post subject: Reply with quote
the-joker wrote:
Serial connection would do, or, TFTP recovery back to stock back to dd-wrt sort of thing.

But since we don know what router you have, cant really suggest anything else.

ques wrote:
-snip-
In fact, my router (Archer c9 v.2)
-snip-

X2 on serial, TFTP recovery; serial would only require an nvram erase from CFE prompt, reboot, and then you can reconfigure your DD-WRT from scratch or (preferred) upgrade to the current release. TFTP of DD-WRT doesn't always clear nvram, and going back to stock and starting over is just plain masochistic.

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


Joined: 01 May 2016
Posts: 41

PostPosted: Tue Oct 25, 2022 22:58    Post subject: Reply with quote
Quote:
X2 on serial, TFTP recovery; serial would only require an nvram erase from CFE prompt, reboot, and then you can reconfigure your DD-WRT from scratch or (preferred) upgrade to the current release. TFTP of DD-WRT doesn't always clear nvram,

Thank you, dale_gribble39! I'm assuming that a newbie like me is incapable of unsoldering a serial cable. I downloaded a TFTP server in the hope that after reading its documentation I would know that it was possible to use Ethernet for recovery.
I hope that you will agree to answer the teapot's questions - they, unfortunately, will almost certainly arise Sad .

Thanks to both of you!
ques
DD-WRT Novice


Joined: 01 May 2016
Posts: 41

PostPosted: Tue Oct 25, 2022 23:52    Post subject: Reply with quote
dale_gribble39 wrote:
TFTP of DD-WRT doesn't always clear nvram, and going back to stock and starting over is just plain masochistic.


If it is possible to unlock the hardware of my Archer C9 v2 by writing anything into it (which will allow me to install DD-WRT in the future), then I prefer this masochism to a very difficult OPENING the router (more precisely, practically destroying the case; this is NOT at all teardown in the case of the Archer C9 router!) and soldering wires and cables (which I'm simply not capable of because of my eyesight, not to mention more technical reasons Smile).

If with the help of any of these tools (https://bitbucket.org/phjounin/tftpd64/downloads/) it is possible to REPLACE the firmware that I have locked, then please tell me where I can TRY to learn how to do this (where to read HOW to do this)? Thanks again to both of you!
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1941

PostPosted: Wed Oct 26, 2022 1:33    Post subject: Reply with quote
the-joker wrote:
...TFTP recovery back to stock back to dd-wrt sort of thing.

https://wiki.dd-wrt.com/wiki/index.php/TP_Link_Archer_C9

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Read.

OR:

↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

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

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


Joined: 01 May 2016
Posts: 41

PostPosted: Wed Oct 26, 2022 2:36    Post subject: Reply with quote
dale_gribble39 wrote:
the-joker wrote:
...TFTP recovery back to stock back to dd-wrt sort of thing.

https://wiki.dd-wrt.com/wiki/index.php/TP_Link_Archer_C9

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Read.

OR:

↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

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


THANK you VERY-VERY MUCH, dear dale_gribble39 for your continuous, deep and comprehensive help! Thank you very much!

I will try to understand these things, thank you!!!
ques
DD-WRT Novice


Joined: 01 May 2016
Posts: 41

PostPosted: Fri Oct 28, 2022 2:49    Post subject: Reply with quote
Sorry for contacting you again! I'm unable to start transfer from PC to router (Archer C9 v2).

The first possible reason: I did not understand how to configure my PC \ TFTPD-server TO PERFORM THE "Serve as TFTP server the renamed firmware on the following IP: 192.168.0.66" (as this told in the wiki) - I do not know where in my PC (in the TFTP server) I should set this IP?
By specifying this IP in the TFTP client (in my PC) and pressing the "PUT" button while I turn on the router with the "Reset" button pressed, I get a message that the transfer cannot be performed due the ~"lack of device". (My Firewall is configured).

The second possible reason is my (possible) ban on the "Boot time recovery" in addition to my ban on responding to the "Reset" button (see the picture, please). I'm not sure if I disabled the "Boot time recovery", but I probably did. Could such a setup be the reason for my failure, or the reason for the failure is my misunderstanding of the rules and methods of working with TFTP?



Untitled.png
 Description:
 Filesize:  29.8 KB
 Viewed:  1249 Time(s)

Untitled.png


dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1941

PostPosted: Fri Oct 28, 2022 3:53    Post subject: Reply with quote
You have to set a static IP address of 192.168.0.66 to your Windows PC.

https://duckduckgo.com/?q=setting+a+static+ip+address+windows

And you can also bind TFTPD32/64 to that IP address in it's settings.

_________________
"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
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Fri Oct 28, 2022 8:17    Post subject: Reply with quote
Also put a switch between the computer and the router to make it easier for you.

If you disabled boot time recovery, the window for TFTP is smaller I think but not impossible.

Anyway, if that doesn't work, serial connection surely will.

If nothing works there's always pay someone that can job and the obvious I'm pretty sure you will never do this again.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1941

PostPosted: Fri Oct 28, 2022 14:45    Post subject: Reply with quote
x2 for switch recommendation. You should also set anticipation window in TFTPD to at least 1024 bytes. As far as serial goes on TP-Link C9v2, you may run into a situation where either the tx and/or the rx pin are missing line resistors and you may have to bridge the pads on the board somehow. Unfortunately, the images on the OpenWRT wiki are missing to verify this. Further information that may be helpful and hopefully not confuse you, but possibly worth the read:

Unbricking? an TP Link Archer C9 v2

TP-Link Archer C9 Brick Fix (Revert To Stock Possibly)
NOTE: You do not need stripped firmware for TP-Link Broadcom devices

TP-Link Archer C9 - Unbrick and back to stock step-by-step guide (PDF file)

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


Joined: 01 May 2016
Posts: 41

PostPosted: Sat Oct 29, 2022 11:00    Post subject: Reply with quote
Huge thanks to both of you!!! I'll try to make sense of all this stuff and hopefully I'll be able to understand it... Of course I won't lose the password anymore - I hope Smile ...
Thank you very much for your continuous effort to help!!!
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6440
Location: UK, London, just across the river..

PostPosted: Sat Oct 29, 2022 11:49    Post subject: Reply with quote
ques wrote:
Huge thanks to both of you!!! I'll try to make sense of all this stuff and hopefully I'll be able to understand it... Of course I won't lose the password anymore - I hope Smile ...
Thank you very much for your continuous effort to help!!!


that's why you set ssh access with key authorisation only, (no password log in for the ssh)..and than you have your back route to the router... (you can pass protect the key itself to make it safer)..
Smile

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1941

PostPosted: Sat Oct 29, 2022 12:30    Post subject: Reply with quote
But what if the password protecting the client key is lost? Better hope that reset button isn't disabled and working, otherwise right back to square one.
_________________
"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
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Sat Oct 29, 2022 13:15    Post subject: Reply with quote
apparently ssh auth login with key only falls back to regular password login, which is bullshit security but hey. This is what I was told recently about that.
_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
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