Telnet Server Help

Need help running MacroQuest 1? Too bad! Use MQ2.

Moderator: MacroQuest Developers

Beguilah
decaying skeleton
decaying skeleton
Posts: 5
Joined: Wed Nov 13, 2002 9:17 am

Telnet Server Help

Post by Beguilah » Wed Nov 13, 2002 9:39 am

Hi Folks,

I've been having some trouble getting the telnet server to work and was hoping someone might have some idea what I'm missing. I'm sure it's something stupid, but I'm just not seeing it.

I'm running IRC-20021104 and running EQ inside EQW, all under WinME. My Macroquest.ini file has the following settings:

Enabled=1
LocalOnly=0
Port=23 (also tried ports 8090, 45555)

The debugspew log says that the telnet server is up and running on whatever port I've selected, but when I connect with any telnet client (tried PuTTY, standard linux telnet, a couple others), I establish a connection, but I don't even get the Welcome message. I've tried telnet clients both on localhost and on other machines on my network. The debugspew file doesn't contain any of the log messages that the EQLib.cpp leads me to believe should occur on a connection attempt (nothing from ListenThread), so it feels like I can connect to the port, but nothing's getting through to MQ. What am I missing?

morannon
a lesser mummy
a lesser mummy
Posts: 57
Joined: Sun Nov 03, 2002 3:50 pm

Post by morannon » Wed Nov 13, 2002 12:25 pm

I'm having trouble too.

My ini says port 10000, however I need to connect to port 10001 to actually see the welcome message, but soon as I enter 1 character of the password it says incorrect password and exits.

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Wed Nov 13, 2002 3:46 pm

Salutations,
usually, I use port 6123 and it seems to work fine, i connect to that port... dunno why it is refusing to work.

Beguilah
decaying skeleton
decaying skeleton
Posts: 5
Joined: Wed Nov 13, 2002 9:17 am

Post by Beguilah » Wed Nov 13, 2002 7:58 pm

Some further data: netstat shows the telnet server listening on the appropriate port, and when I connect with telnet, it also shows an established connection between the telnet client and the MQ server.

Are you using the default settings that PuTTY installs with, Lizard?

Also, can I connect at any point during a session? I've tried both before and after macros are running, both with no success.

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Wed Nov 13, 2002 9:53 pm

Salutations,
I set the connection to raw, type in the appropriate port and IP (I type it in, I don't use 127.0.0.1) then hit connect. Everything else is default

ravhin10101
decaying skeleton
decaying skeleton
Posts: 4
Joined: Thu Aug 01, 2002 4:28 am

Post by ravhin10101 » Thu Nov 14, 2002 7:27 pm

If you enter one character and get connected it has something to do with the protocol which wintelnet uses (among others I'm sure) which is sending some return that MQ dosen't understand. As L124RD said, use a raw client like putty (http://the.earth.li/~sgtatham/putty/lat ... ttytel.exe)

Beguilah
decaying skeleton
decaying skeleton
Posts: 5
Joined: Wed Nov 13, 2002 9:17 am

Post by Beguilah » Thu Nov 14, 2002 11:02 pm

PuTTY was the first client I tried. I've tried the raw setting, the telnet setting, I even tried the rlogin setting out of frustration. Zip, nada, nothing. I get a blank telnet window, and no indication in the spewfile that anything at all has happened.

Are any of you actually running this under WinME? I know it's a big steaming pile of crap, but I just haven't been motivated to upgrade.

Beguilah
decaying skeleton
decaying skeleton
Posts: 5
Joined: Wed Nov 13, 2002 9:17 am

Post by Beguilah » Mon Dec 02, 2002 11:14 pm

Just a quicky follow-up, in case anyone cares. Installed XP, and the telnet server runs like a charm. You might want to add the fact that the telnet server won't run under the Win9xs to the list of dodgy bits in the README.