DIR-825b - FW39905

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


Joined: 28 Sep 2013
Posts: 313

PostPosted: Tue Jun 04, 2019 14:53    Post subject: DIR-825b - FW39905 Reply with quote
Hello,
as already reported FW39905 crashed my DIR-825. Cracy is that:
- after reset I get an IP under Debian and Win7 from the DIR like 192.168.1.x and I see the DIR as DNS 192.168.1.1 with my PC; but when I try to reach the DIR in FireFox with 192.168.1.1 an error comes up "no connection to this server";
- when I link the DIR to my main Router Lan to Wan (router cascade) and my PC to Lan of the DIR I reach the INet w/o any problems;
- after 30/30/30 I get the Recovery Mode under 192.168.0.1; I can choose some bin-file, but after tapping upgrade an error comes up "upgrade failed" w/o starting to count %, it doesn't matter wether I try D-Link-FW/ dd-wrt/ open-wrt (factory or upgrade);
- in Acrylic Wi-Fi home I see the two SSIDs of the DIR as dd-wrt 2,4GHz and 5GHz.
No difference between Lan and WLan.
So my conclusion is that the DIR-825 isn't dead at all. I only am not able to install any FW or to reach any setup site.
Is there any chance to force a new FW onto the device and -if yes- how?
Thx in advance.
ervau
Sponsor
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1407

PostPosted: Tue Jun 04, 2019 22:05    Post subject: Reply with quote
I am assuming that you ahve tried the DLink emergency flashing page.

Have you tried serial, or ssh/telneting in to the router?

have you tried command line upgrade/downgrade?
ervau
DD-WRT User


Joined: 28 Sep 2013
Posts: 313

PostPosted: Wed Jun 05, 2019 5:54    Post subject: Reply with quote
Hello Wildlion,
as mentioned in my post
- after 30/30/30 I tried to downgrade the FW via the Emergency Mode (I think that‘s what you mean with D-Link emergency flashing page?!)
- I‘ve also tried to reach the device via WinSCP, no success (what can I do there?)
- command line up-/ downgrade how to do?; I always used Firefox
ervau
ervau
DD-WRT User


Joined: 28 Sep 2013
Posts: 313

PostPosted: Wed Jun 05, 2019 13:19    Post subject: Reply with quote
add on:
- in CMD (Win) I can ping 192.168.1.1 successfully
- via PuTTY Telnet/ SSH -> connection refused by server
ian5142
DD-WRT Guru


Joined: 23 Oct 2013
Posts: 2318
Location: Canada

PostPosted: Wed Jun 05, 2019 15:00    Post subject: Serial would be next Reply with quote
Besides the Emergency Recovery room, the next step is serial.

This page is a start: https://openwrt.org/toh/d-link/dir-825#serial

DON'T CONNECT the 3.3V pin EVER.
The COM port settings from that page should work though.

At the very least serial will tell you what the router is doing.

I have recovered my D-Link 825 B1 both via the Recovery Room and via serial. Have patience with serial, nearly every router has different serial commands in order to flash the firmware.

_________________
Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings


Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.

Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS

Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
ervau
DD-WRT User


Joined: 28 Sep 2013
Posts: 313

PostPosted: Wed Jun 05, 2019 15:41    Post subject: Reply with quote
Thanks ian5142 for your reply.
Looks pretty dangerous Shocked
But let's see how far I get it.
I stripped the device and I found near the wps-switch a "four-hole named JP1 port" w/o any other markings. That's the COM port?
How do I proceed? If it's section "A C Program to flash DIR-825" I'm afraid it exceeds my capabilities.
ian5142
DD-WRT Guru


Joined: 23 Oct 2013
Posts: 2318
Location: Canada

PostPosted: Wed Jun 05, 2019 17:24    Post subject: Serial Reply with quote
Serial program, I use PuTTY but Br@y's Terminal or another will work fine.
Settings are in that link I sent.

You will need something like this: https://www.adafruit.com/product/954

As I mentioned don't use the 3.3V pin, it is not required. Just Ground (GND), Rx and Tx.

Plug in the USB side of the adapter, set up the program.

Hook up the 3 wires.

Then plug in the router's AC adapter, see what happens.

_________________
Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings


Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.

Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS

Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1407

PostPosted: Thu Jun 06, 2019 1:12    Post subject: Reply with quote
Here is a reference article about serial recovery:

https://wiki.dd-wrt.com/wiki/index.php/Serial_Recovery
ervau
DD-WRT User


