Telnet options in Unix


Recommended Posts

So when I try to telnet to my Mac, or another unix machine (jaguar.it.miami.edu) all i get is "???? ??#??'??$" instead of a login.

(btw a standard command window will telnet just fine, just the telnet i'm using thats built into this device comes up with ???? ??#??'??$)

Has anyone seen this before? Or know of a possible fix ?

Link to comment
https://www.neowin.net/forum/topic/266206-telnet-options-in-unix/
Share on other sites

Sounds like it might be something to do with your language settings and/or your term settings. What terminal type is the one you are using to telnet from? Is it vt100, xterm, ansi, something like that? And what language does your system use?

Basically try and be as specific as possible about the process (eg I am using an xterm on vector linux with termtype set to xterm, and using iso-8859-1 encoding, and i am using a standard telenet program to open a connection to a solaris machine with encoding set to utf8) The more info, the easier it is to help.

EDIT: just noticed you said the "telnet built into this device". What exactly is the device?

man I wish I knew all that stuff. The telnet is built into this contorller I'm using and I can't seem to find out the protocols it uses.

It is weird that it doesn't connect to the UNIX boxes (one is a Tru64 UNIX Version 4.0F(jaguar.it.miami.edu), and one is the Mac OS X 10.3 Unix/BSD or whatever it is)... If I telnet into a windows box, or anything other than these unix machines it works just fine...

  rezza said:
What exactly is this controller? Make/model number? Type of device? Other features?

585224702[/snapback]

Its an AMX NI-3000, its used for home automation/home theater component control and stuff. It's a neat box, if it would do telnet correctly... I'm calling AMX now to see if they can give me any info on thier version....

oh i changed the port from 23 to 21, and I'm able to use the ftp just fine... just not telnet...

OK, found some specs for the ni-3000, but its still not clear what terminal type it tries to conform to, nor what language encoding it uses.

Since this only happens when telnetting, I can only guess that its to do with the way the telnet service is set up on those two machines (the miami one and the OSX one). Do you have any others you could try? In fact, could you specify port 22, and try connecting to motoreffect.ath.cx? What does that give you, more gibberish?

ok I found something out:

the ni-3000 doesn't use the "telnet negotiation sequence" whatever that means...

anways, ssh doesn't work, all I get is

  Quote
SSH-2.0-OpenSSH_3.9p1

Protocol mismatch.

which is exactly what happens if you do "telnet 82.14.39.112 22" in windows....

know any comands for a "negotiation sequence "?

I really apreciate this

No, its not compatible with any telnet client, but it indicates that it can send readable characters to the client, and that's the info I was after.

Signs point to your client and the telnet servers not being compatible. Not sure what you can do about that, really...

converting that initial giberish to decimal gives me:

255,253,24,255,253,32,255,253,35,255,253,39,255,253,36

and if you look here: http://www.scit.wlv.ac.uk/~jphb/comms/telnet.html

there are all kinds of things:

Name	Decimal Code	Meaning
SE	240	End of subnegotiation parameters.
NOP	241	No operation
DM	242	Data mark. Indicates the position of a Synch event within the data stream. This should always be accompanied by a TCP urgent notification.
BRK	243	Break. Indicates that the "break" or "attention" key was hit.
IP	244	Suspend, interrupt or abort the process to which the NVT is connected.
AO	245	Abort output. Allows the current process to run to completion but do not send its output to the user.
AYT	246	Are you there. Send back to the NVT some visible evidence that the AYT was received.
EC	247	Erase character. The receiver should delete the last preceding undeleted character from the data stream.
EL	248	Erase line. Delete characters from the data stream back to but not including the previous CRLF.
GA	249	Go ahead. Used, under certain circumstances, to tell the other end that it can transmit.
SB	250	Subnegotiation of the indicated option follows.
WILL	251	Indicates the desire to begin performing, or confirmation that you are now performing, the indicated option.
WONT	252	Indicates the refusal to perform, or continue performing, the indicated option.
DO	253	Indicates the request that the other party perform, or confirmation that you are expecting the other party to perform, the indicated option.
DONT	254	Indicates the demand that the other party stop performing, or confirmation that you are no longer expecting the other party to perform, the indicated option.
IAC	255	Interpret as command

There are a variety of options that can be negotiated between a telnet client and server using commands at any stage during the connection. They are described in detail in separate RFCs. The following are the most important.

Decimal code	Name	RFC
1	echo	857
3	suppress go ahead	858
5	status	859
6	timing mark	860
24	terminal type	1091
31	window size	1073
32	terminal speed	1079
33	remote flow control	1372
34	linemode	1184
36	environment variables	1408

which is promising :)

  cq107 said:
converting that initial giberish to decimal gives me:

255,253,24,255,253,32,255,253,35,255,253,39,255,253,36

and if you look here: http://www.scit.wlv.ac.uk/~jphb/comms/telnet.html

there are all kinds of things:

[snip...]

which is promising :)

585225076[/snapback]

Yes, that is promising. This thread rocks. "Today at neowin I leaned more about telnet, and the handshaking process it goes through to start a session".

  rezza said:
