For some reason am unable to locate wpa_supplicant.conf file on my Ubuntu PC. I am using Ubuntu 16.04 LTS. I did run a find and here's the result:
~$ sudo find / -iname wpa_supplicant.conf
[sudo] password for popo01:
find: ‘/run/user/1000/gvfs’: Permission denied
/etc/dbus-1/system.d/wpa_supplicant.conf
The wpa_supplicant.conf located in dbus-1 is an xml file and looks something like this:
This doesn't seem to be the right wpa_supplicant.conf file.
Without the wpa_supplicant.conf, anytime I need to work with wpa_cli for establishing p2p connection between peer wifi devices, I need to kill wpa_supplicant and restart it again with my own p2p.conf file. How do I make these settings permanent? I do not want to go through the process of killing and restarting wpa_supplicant every time I boot my PC.