contrib/ports: Add explanation to using static ip

This took some figuring out, it might be obvious to those familiar with
lwipcfg.h but for someone picking this up for the first time to experiment on
linux, this helpful comment would have helped enormously.
This commit is contained in:
James Peach 2024-03-24 11:52:34 +00:00
parent d5fc0cc825
commit ed9dabe088

View File

@ -12,6 +12,9 @@
# Enter 192.168.1.200 or "http://lwip.local/" (Zeroconf)
# in your webbrowser to see example_app webpage.
# N.b. you must disable USE_DHCP and USE_AUTOIP in lwipcfg.h for the static
# ip 192.168.1.200 to work in tapif
export PRECONFIGURED_TAPIF=tap0
sudo ip tuntap add dev $PRECONFIGURED_TAPIF mode tap user `whoami`