Thank you for your opinion, but only to think: the login to the router is a "page", in theory, you could send the information to the fields ... (how to send the information to the fields of the page, is what I don't know).
Since there is no general solution to this problem, it is always a router specific solution. What kind of router do you have? ( model and firmware release)
the login to the router is a "page", in theory, you could send the information to the fields ... (how to send the information to the fields of the page, is what I don't know).