How to flash ISP locked firmware router?

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page 1, 2  Next
Author Message
orif
DD-WRT User


Joined: 03 Oct 2018
Posts: 52

PostPosted: Sat Mar 13, 2021 9:33    Post subject: How to flash ISP locked firmware router? Reply with quote
Just found a very old TP-Link TL-WR740N v4 which unfortunately has an ISP custom firmware installed. I have forgotten the password and cannot connect to the router’s WiFi network in order to log in and flash DD-WRT. Pressing the reset button of the router doesn’t help either. So, how to flash DD-WRT when I am virtually locked out of this router?
Sponsor
Alozaros
DD-WRT Guru


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

PostPosted: Sat Mar 13, 2021 9:53    Post subject: Reply with quote
sounds suspicious to me...my friends son asked the same question, to take control over the router..as his dad restricted his access...
well..you can contact the ISP and obtain a password...usually if they maintain their hardware, they will refuse...and this is for a reason...
as well if you have an access to the router you can use its lan ports...no need of wi-fi password...to flash..(wifi flashing is bad idea)

otherwise...yep all TP-link routers have the way to go around this restriction and flash firmware, but ill leave this research to you..its there somewhere out in the open..do your homework..

its always good to start with more details router model and firmware running...

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 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 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 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
orif
DD-WRT User


Joined: 03 Oct 2018
Posts: 52

PostPosted: Sat Mar 13, 2021 11:22    Post subject: Reply with quote
Alozaros wrote:
if you have an access to the router you can use its lan ports...

Thank you but how do I do that? I have flashed many times but always after I login into the router’s GUI. The router is TP-Link TL-WR740N v4.

Alozaros wrote:
all TP-link routers have the way to go around this restriction and flash firmware, but ill leave this research to you..its there somewhere out in the open..do your homework..

I have searched but found nothing. Maybe I am missing something. I will appreciate if you give me a clue, link or at least a phrase to search for.
kernel-panic69
DD-WRT Guru


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

PostPosted: Sat Mar 13, 2021 15:08    Post subject: Reply with quote
Normal method of flashing via the stock firmware webUI, *but* you want to use 10-20-2017-r33555 or newer
(I would go with at least 11-03-2020-r44715 at present, but 03-12-2021-r45993 should be just fine).

https://www.instructables.com/TP-LINK-TL-WR740NND-V4-and-How-to-Install-DD-WRT-o/

Otherwise, you have to flash via serial from the bootloader using one of the above linked files, not the TL-WR703N file shown:

https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=668847#668804

More reference reading (v4.23), which includes links to OpenWRT wiki:

https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=734066

The above assumes that you have some hint of technical ability to tackle this. I am not responsible if you brick your router.

_________________
"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
Alozaros
DD-WRT Guru


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

PostPosted: Sat Mar 13, 2021 18:27    Post subject: Reply with quote
orif wrote:

I have searched but found nothing. Maybe I am missing something. I will appreciate if you give me a clue, link or at least a phrase to search for.


ok ill give you a clue...youtube how to recover tp-link router via t**p Smile

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 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 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 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
kernel-panic69
DD-WRT Guru


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

PostPosted: Sat Mar 13, 2021 22:26    Post subject: Reply with quote
I'll chase the rabbit down the hole for you, even more:

https://openwrt.org/toh/tp-link/tl-wr740n

http://bkil.blogspot.com/2014/12/tftp-secret-of-tl-wr740n-uncovered.html

https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=784826#782811

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


Joined: 03 Oct 2018
Posts: 52

PostPosted: Sun Mar 14, 2021 10:47    Post subject: Reply with quote
Thank you both. I tried this:
https://www.trishtech.com/2015/06/unbrick-tplink-wr740n-wifi-router/
but unfortunately it didn't work. No message is ever appearing on Tftpd64(portable)'s interface. Could this workaround be disabled in the ISP's custom firmware that is currently installed on the router?
Alozaros
DD-WRT Guru


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

PostPosted: Sun Mar 14, 2021 14:26    Post subject: Reply with quote
orif wrote:
Thank you both. I tried this:
https://www.trishtech.com/2015/06/unbrick-tplink-wr740n-wifi-router/
but unfortunately it didn't work. No message is ever appearing on Tftpd64(portable)'s interface. Could this workaround be disabled in the ISP's custom firmware that is currently installed on the router?


firewall must be off....and nope tftp is not that easy to be disabled...

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 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 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 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
orif
DD-WRT User


Joined: 03 Oct 2018
Posts: 52

PostPosted: Sun Mar 14, 2021 17:41    Post subject: Reply with quote
Alozaros wrote:
firewall must be off

Windows Defender opened prompt and I explicitly checked both private and public networks to be able to communicate.
kernel-panic69
DD-WRT Guru


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

PostPosted: Sun Mar 14, 2021 18:13    Post subject: Reply with quote
Did you verify with Wireshark what the IP addresses and filenames should be? I prefer to use TFTPD32 4.52 server/client with 1024 byte anticipation window set in the settings.

http://tftpd32.jounin.net/tftpd32_download.html

_________________
"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
Alozaros
DD-WRT Guru


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

PostPosted: Sun Mar 14, 2021 18:26    Post subject: Reply with quote
kernel-panic69 wrote:
Did you verify with Wireshark what the IP addresses and filenames should be? I prefer to use TFTPD32 4.52 server/client with 1024 byte anticipation window set in the settings.

http://tftpd32.jounin.net/tftpd32_download.html


orif all available tips given...now your turn...
next available tip is 'serial'...ttl to usb Razz (last resort)

I dearly hope, you are not fulfilling fantasies, that this router will do a miracles, like VPN, QoS or any other heavy load services..as this is router for basic needs or WAP...

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 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 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 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
orif
DD-WRT User


Joined: 03 Oct 2018
Posts: 52

PostPosted: Mon Mar 22, 2021 19:50    Post subject: Reply with quote
kernel-panic69 wrote:
Did you verify with Wireshark what the IP addresses and filenames should be? I prefer to use TFTPD32 4.52 server/client with 1024 byte anticipation window set in the settings.

http://tftpd32.jounin.net/tftpd32_download.html


Broadcast ARP 42 Who has 192.168.0.1? Tell 192.168.0.66

Is this what should I be looking for?
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1407

PostPosted: Tue Mar 23, 2021 22:34    Post subject: Reply with quote
How did your machine get that information from wireshark? That broadcast is looking for probably the default route based on the subnet mask, and it is looking for the MAC address since that is how they will communicate.
orif
DD-WRT User


Joined: 03 Oct 2018
Posts: 52

PostPosted: Wed Mar 24, 2021 7:12    Post subject: Reply with quote
Wildlion wrote:
How did your machine get that information from wireshark? That broadcast is looking for probably the default route based on the subnet mask, and it is looking for the MAC address since that is how they will communicate.

Disabled WiFi and entered these values into the LAN IPv4 properties (change adapter options):
192.168.0.66
255.255.255.0
192.168.0.1
8.8.8.8
8.8.4.4

Then in Wireshark's main screen clicked on the only channel where there was any data flow (Local Area Connection).
kernel-panic69
DD-WRT Guru


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

PostPosted: Wed Mar 24, 2021 12:17    Post subject: Reply with quote
Have you even bothered to connect a serial interface to flash via uboot... apparently, the tftp trick doesn't always work, as I've noticed on other TP-Links recently.
_________________
"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
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC 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 cannot attach files in this forum
You cannot download files in this forum