How to connect Pi Zero W and  P4wnP1 to Internet

The easiest way is to establish a connection via WiFi (e.g. share a hotspot on your smartphone).
Only a WiFi secured with WPA2 PSK is currently supported!

To do this, the P4wnP1 configuration file setup.cfg must be modified in the WIFI_CLIENT section as follows:

WIFI_CLIENT=true

WIFI_CLIENT_SSID="Wifi network name"

WIFI_CLIENT_PSK="The WiFi password"

After the restart, the Pi Zero W automatically connects to the corresponding Wifi.