Joined: 28 Sep 2013
Posts: 313

PostPosted: Thu Jun 06, 2019 11:53    Post subject: Reply with quote
Hello Wildlion,
thx again. I modified the DIR with a 3-pin-connector and ordered a USB-to-sereal-cable (takes some time to ship from China to Germany) and read your last post. When everything is ready I'll be back again.
ervau
ervau
DD-WRT User


Joined: 28 Sep 2013
Posts: 313

PostPosted: Sat Jun 08, 2019 12:11    Post subject: Reply with quote
Hello Wildlion,
I don't have the cable up to now. But nevertheless it -the DIR- talks to me again. I don't know why and why it didn't before but now it does.
I assume the reason why it didn't was simply an active "NoScript" in Firefox, absolutely not sure.
But anyway I like to learn how to "serial" the device.
With PuTTY SSH and Telnet I get a surface (I hope with serial there's no difference; when I have the wiring)
"DD-WRT v3.0" "BusyBox v1.30.1 ..." and a prompt "root@[i]DEVICE[/i]:~#".
How do I proceed; what are the commands (I fount some for BusyBox in the INet); where do I get the FW from, it's the bin-file from ftp://ftp.dd-wrt.com/betas/? Is there a step by step instruction?
Thanks in advance.
ervau
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1407

PostPosted: Sat Jun 08, 2019 16:25    Post subject: Reply with quote
If the firmware has booted and is up, via telnet or serial or ssh, you will reach the command line and here is the dd-wrt wiki reference:

https://wiki.dd-wrt.com/wiki/index.php/Telnet/SSH_and_the_Command_Line

if you are in the boot loader via serial the first reference is what you need.

Recovering the firmware versus flashing is different.

If you want to flash the firmware via command line an example would be once you have logged into the router:

Code:

wget http://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2019/06-06-2019-r39956/dlink-dir825-revb/dir825-firmware.bin

write dir825-firmware.bin linux



Then once it is done, reboot the system (or power cycle) and hopefully everything should be updated
ervau
DD-WRT User


Joined: 28 Sep 2013
Posts: 313

PostPosted: Sat Jun 08, 2019 17:24    Post subject: Reply with quote
thanks again and 'scuse my inexperience!
The CODE:.... you post requires INet connection of the DIR?! My provider only gives routers to us customers no modems.
How the CODE:.... looks like when the DIR and the PC have no INet and the file is already on my PC f.ex.
D:\Archiv\driver\xp_7\Netzwerk\DLink_DIR825\DIR825_RevB_DD-WRT\dir825b-firmware_39956.bin
?
ervau
Ah-Pin-Kor
DD-WRT User


Joined: 19 Sep 2015
Posts: 267

PostPosted: Sun Jun 09, 2019 0:32    Post subject: Reply with quote
If the firmware file is on your PC and you can ssh into the router, you can use scp to transfer the file from PC to router.
Use winscp (with nice gui) or pscp.exe (from putty package). Transfer the file to router's /tmp dir.
Then ssh into the router, cd /tmp, and run the "write firmware-file linux" and reboot.

_________________

Netgear R7800 kongpro 19.07 20190919 || Netgear R7000 36070M kongac (Client Bridge=5GHz, AP=2.4GHz with bridged VAP)
Linksys WRT32X davidc502 OpenWrt || Linksys WRT1200ACv1 Gargoyle 1.11.x
Linksys WRT1900ACSv2 dd-wrt 39956
ervau
DD-WRT User


Joined: 28 Sep 2013
Posts: 313

PostPosted: Thu Jun 13, 2019 11:24    Post subject: Reply with quote
Hi folks,
thanks for your support (up to now Very Happy )!
Both procedures work fine, loading from the INet or copying from the PC and "writing to Linux" with telnet/ SSH or WinSCP. One requirement is necessary as I found out: telnet and/or SSH have to be set enabled in the settings of the router. That's not the case when the DIR is set to factory defaults; there both are set to disabled. So no connection is possible?! Or is there a way to set to enabled "from outside" and not via the INet Explorer control panel?
Is that the same when to use serial (up to now I didn't have the chance to test; USB cable isn't here yet/ RS232 cable I didn't fix up to now)?
ervau
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1407

PostPosted: Fri Jun 14, 2019 13:04    Post subject: Reply with quote
ssh and/or telnet have to be enabled, it does not matter if you use command line or web interface to enable them. Command line can be accessed via ssh, telenet, or serial. Serial is always enabled (unless you go out of your way to disable it).
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