68kMLA Classic Interface
This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.
| Click here to select a new forum. | | slirp | Posted by: aladds on 2017-01-02 08:53:25 So a while back I was trying to make my old powerbook wireless with an esp8266. Turned out that when it said it did SLIP, it didn't actually do SLIP in the same way. That doesn't really matter anymore.
What does matter is that it can become a serial bridge, and I can get a linux shell and zmodem transfers and shell across it, great!
However, despite reading various guides to setting slirp up for SLIP or PPP access to the network/internet, I cannot seem to manage to get it to work at all.
Has anyone made slirp work over even just a regular serial line from a mac using FreePPP, OT/PPP or even InterSLIP?
I've tried taking the speed right down, I've tried connecting with a manual console window (and the shell comes up properly and slirp starts correctly), I've tried all sorts of different options and nothing seems to estabish a proper TCP connection. (Obviously I put slirp into PPP mode for OT/PPP and FreePPP)
InterSLIP as far as I can tell doesn't seem to work at all. It's possible that's not compatible with OT so wasn't going to work anyway.
FreePPP thinks it's connected for a moment, then gives an error about not having a reliable connection and disconnects.
OT/PPP thinks it's connected, but I don't get an IP, and if I set one manually I can't even connect to the built-in slirp command line via telnet.
(Also: I can't use pppd instead as whilst it would work for the serial line connection, I can't easily tunnel it over TCP to make the esp board work, which I can do with slirp)
| Posted by: techknight on 2017-01-02 10:51:39 you need to setup a serial socket server on the linux box somehow. either PPP or something. then the ESP8266 when it comes online can connect to the linux box via an open port, and it will create a serial socket passthrough. How and what you do/use to communicate over that link is up to you. This is no different than having a null modem cable connected directly to the linux box from the Mac.
Also, you need to keep the Baudrate of the ESP8266 at 9600 and lower, as older macs cant go faster than that reliably.
| Posted by: aladds on 2017-01-02 12:25:51 Yeah I've managed that bit. It's the slirp setup I'm having trouble with - I can use the serial link for shell access and ZModem transfers without issue.
I'm wondering if someone has actually managed to set it up properly _and_ written it up, unlike most of the "guides" I can find online...
(This is the main "guide" I'm referring to: http://www.keacher.com/1216/how-i-introduced-a-27-year-old-computer-to-the-web/ )
| Posted by: techknight on 2017-01-02 12:49:22 How about:
http://www.applefool.com/se30/#serialdata
And:
https://68kmla.org/forums/index.php?/topic/1334-networking-a-classic-mac-via-serial-port-os-x-unix-linux-internet/
| | 1 |
|