OpenWrt Forum Archive

Topic: Bricked WGT634U

The content of this topic has been archived on 21 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Ok, so I have a few questions that are somewhat specific. First off obviously I have a WGT643U. I got OpenWRT on there, and then flashed it with the x-wrt package. All was going well until I bungled something in the bridge devices section and when it rebooted, no network interfaces!  I know the device is still booting because I can sniff the 'failsafe' packet it sends out on 192.168.1.1, how-ever I can't get to anything at all. Unless I'm missing something. Also I read that the fail-safe mode doesn't work for this router yet, so I'm out of luck there.

First I've tried the tftp method of getting it to take new firmware. I've hooked it up to a switch, I can sniff the failsafe packet, but it never seems to look for the tftp packets I'm sending. I've tried both tftp and atftp and both just time out. So, that method of recovery seems out

Next, I've tried a serial cable. I hooked up a USB to serial device to my laptop. I then connected pins 1,2 and 5 to the corresponding pins on the router. I'm using 115200, 8N1 for the settings. Now, I've tried both minicom and screen pointing to /dev/ttyUSB0 but the best I've been able to get is garbage on the screen. Now, it does appear to correspond with the boot times. But I'm not sure what I'm doing wrong that I can't seem to get the text right.

So, at this point I'm totally stumped. The router seems just fine. It boots up, lights blink and when I try to ping it I can see the lights flash in reply. To no avail of course since its not longer holding the proper IP address. And sniffing network traffic reveals nothing either. So I'm hoping maybe someone knows of a trick I'm missing, or something I've done wrong on the serial port. Or who knows what. I've scoured the wiki for days so I'm pretty confident no one will be telling me to RTFM smile

ElGatoFlojo wrote:

Next, I've tried a serial cable. I hooked up a USB to serial device to my laptop. I then connected pins 1,2 and 5 to the corresponding pins on the router. I'm using 115200, 8N1 for the settings. Now, I've tried both minicom and screen pointing to /dev/ttyUSB0 but the best I've been able to get is garbage on the screen. Now, it does appear to correspond with the boot times. But I'm not sure what I'm doing wrong that I can't seem to get the text right.

I can't offer any help with the other pieces, but I've spent plenty of time with serial connections! I'd suggest trying different baud rates - set the minicom rate, then reboot the router, and see how the garbage changes! :-)  If you leave the parity at 8N1 and change the baud rate, chances are that you'll eventually see at least a glimmer of recognizable characters.  Good luck!

Set flow control to disabled.

Not clear what you mean by USB-serial cable. What type? Sure it works? Right voltage levels of 3.3V TTL?

Define "corresponding pins".  TX<->TX or did you couple TX<->RX?

(Last edited by vincentfox on 24 Jun 2007, 04:31)

Well, many late nights of no reults I hunted down the Merike (sp) cable. Its just a little PCB board with a mini-usb connector on it. And paid $30 for it sad

But, I was able to attach it, and right away got a serial connection to the router. And was able to reconfigure it!

So, all ended well. I've still no idea what was wrong with my USB to serial connector. It said on the web site that it did the 3.3v and all. But I'm guessing there was something else I was missing. Its kinda sad that I had to buy a $30 cable to get to the $50 router to fix it. But thats the way these things usually go anyway.

I do appreciate the advice and the suggestions!

The discussion might have continued from here.