ssshake / vintage-computer-wifi-modem

TheOldNet.com WIFI Modem Emulator
GNU General Public License v3.0
82 stars 15 forks source link

PPP server support #17

Closed crackmonkey closed 2 years ago

crackmonkey commented 2 years ago

Add support for "dialing" into a PPP server provided by the ESP SDK to provide internet access. I've tested against Linux pppd on a recent Arch Linux system and FreePPP 2.6.2 on Mac OS 7.5.5 in BasiliskII using a USB-Serial dongle. Using the built-in "programming" USB-Serial chip seems to have trouble initializing, but I haven't tracked down why.

The PPP to serial code bypasses the flow control code right now and just Serial.write()'s the entire packet from the ppp stack. I think it needs a ring buffer to hold the ppp data so it can be subjected to flow control.

ssshake commented 2 years ago

Thanks! taking a look now