|Ahhh... If it is the Linksys password and presumably it's the wifi access key actually forgotten then that can be found by logging in to the router; going to wifi setup and finding the wifi access-key (frequently incorrectly called a password) which will be there.|
This wee article describes how to login to it; and gives the home page (ip address) as 192.168.1.1)
Once you know the wifi access-key, write it down and perhaps put it on a sticker on the base of the router? Also perhaps email it to yourself; and store that email in a save messages folder in your (online) email server page.
If you change a password, to whatever it might be, create one to which you can give yourself a prompt about it in an email.e.g. if your name is charles, and the password was charles123 you could email yourself about it as "my name" 123 (where "my name is of course your name = charles). Naturally you won't include the " ".