tl-wr1043n v5.0 via openwrt luci to dd-wrt

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page Previous  1, 2, 3, 4  Next
Author Message
zappel
DD-WRT Novice


Joined: 31 Oct 2013
Posts: 15

PostPosted: Sat Sep 24, 2022 16:07    Post subject: Reply with quote
It did not work with my Realtek Gbit-to-USB port, but with the onboard Intel port.
If this is of any interest.
Sponsor
kernel-panic69
DD-WRT Guru


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

PostPosted: Sat Sep 24, 2022 17:50    Post subject: Reply with quote
blkt wrote:
Right, stripped or webrevert file is only for use with dd-wrt UI and if not done correctly, like LOM, just more headaches.

For some reason, I'm thinking if you don't need stripped for TFTP, you don't need for webrevert. I can test this theory later since recovery is trivial for me. Just a word of advice: I wouldn't talk bad about Lars since all of his webrevert files work. Mine, on the other hand, were broken. At least make your bat connect to the right target Wink

blkt wrote:
If either TFTP or TP-Link Web UI Recovery are available for TL-WR1043N V5 simply use regular unmodified factory files.

The two commits below reveal web recovery does in fact exist but mode access may be limited to a flag set in advance.

https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=01dcd574a24864c10a9c4df4304a3ce0da5c11a9
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=86e7353bff2a5de257de8ec62e782f016eed143c

"Stock-firmware sets a flag in the "romfile" partition before beginning to write and removes it afterwards. If the router
boots with this flag set, bootloader will automatically start Web-recovery and listens on 192.168.0.1. This way, the
vendor-firmware or an OpenWRT factory image can be written.

By doing the same while performing sysupgrade, we can take advantage of the Web-recovery in OpenWRT.

It is important to note that Web-Recovery is only based on this flag. It can't detect e.g. a crashing kernel or other
means. Once activated it won't boot the OS before a recovery action (either via TFTP or HTTP) is performed.
This recovery-mode is indicated by an illuminated WPS-LED on boot."

Thank you for digging those out for me. One of those links was in one of the threads that was moved out of non-moderators' view. I think that was the mechanism that kept returning me to factory firmware every time I tried flashing bad firmware images during my last go-round.

@zappel: glad you got it sorted. The USB ethernet adapter probably would've been better served with an unmanaged switch between PC and router, as well as the (at least) 1024 anticipation window set in TFTPD32/64.

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


Joined: 20 Jan 2019
Posts: 5660

PostPosted: Sat Sep 24, 2022 18:00    Post subject: Reply with quote
I can see how words can be misread but I was not talking bad about LOM only providing a good example.
Conflicting information about v5 needing to be stripped for web interface use over on the OpenWrt forum.
https://forum.openwrt.org/t/tp-link-1043n-v5-factory-revert/14655/6
https://forum.openwrt.org/t/tp-link-1043n-v5-factory-revert/14655/16
https://forum.openwrt.org/t/solved-tp-link-tl-wr1043n-v5-0/4538/87
https://forum.openwrt.org/t/solved-tp-link-tl-wr1043n-v5-0/4538/95
https://forum.openwrt.org/t/solved-tp-link-tl-wr1043n-v5-0/4538/108
https://forum.openwrt.org/t/i-have-a-bricked-tp-link-1043n-v5-at-my-desk-help/20722/17
Shrug, I am leaning towards needs to be stripped and those saying otherwise used TFTP or web recovery.
kernel-panic69
DD-WRT Guru


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

PostPosted: Sat Sep 24, 2022 22:28    Post subject: Reply with quote
Yeah, I guess I misread that part about LOM and should've taken offense at my blunders trying to create them Cool Rolling Eyes

OpenWRT has a lot of conflicting information on their forum, there was a method to serial / tftp flash that didn't work when I was trying to figure this out - but it was the error messages that I was getting regarding flashing via ssh (mtd write file firmware) via OpenWRT, TFTP flash, and flashing via u-boot along with this thread that resulted in finding the key to the problem.

