1| Supported Targets | ESP32 | ESP32-S2 |
2| ----------------- | ----- | -------- |
3
4# PPP over Serial test
5
6Testing connection of PPP client (ESP) to PPP server (raspberry pi)
7
8## Pin Assignment
9
10| ESP    | rpi            |
11| ------ | -------------- |
12| GPIO25 | UART-RX        |
13| GPIO26 | UART-TX        |
14| GND    | GND            |
15
16## Test workflow
17
18* Starts PPP server on a linux host
19* Starts PPPoS client on ESP board
20* Connects with both IPv4 and IPv6
21* Test IPv6 connection
22    - Start server on ESP
23    - Have linux host to connect and exchange some data
24* Test IPv4 connection
25    - Start server on linux host
26    - Connect with ESP to the server and exchange some data
27* Pass/fail
28
29## Manual test
30
31### Server side
32
33```
34sudo pppd /dev/ttyAMA0 115200 CONFIG_TEST_APP_PPP_SERVER_IP:TEST_APP_PPP_CLIENT_IP  modem local noauth debug nodetach dump nocrtscts
35```
36
37or with `+ipv6` to support ipv6 assignment
38
39### IPv6 test
40
41Connect to the ESP local link address and send data, e.g.
42
43```
44nc fe80::74d7:edc5:9907:5457 2222
45```
46
47### IPv4 tst
48
49Server side expects to run tcp server on port 2222
50
51```
52nc -l 2222
53```
54
55## Test environment
56
57configuration `Example_PPP` see wikis/test-docs/example-test-env#example_ppp
58