miseleigh Posted October 23, 2006 Share Posted October 23, 2006 I'm trying to access a device through php's telnet functions. I found a script (link: [url=http://www.geckotribe.com/php-telnet/]http://www.geckotribe.com/php-telnet/[/url]) to use, but it keeps returning '[PHP Telnet] Connect failed: Login failed'. I know I have the IP address, un, and password right; any suggestions? The only thing I can think of is that the device uses an 'auth' cli command for the login, and maybe this isn't working for that.function call: [code]$result = $telnet->Connect('xxx.xxx.x.x','un','pw');[/code] Quote Link to comment Share on other sites More sharing options...
trq Posted October 23, 2006 Share Posted October 23, 2006 [quote]I'm trying to access a device through php's telnet functions.[/quote]Um... php doesn't have any telnet functions. Are you using sockets? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.