Flashed a custom build and the web interface is now broken

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


Joined: 21 Nov 2021
Posts: 6

PostPosted: Sun Nov 21, 2021 4:28    Post subject: Flashed a custom build and the web interface is now broken Reply with quote
Hello all, thanks in advance for your help! Very Happy So I got a cheap router (Linksys E900) and I'm aware 8MB/32MB devices are not recommended but still, wanted to learn about custom router firmwares.

After installing DD-WRT I used it for a couple days and really liked its features but noticed some packages (curl specifically) were missing on the mega build my device supported.

I kept digging for information and found about the firmware-mod-kit tool. I proceeded to extract the firmware and I added the curl package and it's dependencies, then tried to build the firmware again.

Obviously it told me the modified file was bigger than the one I provided, so I tried removing some packages with the script also provided in that toolkit.

Long story short, I deleted some stuff I shouldn't and was able to build the firmware again, so me being excited went right away to flash it doing 30/30/30 hard resets before and after.

Fast forward and the device restarted successfully, and I went on my phone to connect to the dd-wrt Wi-Fi network since LAN takes a little longer to connect for some reason.

Sadly even though I get assigned an IP address and can ping the gateway, the web GUI won't load at all and Chrome will say ERR_CONNECTION_REFUSED.

I've been trying to TFTP flash Linksys firmware and the stock DD-WRT build I modified, but even though the recommended TFTP tools/programs say the flash was successful, my router's light will keep blinking and won't restart itself (I've already tried letting it sit there for half an hour and nothing happens).

I try to power cycle, do another 30/30/30 reset but it still loads the modified build. I'm afraid I might just have bricked my device (even though I do get ttl=100 pings right at the device boot and ttl=64 after it's finished booting).

The TFTP flashes have been attempted on a wired connection of course, and I've tried several times since it seems the timing it's really tricky but have not been successful just yet.

Any assistance on this would be greatly appreciated, I wrote a lot since I thought context was really necessary here.
Sponsor
kernel-panic69
DD-WRT Guru


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

PostPosted: Sun Nov 21, 2021 4:49    Post subject: Reply with quote
You can try to see if the E900 has management mode.

https://www.linksys.com/us/support-article?articleNum=137928

https://www.linksys.com/us/support-article?articleNum=140001

Outside of that, your only other option if TFTP fails is likely serial recovery.

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

Quote:
5 pin header in the top right corner, near to where the antenna cable is.

May be of use for visuals:

https://forum.dd-wrt.com/wiki/index.php/Serial_port_pinouts

A couple of de-brick threads I've found that may be of help if you cannot get management mode going:

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

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

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


Joined: 21 Nov 2021
Posts: 6

PostPosted: Sun Nov 21, 2021 6:53    Post subject: Reply with quote
Thank you so much for the quick response, kernel-panic69.

I read the suggested threads and I tried changing the firmware file name to what came out out of the build toolkit, seeing that maybe for TFTP flash it had to be the same as what's currently on the router but it didn't work Sad

I've tried several times already and I'm starting to think the bootloader won't take any upgrade even though it responds to ping with ttl=100 right just as it's turning on.

I'll try to look into the serial recovery, much appreciate your help.

kernel-panic69 wrote:
You can try to see if the E900 has management mode.

https://www.linksys.com/us/support-article?articleNum=137928

https://www.linksys.com/us/support-article?articleNum=140001

Outside of that, your only other option if TFTP fails is likely serial recovery.

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

Quote:
5 pin header in the top right corner, near to where the antenna cable is.

May be of use for visuals:

https://forum.dd-wrt.com/wiki/index.php/Serial_port_pinouts

A couple of de-brick threads I've found that may be of help if you cannot get management mode going:

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

https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=977290
wetechdose
DD-WRT Novice


Joined: 21 Nov 2021
Posts: 6

PostPosted: Sun Nov 21, 2021 23:27    Post subject: Tricky management mode Reply with quote
I tried getting into management mode before but the device never got into it. Tried 30/5/5 timing plus others, but finally got it working with holding 15 seconds unplugged, then plugging it back while still holding it and releasing it 15 seconds later.

The light should be blinking repeatedly, if it doesn't try again. You can try with the LAN cable connected to the device, as you have to be very fast to browse to 192.168.1.1 since the flash window is very short, otherwise the page becomes unresponsive.

Thank you again kernel-panic69 for the insight, definitely got me into trying management mode further!
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