Follow these steps:
Use the Router Password Cracker. Router password Cracker is a free-to-use tool to recover lost username and passwords of routers.
Use Router Pass View.
Look for the sticker at the back of your router.
Use the router's default name and password.
How to forward ports without knowing the password.
Linksys Smart WiFi Routers | Linksys Router Setup | Linksys Smart WiFi Login