Your best bet in this case is to reset your WRT54G router to its factory default settings.
- Turn around the WRT54G so you have access to the back of the router.
- Hold down the Reset button. You may need to use a pen or other small, pointy object.
- Release the reset button after holding it for at least 30 seconds.
- Unplug the WRT54G for a few seconds and then plug it back in.
- Wait 60 seconds, giving the router time to boot up.
- Connect the WRT54G router to your computer via a network cable.
- Connect to the router via http://192.168.1.1/ and enter the default password of admin.
- Change the default router password from admin to something more secure. Be sure to take note of the password this time!