Google for the term UnBrick WRT54GS V2
Try soem of the method that you find there.
Be aware that in most case there is nothing that will help you and you will have to get a new Router.
This is only $35 and it x100 better than the WRT54GS V2
that was a partial "Dud" even when it was new upon release