sorry...
want to telnet to the router for router configuration.for this project, i want to configure the router using telnet connection such as Ping, Telnet, router Rip, change hostname, set password in web based using PHP.