Jump to content


Photo

PHP Telnet login failed...


  • Please log in to reply
1 reply to this topic

#1 miseleigh

miseleigh
  • Members
  • PipPipPip
  • Advanced Member
  • 63 posts

Posted 23 October 2006 - 08:09 PM

I'm trying to access a device through php's telnet functions.  I found a script (link: http://www.geckotribe.com/php-telnet/) 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:
$result = $telnet->Connect('xxx.xxx.x.x','un','pw');


#2 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 23 October 2006 - 10:20 PM

I'm trying to access a device through php's telnet functions.


Um... php doesn't have any telnet functions. Are you using sockets?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users