If physical security is not a big deal (for most home users), writing in on a piece of masking tape and sticking on the box is a good idea. That's what I do

I also save a bookmark to the admin pages of my routers, NAS, etc, then edit the bookmark name to include the password.