Serial conect arduino to router

HI, i conect arduino to my router with serial. The conection working fine, but when i send password"admin" to login, router tells "wrong password". For example: I need to send to router password: "admin". I try : Serial.write("admin");Serial.write(admin);Serial.print("admin"); not working

Can't really help but why do you mix 'write' and 'print'?

And you probably need to use 'println' to add a CR/LF after each. Else the router has no idea that you 'pressed'