OpenWrt Forum Archive

Topic: removing openwrt from router

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

Hey there everyone,

First off, I would like to say I have been browsing these (and other) forums for days and have found nothing thus far that explains my issue.

I was recently sent a linksys wrt54g v2 wireless router from a guy I've done some work for. After repeatedly trying to get it up and running, I finally found that someone at his office at one time was using it as a firewall, and had installed openwrt (white russian).

Now for one, I had never even heard of this software, so I began searching everywhere for a solution and no one seems to know thus far.

I've downloaded the firmware for this router at the linksys website, along with the tftp client, still not working. I can't even get into to the openwrt interface, as no one knows the username or pass. I should note that my main workstation is running vista, but I do have access to an xp notebook which is not currently online (not sure if that would be an easier way to go).

From what I've read it sounds as though this software could be very beneficial, but I simply need to get this router back to factory default so I can make my house wireless (everyone is going nuts here...hehe).

Again, I've read through and tried everything I've come across so far, but nothing has worked for me. If someone could help me out with this, it would be much appreciated (please keep in mind, I am noobish at a lot of this as I didn't even know you could do such a thing with a router).

Thanks advance for any help everyone.

Cheers,

-Ditch

Also, I hope I posted this in the right forum, as again I am very unfamiliar with all of this technology. smile

The easiest way to restor the device back to factory, I would think is the TFTP method.

Using the XP machine may make this easier.

The timing can be a bit tricky, and you may have to attempt it a few times.

First thing you need to do is find out the network address of the router,  (lets just say it is 192.168.1.1)

you need to set a static IP on your windows machine so it would exist on the same network as the router.  (lets say 192.168.1.5 with a netmask of 255.255.255.0)

make sure your XP system is plugged directly into one of the LAN ports on the linksys.

open a command prompt.

[start menu]
[run]
run: cmd

at the prompt type

tftp -i 192.168.1.1 PUT <FULL PATH TO FILENAME.bin>
DON'T HIT ENTER YET!

should look something like this.
C:\>tftp -i 192.168.1.1 PUT C:\WRT54GV4.0_4.21.1_US_code.bin

now power cycle the router (unplug the power)

plug in the power and then hit enter, as soon as you see the power light.

first time I attempted this, it took me several tries.

you want to play with the timing of when you hit enter.

if the guy who installed it on the router in the first place left boot wait turned on, you will have a much easier time, if it is turned off.  your window drastically shortens.
unfortunately without the login to the router, you can't exactly tell.

First time I attempted to flash the firmware this way, I had a v3 with bootwait turned on, (linksys default) installed Openwrt on the router.

It took me almost half an hour to get it uploaded.

the timing is critical.


Good luck!

qain wrote:

tftp -i 192.168.1.1 PUT <FULL PATH TO FILENAME.bin>
DON'T HIT ENTER YET!

should look something like this.
C:\>tftp -i 192.168.1.1 PUT C:\WRT54GV4.0_4.21.1_US_code.bin

remember to replace 192.168.1.1  with the IP of your router.

This is valid for other routers as well? I'm using Ubiquiti bullets and I want to know if this procedure is right for my equipment.
Thanks

The discussion might have continued from here.