TCP/IP over Virtual Com Port

05 Jan 2017

Hey everyone, I've popped this question https://developer.mbed.org/questions/76337/PPP-Over-Serial-Dial-Up-Webserver/ regarding using the virtual COM port that is present on many MBED boards to do real TCP/IP networking.

EDIT: Got the Dial-Up Networking part working.

Also seeing some LCP and IPCP packets.

Check it out here: https://developer.mbed.org/users/nixnax/code/PPP-Blinky/

Import programPPP-Blinky

Small Internet Protocol Stack using a standard serial port.

Would appreciate your input & comments - below my Windows 8 PC is being fooled into dialing in to an MBED Nucleo-L476 board.

/media/uploads/nixnax/ppp-blinky.jpg

Win7/8 Dial-up Bug

There is a fairly irritating bug in Windows 7/8 that prevents PPP over dial-up from always working out of the box. Or even worse - working when you set it up, then you update the modem properties and thereafter all you see is Error 777. The solution is well documented here: https://social.technet.microsoft.com/Forums/exchange/en-US/5858797c-bc75-4e3f-bca4-d988fadd7581/setting-up-a-ppp-connection-using-communications-cable-between-two-computers?forum=w7itpronetworking. Search for "manually editing the rasphone.pbk".