Added some notes for net_ppp example

This commit is contained in:
jubeormk1 2025-05-22 15:47:11 +10:00
parent 43ff562b5a
commit bc80903d0a

View File

@ -1,14 +1,16 @@
## Running the `embassy-net` examples ## Running the `embassy-net` examples
To run `net`, `tcp_accept`, `net_udp` examples you will need a tap interface. Before running any example, create the tap99 interface. (The number was chosen to To run `net`, `tcp_accept`, `net_udp` and `net_dns` examples you will need a tap interface. Before running these examples, create the tap99 interface. (The number was chosen to
hopefully not collide with anything.) You only need to do hopefully not collide with anything.) You only need to do this once every time you reboot your computer.
this once every time you reboot your computer.
```sh ```sh
cd $EMBASSY_ROOT/examples/std/
sudo sh tap.sh sudo sh tap.sh
``` ```
The example `net_ppp` requires different steps that are detailed in its section.
### `net` example ### `net` example
For this example, you need to have something listening in the correct port. For example `nc -lp 8000`. For this example, you need to have something listening in the correct port. For example `nc -lp 8000`.