Posts: 18
Threads: 2
Joined: Feb 2017
Found something else:
http://mud-dev.wikidot.com/telnet:negotiation
Shouldn't it be enough to send IAC 255 and then WONT 252?
Posts: 18
Threads: 2
Joined: Feb 2017
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
Posts: 18
Threads: 2
Joined: Feb 2017
Ok, no telnet, but a working serial terminal through socat, a virtual tty, and getty. Yay!
Posts: 65
Threads: 13
Joined: Sep 2016
Does it work ok for you at 9600 baud?
I find that after a while the text starts getting garbled.
2400 is ok.
Posts: 18
Threads: 2
Joined: Feb 2017
(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.
Posts: 1
Threads: 0
Joined: Jun 2017
(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.
Posts: 18
Threads: 2
Joined: Feb 2017
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
Posts: 2,742
Threads: 145
Joined: Nov 2013
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.
Posts: 18
Threads: 2
Joined: Feb 2017
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.
Posts: 2,742
Threads: 145
Joined: Nov 2013
Telnet support has been added!