Post 1942893 by GluedToTheScreen@mastodon.social
(DIR) More posts by GluedToTheScreen@mastodon.social
(DIR) Post #1942892 by ajroach42@retro.social
2018-12-12T21:49:28Z
0 likes, 0 repeats
There’s a build of Kermit for the c64. It doesn’t have a dialer built in, which I assume means it was designed for direct serial connections. That doesn’t fix my telnet problem (even if I had a dialer, it’d still need to do telnet handshaking, I think) but it does provide reasonable vt102 emulation, if I can figure out another solution.
(DIR) Post #1942893 by GluedToTheScreen@mastodon.social
2018-12-12T21:53:27Z
0 likes, 0 repeats
@ajroach42 heh... kermit... blast from the past. go Vaxen and Rudolf!
(DIR) Post #1942894 by freakazoid@retro.social
2018-12-12T23:12:56Z
0 likes, 0 repeats
@GluedToTheScreen @ajroach42 IIRC I had to use Kermit to talk to my HP-48SX because it was the only file transfer protocol it supported and none of my other terminal software supported the Kermit protocol. I mainly remember the tiny, tiny packets used for file transfers.I would have thought the modem would handle the telnet handshake? Does it just give you a raw TCP connection?
(DIR) Post #1942895 by ajroach42@retro.social
2018-12-12T23:14:32Z
0 likes, 0 repeats
@freakazoid @GluedToTheScreen yeah, just a raw tcp connection. Firmware could probably be updated to support handshaking from the modem, but it does not do that by default.
(DIR) Post #1942896 by freakazoid@retro.social
2018-12-12T23:16:39Z
0 likes, 0 repeats
@ajroach42 @GluedToTheScreen I'm guessing one could even make it do ssh, which would be awesome.
(DIR) Post #1942897 by ajroach42@retro.social
2018-12-12T23:30:25Z
0 likes, 0 repeats
@freakazoid @GluedToTheScreen I’m fairly certain that the ESP8266 can be coaxed in to making ssh connections, yeah. I’m pretty sure I have some code for that from an old project. I’m also looking at tossing a pi 0w on the serial port. But it’ll be well after the first of the year before I can do that.
(DIR) Post #1942898 by mike@social.chinwag.org
2018-12-12T23:32:54Z
0 likes, 1 repeats
@ajroach42 @GluedToTheScreen @freakazoid hey I have a few ESP8266s on their way to me to build C64 modems, and I was just wondering if I could get SSH in there a few days ago. If you've got any code kicking around I'd love to take a look.
(DIR) Post #1942913 by ajroach42@retro.social
2018-12-12T23:34:10Z
0 likes, 0 repeats
@mike @freakazoid @GluedToTheScreen I’ll go digging. Keep me posted!
(DIR) Post #1945902 by freakazoid@retro.social
2018-12-13T00:38:57Z
0 likes, 0 repeats
@ajroach42 @GluedToTheScreen @mike Ok, I've done some pretty extensive DuckDuckGoing, and it appears that all the open source ssh clients require enough of an operating system that even FreeRTOS doesn't support it. However, arduino-esp32 does have the "WiFiClientSecure" class, which supports TLS connections with mutual certificate authentication. stunnel has an option to allocate a pty, so you could just have it exec login as root.
(DIR) Post #1945903 by freakazoid@retro.social
2018-12-13T00:47:59Z
0 likes, 0 repeats
@mike @GluedToTheScreen @ajroach42 There is in fact an example of configuring a shell authenticated with a PSK in the stunnel docs, and it turns out the arduino-esp32 library got support for PSK 9 days ago. That means you don't even need to deal with certificates; just copy the PSK to the device.I think I've found my project for the evening.
(DIR) Post #1945904 by mike@social.chinwag.org
2018-12-13T02:29:02Z
0 likes, 0 repeats
@freakazoid @ajroach42 @GluedToTheScreen sounds promising for some purposes but I for use in a modem I was hoping to connect to arbitrary SSH servers instead of being stuck to telnet for BBSing purposes.My hope was to get dropbear, or just client bits of it, to compile somehow.All this is abstract to me right now anyway, my hardware is still in limbo somewhere between China and Australia. 😀