Posted: Sun Mar 06, 2016 16:49 Post subject: E4200 bad flash recovery
Hello,
I have a E4200 running DDWRT for some years.
When I was updating to r29193 I made a mistake with the .bin file and flashed a version for another router with different nvram size.
Now the router doesn't start up. These are the symptoms:
1-I turn on the router while pinging it from computer, it starts flashing cisco logo and responds to 4 or 5 pings whith ttl=100 and then starts giving "request time out".
2-I already tried to tftp, it flashes the router and gives "flashed successfully". This way the router keeps responding to ping with ttl=100 and logo keeps flashing forever. As I turn off/on the router, happens whats is described point 1.
Is there any way to fix this or do I have a brick now??
As the router downloads the firmware, and responds to ping with ttl=100 I assume the bootloader is OK.
Now I'm trying to erase nvram using serial interface.
I soldered the serial port header on router board and made the connections.
On putty, when I startup the router I receive lots of characters and symbols.
Is this normal or should I receive legible text?
As I said on first post, the router flahes the LED twice and then stops. When the led stops, the characters stops coming too.
I hit the ctrl+c but always happens the same.
Can someone help me from now on?
What should I do, or what am I doing wrong?
I did read it. I suspect your putty settings are wrong. That's why I said what I did. Or a bad solder connection which is covered in the dd-wrt serial recovery wiki which I bet you didn't read carefully. _________________ I am far from a guru, I'm barely a novice.
I did read it. I suspect your putty settings are wrong. That's why I said what I did. Or a bad solder connection which is covered in the dd-wrt serial recovery wiki which I bet you didn't read carefully.
I did read the wiki but I found more than one wiki page related to serial, I don't know which one to follow.
I'm doing it on Fedora with Screen application. "sudo screen /dev/ttyS0 115200" - do I need to type something else?
When the router is turned off I receive the echo of what I type, so I believe the solder is right.
What I asked was if I should receive legible text or if is normal to receive those characters when the router is booting.
No, you should get legible text. If it echoes correctly on the screen when you touch tx and rx then maybe you have the wrong pins soldered. _________________ I am far from a guru, I'm barely a novice.
With the router turned off you shouldn't be getting an echo. _________________ Segment 1 XR700 10Gb LAN, 1Gb WAN ISP BS
Wired AP 1 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 2 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 3 Unifi Wifi 6 LR US 1Gb LAN
Syslog Services Asustor 7110T NAS 10GB
NetGear XS716T 10GB Switch
download1.dd-wrt.com/dd-wrtv2/downloads/betas/ (Brain Slayer)
YAMon https://usage-monitoring.com/index.php
Last edited by ddaniel51 on Mon Mar 14, 2016 12:07; edited 1 time in total
Are you using a usb 3.3 volt adapter or an rs232 port on the computer? _________________ Segment 1 XR700 10Gb LAN, 1Gb WAN ISP BS
Wired AP 1 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 2 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 3 Unifi Wifi 6 LR US 1Gb LAN
Syslog Services Asustor 7110T NAS 10GB
NetGear XS716T 10GB Switch
download1.dd-wrt.com/dd-wrtv2/downloads/betas/ (Brain Slayer)
YAMon https://usage-monitoring.com/index.php
I'm using a RS232 directly from computer.
One of those wiki pages about serial recovery tells you only need 3 wires Rx Tx and GND, I haven't connected any VCC.
Is it mandatory to connect vcc?
Let us know if you have any success after already applying positive and negative 12vdc from the rs232 port to the router 3v rx port.
btw, your serial conf is supposed to be 115200,8,n,1
full duplex. _________________ Segment 1 XR700 10Gb LAN, 1Gb WAN ISP BS
Wired AP 1 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 2 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 3 Unifi Wifi 6 LR US 1Gb LAN
Syslog Services Asustor 7110T NAS 10GB
NetGear XS716T 10GB Switch
download1.dd-wrt.com/dd-wrtv2/downloads/betas/ (Brain Slayer)
YAMon https://usage-monitoring.com/index.php
Let us know if you have any success after already applying positive and negative 12vdc from the rs232 port to the router 3v rx port.
btw, your serial conf is supposed to be 115200,8,n,1
full duplex.
I will!
Maybe I did broke the Rx port, but with all the help people at this community gave, It's normal to make mistakes. I waited for an answer for days, and people only started answering after the mistake was made and only to say that I did wrong.
So thank's for all the help!
btw, I asked about "screen" configuration and only now some one (you) told me what they are.
That's not true. I told you to google dd-wrt serial recovery.
You told me you read that page. I just googled it. This is what is on the page you said you read:
"[edit]Hyperterminal and Putty
You connect to the router with the programs hyperterminal or putty.
The settings you want are: Baud: 115200 Data bits: 8 Stop Bits: 1 Parity: none No Flow control
On Windows XP:
Hyper terminal Setup In Windows XP, Click Start Button-->All Programs-->Accessories-->Communication-->HyperTerminal Enter a name for the connection, Click ok Choose com port you adapter is plugged into, Click ok Set: Bits per second = 115200 Data Bits = 8 Parity = none Stop bits = 1 Flow control = none Click ok Click File-->Save As, and select a place to save it to so you don't have to enter the settings again.
Putty Setup After installing putty, run it Serial line = The COM port your using for serial (ie. COM3) Speed = 115200 Click on Serial under Connection Serial line to connect to = same as above (Serial line) Speed (baud) = 115200 Data bits = 8 Stop bits = 1 Parity = None Flow control = None Click Session Enter a name for your connection under saved sessions Click Open"
Which is what Daniel just told you.
So you either didn't read or you lied. _________________ I am far from a guru, I'm barely a novice.