Skip to content

Micropython PPP - ESP32 peers #14538

Answered by jouellnyc
jouellnyc asked this question in ESP32
Discussion options

You must be logged in to vote

Interesting. Both

v1.24.0-preview.23.g8809ae716 and v1.24.0-preview.10.gc1a6b95bf are working.

I am sharing some more details in case someone else happens upon this (sometimes it's good to have a reference of a good outcome):

=== PICO

>>> import machine
>>> import time
>>> uart = machine.UART(2, baudrate=9600, tx=13, rx=14)
>>> import network
>>> ppp = network.PPP(uart)
>>> ppp.active(True)
True
>>> ppp.connect()            <=== connection happens!
>>> ppp.isconnected()
True
>>> 
>>> ppp.ifconfig()
('10.0.5.2', '10.0.5.1', '255.255.255.255', '8.8.8.8')

=== PI ZERO 

root@pizero1wa:~# pppd /dev/ttyAMA0 9600 10.0.5.1:10.0.5.2 proxyarp local noauth debug nodetach dump nocrtscts passive pe…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@rkompass
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jouellnyc
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ESP32
Labels
None yet
2 participants