Yes, that is promising. This thread rocks. "Today at neowin I leaned more about telnet, and the handshaking process it goes through to start a session".

585225100[/snapback]

YESS1!!!!!!!!!!!!!!!!!!!!

it works... all i did was echo back each thing i got from the terminal

wait 5 SEND_STRING dvServer, "255,253,24,255,253,32,255,253,35,255,253,39,255,253,36";
    wait 10 SEND_STRING dvServer, "255,252,24,255,252,32,255,252,35,255,252,39,255,252,36";
    wait 15 SEND_STRING dvServer, "255,251,3,255,253,1,255,253,34,255,253,31,255,251,5,255,253,33";
    wait 20 SEND_STRING dvServer, "255,253,3,255,251,1,255,252,34,255,252,31,255,254,5,255,252,33";

finally i got:

login:

!!!!!!!!!!!!!!!!!!! :woot: :D

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • How to change folder colors in OneDrive by Taras Buria Microsoft's OneDrive cloud storage has plenty of useful productivity features that help you get around your file libraries. Colored folders are a relatively new feature that not every OneDrive user is aware of. While the ability to have colorful folders might seem minor at first glance, it can be very helpful for sorting stuff in your OneDrive. Microsoft says the feature lets users "personalize and manage folder colors for better content visibility." Even Apple agrees with this—iOS, iPadOS, and macOS 26 let you change folder colors in the Files/Finder app. Change folder color in OneDrive on Windows The process is very simple, but it is not the same as changing a folder icon in File Explorer. While you can change the icon of any folder in OneDrive on Windows 11 (Right Click > Properties > Customize > Change Icon), these icons do not sync across platforms. At the same time, while OneDrive folder colors do sync, the feature is not available for personal accounts in the web version of OneDrive. As for mobile devices, it is coming soon to Android and iOS OneDrive clients. Despite the current limitations, here is how to change folder colors in OneDrive on Windows: Make sure OneDrive is set up and running and sync is not paused. Find the folder whose color you want to change, and right-click it. Select OneDrive > Folder Color. Pick one of the 16 colors available and click Ok. The OneDrive app will sync your changes so that they appear across all devices that support folder colors in OneDrive. If you have a business account, you can open OneDrive for the web, right-click any folder and select Folder Color. Changes will sync across your devices right away. Do you find colored folders in OneDrive useful? Share your thoughts in the comments.
    • Awesome. That's what I was thinking Jim. Yea from what I can tell you connect the AIC card to the AIC header on the motherboard, so it doesn't just run through the PCI lanes. That's fine guys. Thanks for clarifying 🙂 I was getting a little bit lost with all of this, but I need a minimum of TB3 and the connector on the MB has it, but not on the back of my PC chassis / MB IO shield. Anyway I found that the cheapest I can get it is Amazon at 70 quid, so I'm just gonna have to fork out for it. Thanks everyone. 🙂 👍  Don't worry about Mindovermaster. He's just his chirpy cheerful self lol. Thanks everyone 🙂
    • I wonder why you say that. As we speak, I'm using it to slash off several minutes of my life.
    • I think you may need to adjust your style of approach. I know you won't though. While some were affected by performance issues, and it's not a huge gap... you're acting as if Ryzen couldn't handle 11 at all. Performance issues are purely based on some facts in certain scenarios, while others are not. I see one link with a handful of people discussing the topic. I didn't join those topics or seek them out myself, as I didn't encounter noticeable drops in performance going from 10 to 11. When 10 came out, during that beta testing phase... I was able to continually crash my system simply by renaming files. It might also have to be because I don't have my nose stuck up the butt of single digit percentage points. I don't benchmark my PC every time something new comes out. Single percentage point differences in performance only ruffle the feathers of those that don't care about daily use. If you have a race car, do you compare that to your daily driver? Do you expect your Honda Accord to break the 9 second quarter mile like your 1000HP Pontiac Firebird? If you're so worried about FPS instead of enjoying your games... perhaps opening a curtain in your basement might provide a new perspective in life.
    • Currently updating my Win10 IoT Enterprise LTSC 2021 in a VM (QEMU/KVM) on Linux. but damn, updates take forever (makes me appreciate the lightness on Linux all the more). to give you a general idea... this update finished at 37 minutes into system uptime and I would estimate updates have been running roughly 20-30 minutes (some of this would be download time, but even subtracting that I would guess that 20-30min is close). granted, I only got two cores of my four core CPU (i5-3550) dedicated to the VM. but still, Linux wipes the floor with Windows in this regard. plus, that does not count the reboot which takes even more time.
  • Recent Achievements

    • Reacting Well
      rshit earned a badge
      Reacting Well
    • Reacting Well
      Alan- earned a badge
      Reacting Well
    • Week One Done
      IAMFLUXX earned a badge
      Week One Done
    • One Month Later
      Æhund earned a badge
      One Month Later
    • One Month Later
      CoolRaoul earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      535
    2. 2
      ATLien_0
      269
    3. 3
      +FloatingFatMan
      211
    4. 4
      +Edouard
      204
    5. 5
      snowy owl
      140
  • Tell a friend

    Love Neowin? Tell a friend!