• Hello MLAers! We've re-enabled auto-approval for accounts. If you are still waiting on account approval, please check this thread for more information.

slirp

aladds

6502
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)

 
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. 

 
Last edited by a moderator:
Back
Top