If you reset a router, you need to log into the configuration interface. There should be a default password there, depending on your hardware manufacturer.