Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Winsock and Nortel Routers

Status
Not open for further replies.

Niv3k

Programmer
Jul 11, 2001
350
US
I'm trying to establish a winsock connection to a Nortel Router. I use :

Winsock1.Connect "1.2.3.4", "23"

But once the connection is made it doesn't send me any more data. If I do this with a Cisco router, I get some data, and then a "Username: " prompt, but I do not even get that far with Nortel...
 
Try telnetting into the router using an ordinary telnet program.
from the run command located in the start button type:
telnet 1.2.3.4

That will open up a telnet session to the router. Alternatively read the manual for the router, you might have to hook up to a serial port on the router and enable telnet support.
Troy Williams B.Eng.
fenris@hotmail.com

 
No, that's the pain in the posterior interface... I can Telnet to the router(s) just fine - roughly 125 of them, but I can't seem to open a Winsock connection to them...
 
Alternatively, do you know anything about TAPI? Nortel has some info on their web site that says they have a version of the TAPI to connect to their routers, but I want to go over our intranet, not a dialup...

Kevin
 
Did you tried to send a char or a CRLF once the conn is made?
bluenote@uyuyuy.com
(excuse my english)
 
Yes, that didn't seem to do anything. But, since my last post, I took the few bytes of data I got from the router and sent them back (FF FD 18 FF FD 20 FF FD 23 FF FD 24), and then I got more (slightly different, but then pattern seems similar). So I sent them back. And more, until I finally got "Login: ", but then I get more bytes (31 32 34) and I can't seem to send anything normal. I would like to know what these bytes are... and what bytes I should send back before/during/after my login?

Kevin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top