How can I enable WiFi p2p on raspberry pi zero w and have dhcp service running so that other devices that connect to it get assigned an IP address?
I am able to configure the dhcp service on the pi by following this link:
https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md
but the article asks for disabling the wpa_supplicant by adding nohook wpa_supplicant
to the end of /etc/dhcpcd.conf while I am supposed to run wpa_supplicant in order to enable WiFi p2p
how can I do that?