Making an actual telnet connection=garbled text
#11
Found something else:
http://mud-dev.wikidot.com/telnet:negotiation

Shouldn't it be enough to send IAC 255 and then WONT 252?
Reply
#12
After some more research I found this thread on Lemon64:

http://www.lemon64.com/forum/viewtopic.p...sc&start=0

It's really the negotiation. And it's probably no enough to just send "iac won't". You probably should negotiate in the right way. bummer.
It's probably also the same reason why people can't connect to sdf.org as in this thread:
https://www.cbmstuff.com/forum/showthread.php?tid=360
Reply
#13
Ok, no telnet, but a working serial terminal through socat, a virtual tty, and getty. Yay!
[Image: img_5795.jpg]
Reply
#14
Does it work ok for you at 9600 baud?

I find that after a while the text starts getting garbled.

2400 is ok.
The Workshop -  http://home.reidspace.com/ 

Reply
#15
(02-22-2017, 02:17 PM)Zeropage Wrote: Does it work ok for you at 9600 baud?

I find that after a while the text starts getting garbled.

2400 is ok.

I've testet only for a few minutes, the encoding isn't right, and I've seen artifacts from tmux, but the text itself seemed fine at 9600 baud. I have not enabled flow control.
Reply
#16
(02-22-2017, 02:07 PM)captain_zzap Wrote: Ok, no telnet, but a working serial terminal through socat, a virtual tty, and getty. Yay!

Would you mine putting together a quick howto on this? What you did on the server, etc?

I can handle setting up telnetd, but I'm at an utter loss setting up a terminal like this.
Reply
#17
Essentially it's just:
socat pty,link=/dev/ttyV0,raw tcp-l:11313
and then launching a getty on /dev/ttyV0
on Arch Linux with 
systemctl start getty@ttyV0.service

[Image: img_6349.jpg]
[Image: img_6348.jpg]
Reply
#18
Yeah, don't forget to enable flow control for 9600 baud with AT&K1, otherwise you will likely have issues.

So, since I knew zero about internet connectivity before the WiModem project, I decided to look into telnet to see what it really is. Apparently, you should be filtering ESCape characters (0xFF) and that is something that I don't do. So, I am looking into that.
Reply
#19
Support for Telnet would be awesome. And useful on the your generic rs232 Adapter too.
Flow control is now enabled. Back in February it wasn't working right. But it does now.
Reply
#20
Telnet support has been added!
Reply




Users browsing this thread: 3 Guest(s)