I've edited the supported devices wiki to reflect the minimum usable build, link to the ticket on Trac, and this thread, and will edit it again after the next public beta drops. There are a few things that do need to be removed from the firmware image for this router due to no USB port and other things that need to be looked into / corrected, but that's probably going to need to be a group effort.

I have two of these, the other one is running OpenWRT as it has been since I originally started looking at this two years ago and didn't want to leave stock 2016-era firmware on it. I had considered doing a custom OpenWRT build environment to make full use of the flash space as the firmware they provide is ~4MB and Gargoyle seems to take forever to drop new releases.

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


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

PostPosted: Tue Sep 27, 2022 0:36    Post subject: Reply with quote
Just wanted to update here real quick. The 50274 alpha test build is looking good except one cosmetic issue. All of the extra USB-related features are now removed. Not sure if we will see this build go public beta release or not yet, I haven't asked. Been a long day dealing with a customer's ISP snafu initiated by a sales representative that has no eyes in the field and ain't got a clue.

Administration -> Commands:


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


Joined: 31 Oct 2013
Posts: 15

PostPosted: Sat Oct 08, 2022 15:05    Post subject: Reply with quote
Hello,

if I understand it right, there is now a working firmware since the 3rd of October,
But where do I find it?

Regards, Zappel
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12835
Location: Netherlands

PostPosted: Sat Oct 08, 2022 15:17    Post subject: Reply with quote
See the forum guidelines:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

Lots of helpful tips also where to download and how to research etc.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
zappel
DD-WRT Novice


Joined: 31 Oct 2013
Posts: 15

PostPosted: Sat Oct 08, 2022 15:38    Post subject: Reply with quote
Hello,

thank you, I went through the documentation.
I have not found it here:
https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2022/10-05-2022-r50357/
but on the ftp server I found it now.

Strange for me ...

Anyway, thank you!

Regards, Zappel
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1899

PostPosted: Sat Oct 08, 2022 15:46    Post subject: Reply with quote
https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2022/10-05-2022-r50357/tplink_tl-wr1043n-v5/
_________________
"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
zappel
DD-WRT Novice


Joined: 31 Oct 2013
Posts: 15

PostPosted: Sat Oct 22, 2022 20:14    Post subject: Reply with quote
Good news: I succeeded flashing it.
Bad news: I tried to configure it as simple AP, can not access it anymore and realised, that 30s Hard reset does not work.

Has anyone any idea, please?
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1899

PostPosted: Sat Oct 22, 2022 23:52    Post subject: Reply with quote
Are you sure you are accessing it at http://192.168.1.1 (default DD-WRT IP)? TP-Link default IP is 192.168.0.1.
_________________
"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
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5660

PostPosted: Sun Oct 23, 2022 3:27    Post subject: Reply with quote
User guide factory default or hard reset is 7 seconds, but if not working should still have access to Telnet as root.
zappel
DD-WRT Novice


Joined: 31 Oct 2013
Posts: 15

PostPosted: Sun Oct 23, 2022 7:12    Post subject: Reply with quote
Sure!
As I said, I flashed it successfully with dd-wrt and configured it as AP under …1.1
Somehow, even though I disabled Firewall etc. I can
not access it anymore. Therefore I wanted to reset it
To access it again, under 192.168.1.1 I try to reset it via 30s reset button.
but this is not possible.
Shouldn‘t also the wifi dd-wrt disappear after a successful reset?
Also no reset indication from the LEDs
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5660

PostPosted: Sun Oct 23, 2022 7:20    Post subject: Reply with quote
Depends on router model usually wireless is available with hardcoded default password, but try an Ethernet cable.
If hard reset was successful you will no longer have Telnet access, or SSH if it was enabled, so http only to webUI.
Set username and password. Be sure not to lock yourself out with a stored password. Try a different web browser.
zappel
DD-WRT Novice


Joined: 31 Oct 2013
Posts: 15

PostPosted: Sun Oct 30, 2022 16:25    Post subject: Reply with quote
In the end, all I wanted to say, it seems there is a bug in the DD-WRT Firmware, the 30s reset does not work.
Goto page Previous  1, 2, 3, 4  Next Display posts from previous:    Page 3 of 4
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