Location of wpa_supplicant.conf on Ubuntu 16.04 LTS











up vote
0
down vote

favorite












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:



https://apt-browse.org/browse/ubuntu/trusty/main/i386/wpasupplicant/2.1-0ubuntu1/file/etc/dbus-1/system.d/wpa_supplicant.conf



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.










share|improve this question


























    up vote
    0
    down vote

    favorite












    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:



    https://apt-browse.org/browse/ubuntu/trusty/main/i386/wpasupplicant/2.1-0ubuntu1/file/etc/dbus-1/system.d/wpa_supplicant.conf



    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.










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      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:



      https://apt-browse.org/browse/ubuntu/trusty/main/i386/wpasupplicant/2.1-0ubuntu1/file/etc/dbus-1/system.d/wpa_supplicant.conf



      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.










      share|improve this question













      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:



      https://apt-browse.org/browse/ubuntu/trusty/main/i386/wpasupplicant/2.1-0ubuntu1/file/etc/dbus-1/system.d/wpa_supplicant.conf



      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.







      wpa-supplicant






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 29 '16 at 0:48









      RaviPathak

      111




      111






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          man wpa_supplicant tells us:



          QUICK START
          First, make a configuration file, e.g. /etc/wpa_supplicant.conf, that
          describes the networks you are interested in. See
          wpa_supplicant.conf(5) for details.


          By "make a configuration file," the author meant "create a configuration file", and by e.g. /etc/wpa_supplicant.conf he/she means "for example, call the configuration file you just created wpa_supplicant.conf".



          Since there are so many WiFi cards, and so many, many WiFi network configurations, Linux doesn't give you a default WiFi configuration.



          Read man wpa_supplicant.conf, and create a configuration file for your configuration. Feel free to call it wpa_supplicant.conf (or fred, it doesn't matter).






          share|improve this answer





















          • Thanks Waltinator. This means there's some default config that wpa_supplicant is running with. Is there a way I can dump or obtain those configuration? ... like a command or something? Or is it the source I need to dig into!
            – RaviPathak
            Oct 29 '16 at 12:22











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f843007%2flocation-of-wpa-supplicant-conf-on-ubuntu-16-04-lts%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          man wpa_supplicant tells us:



          QUICK START
          First, make a configuration file, e.g. /etc/wpa_supplicant.conf, that
          describes the networks you are interested in. See
          wpa_supplicant.conf(5) for details.


          By "make a configuration file," the author meant "create a configuration file", and by e.g. /etc/wpa_supplicant.conf he/she means "for example, call the configuration file you just created wpa_supplicant.conf".



          Since there are so many WiFi cards, and so many, many WiFi network configurations, Linux doesn't give you a default WiFi configuration.



          Read man wpa_supplicant.conf, and create a configuration file for your configuration. Feel free to call it wpa_supplicant.conf (or fred, it doesn't matter).






          share|improve this answer





















          • Thanks Waltinator. This means there's some default config that wpa_supplicant is running with. Is there a way I can dump or obtain those configuration? ... like a command or something? Or is it the source I need to dig into!
            – RaviPathak
            Oct 29 '16 at 12:22















          up vote
          0
          down vote













          man wpa_supplicant tells us:



          QUICK START
          First, make a configuration file, e.g. /etc/wpa_supplicant.conf, that
          describes the networks you are interested in. See
          wpa_supplicant.conf(5) for details.


          By "make a configuration file," the author meant "create a configuration file", and by e.g. /etc/wpa_supplicant.conf he/she means "for example, call the configuration file you just created wpa_supplicant.conf".



          Since there are so many WiFi cards, and so many, many WiFi network configurations, Linux doesn't give you a default WiFi configuration.



          Read man wpa_supplicant.conf, and create a configuration file for your configuration. Feel free to call it wpa_supplicant.conf (or fred, it doesn't matter).






          share|improve this answer





















          • Thanks Waltinator. This means there's some default config that wpa_supplicant is running with. Is there a way I can dump or obtain those configuration? ... like a command or something? Or is it the source I need to dig into!
            – RaviPathak
            Oct 29 '16 at 12:22













          up vote
          0
          down vote










          up vote
          0
          down vote









          man wpa_supplicant tells us:



          QUICK START
          First, make a configuration file, e.g. /etc/wpa_supplicant.conf, that
          describes the networks you are interested in. See
          wpa_supplicant.conf(5) for details.


          By "make a configuration file," the author meant "create a configuration file", and by e.g. /etc/wpa_supplicant.conf he/she means "for example, call the configuration file you just created wpa_supplicant.conf".



          Since there are so many WiFi cards, and so many, many WiFi network configurations, Linux doesn't give you a default WiFi configuration.



          Read man wpa_supplicant.conf, and create a configuration file for your configuration. Feel free to call it wpa_supplicant.conf (or fred, it doesn't matter).






          share|improve this answer












          man wpa_supplicant tells us:



          QUICK START
          First, make a configuration file, e.g. /etc/wpa_supplicant.conf, that
          describes the networks you are interested in. See
          wpa_supplicant.conf(5) for details.


          By "make a configuration file," the author meant "create a configuration file", and by e.g. /etc/wpa_supplicant.conf he/she means "for example, call the configuration file you just created wpa_supplicant.conf".



          Since there are so many WiFi cards, and so many, many WiFi network configurations, Linux doesn't give you a default WiFi configuration.



          Read man wpa_supplicant.conf, and create a configuration file for your configuration. Feel free to call it wpa_supplicant.conf (or fred, it doesn't matter).







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Oct 29 '16 at 3:04









          waltinator

          21.8k74169




          21.8k74169












          • Thanks Waltinator. This means there's some default config that wpa_supplicant is running with. Is there a way I can dump or obtain those configuration? ... like a command or something? Or is it the source I need to dig into!
            – RaviPathak
            Oct 29 '16 at 12:22


















          • Thanks Waltinator. This means there's some default config that wpa_supplicant is running with. Is there a way I can dump or obtain those configuration? ... like a command or something? Or is it the source I need to dig into!
            – RaviPathak
            Oct 29 '16 at 12:22
















          Thanks Waltinator. This means there's some default config that wpa_supplicant is running with. Is there a way I can dump or obtain those configuration? ... like a command or something? Or is it the source I need to dig into!
          – RaviPathak
          Oct 29 '16 at 12:22




          Thanks Waltinator. This means there's some default config that wpa_supplicant is running with. Is there a way I can dump or obtain those configuration? ... like a command or something? Or is it the source I need to dig into!
          – RaviPathak
          Oct 29 '16 at 12:22


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f843007%2flocation-of-wpa-supplicant-conf-on-ubuntu-16-04-lts%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Ellipse (mathématiques)

          Quarter-circle Tiles

          Mont Emei