Disabling CNA in MacOS

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
-1
down vote

favorite












I am doing some experiences/investigation into captive networks/the WISPr protocol. (see Getting WISPr tags from a FON authentication portal )



However, the Captive Network Assistant, "Captive Network Assistant.app", in MacOS, that is opened once you login in a Captive Portal supporting WISPr, is getting into the way.



Considering it also opens spontaneously when logging into captive portals, I might actually want to disable it for good, as I use Firefox.



How might I do that in MacOS Sierra?










share|improve this question



























    up vote
    -1
    down vote

    favorite












    I am doing some experiences/investigation into captive networks/the WISPr protocol. (see Getting WISPr tags from a FON authentication portal )



    However, the Captive Network Assistant, "Captive Network Assistant.app", in MacOS, that is opened once you login in a Captive Portal supporting WISPr, is getting into the way.



    Considering it also opens spontaneously when logging into captive portals, I might actually want to disable it for good, as I use Firefox.



    How might I do that in MacOS Sierra?










    share|improve this question

























      up vote
      -1
      down vote

      favorite









      up vote
      -1
      down vote

      favorite











      I am doing some experiences/investigation into captive networks/the WISPr protocol. (see Getting WISPr tags from a FON authentication portal )



      However, the Captive Network Assistant, "Captive Network Assistant.app", in MacOS, that is opened once you login in a Captive Portal supporting WISPr, is getting into the way.



      Considering it also opens spontaneously when logging into captive portals, I might actually want to disable it for good, as I use Firefox.



      How might I do that in MacOS Sierra?










      share|improve this question















      I am doing some experiences/investigation into captive networks/the WISPr protocol. (see Getting WISPr tags from a FON authentication portal )



      However, the Captive Network Assistant, "Captive Network Assistant.app", in MacOS, that is opened once you login in a Captive Portal supporting WISPr, is getting into the way.



      Considering it also opens spontaneously when logging into captive portals, I might actually want to disable it for good, as I use Firefox.



      How might I do that in MacOS Sierra?







      osx






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 10 at 16:29

























      asked Aug 13 '17 at 12:29









      Rui F Ribeiro

      36.9k1273117




      36.9k1273117




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          For disabling the CNA window, I advise using this method:



          sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.captive.control Active -boolean false



          After this change, instead of being obliged to authenticate to get the wifi up, now I can deal with the WIPSr aware captive portal in my browser of choice.



          As an interesting tidbit, Firefox seems to be WISPr aware, and displays a warning saying you have to login into the (captive) network.



          Another immediate method to achieve disabling the CNA used to be renaming the cut down browser based in Webkit out of the way that is invoked by the WISPr protocol.



          As in:



          cd /System/Library/CoreServices
          mv Captive Network Assistant.app mv Captive Network Assistant.app.old


          However due to System Integrity Protection in more recent versions of Mac OS, and the steps involved to make it work, the plist modification is now the advised method.



          This latter method has also the added disavantage of steps having to be performed to prevent a security update from restoring a copy of the aforementioned binary.






          share|improve this answer






















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            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: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f385827%2fdisabling-cna-in-macos%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            2
            down vote



            accepted










            For disabling the CNA window, I advise using this method:



            sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.captive.control Active -boolean false



            After this change, instead of being obliged to authenticate to get the wifi up, now I can deal with the WIPSr aware captive portal in my browser of choice.



            As an interesting tidbit, Firefox seems to be WISPr aware, and displays a warning saying you have to login into the (captive) network.



            Another immediate method to achieve disabling the CNA used to be renaming the cut down browser based in Webkit out of the way that is invoked by the WISPr protocol.



            As in:



            cd /System/Library/CoreServices
            mv Captive Network Assistant.app mv Captive Network Assistant.app.old


            However due to System Integrity Protection in more recent versions of Mac OS, and the steps involved to make it work, the plist modification is now the advised method.



            This latter method has also the added disavantage of steps having to be performed to prevent a security update from restoring a copy of the aforementioned binary.






            share|improve this answer


























              up vote
              2
              down vote



              accepted










              For disabling the CNA window, I advise using this method:



              sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.captive.control Active -boolean false



              After this change, instead of being obliged to authenticate to get the wifi up, now I can deal with the WIPSr aware captive portal in my browser of choice.



              As an interesting tidbit, Firefox seems to be WISPr aware, and displays a warning saying you have to login into the (captive) network.



              Another immediate method to achieve disabling the CNA used to be renaming the cut down browser based in Webkit out of the way that is invoked by the WISPr protocol.



              As in:



              cd /System/Library/CoreServices
              mv Captive Network Assistant.app mv Captive Network Assistant.app.old


              However due to System Integrity Protection in more recent versions of Mac OS, and the steps involved to make it work, the plist modification is now the advised method.



              This latter method has also the added disavantage of steps having to be performed to prevent a security update from restoring a copy of the aforementioned binary.






              share|improve this answer
























                up vote
                2
                down vote



                accepted







                up vote
                2
                down vote



                accepted






                For disabling the CNA window, I advise using this method:



                sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.captive.control Active -boolean false



                After this change, instead of being obliged to authenticate to get the wifi up, now I can deal with the WIPSr aware captive portal in my browser of choice.



                As an interesting tidbit, Firefox seems to be WISPr aware, and displays a warning saying you have to login into the (captive) network.



                Another immediate method to achieve disabling the CNA used to be renaming the cut down browser based in Webkit out of the way that is invoked by the WISPr protocol.



                As in:



                cd /System/Library/CoreServices
                mv Captive Network Assistant.app mv Captive Network Assistant.app.old


                However due to System Integrity Protection in more recent versions of Mac OS, and the steps involved to make it work, the plist modification is now the advised method.



                This latter method has also the added disavantage of steps having to be performed to prevent a security update from restoring a copy of the aforementioned binary.






                share|improve this answer














                For disabling the CNA window, I advise using this method:



                sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.captive.control Active -boolean false



                After this change, instead of being obliged to authenticate to get the wifi up, now I can deal with the WIPSr aware captive portal in my browser of choice.



                As an interesting tidbit, Firefox seems to be WISPr aware, and displays a warning saying you have to login into the (captive) network.



                Another immediate method to achieve disabling the CNA used to be renaming the cut down browser based in Webkit out of the way that is invoked by the WISPr protocol.



                As in:



                cd /System/Library/CoreServices
                mv Captive Network Assistant.app mv Captive Network Assistant.app.old


                However due to System Integrity Protection in more recent versions of Mac OS, and the steps involved to make it work, the plist modification is now the advised method.



                This latter method has also the added disavantage of steps having to be performed to prevent a security update from restoring a copy of the aforementioned binary.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Sep 25 at 6:46

























                answered Aug 13 '17 at 12:29









                Rui F Ribeiro

                36.9k1273117




                36.9k1273117



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f385827%2fdisabling-cna-in-macos%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Displaying single band from multi-band raster using QGIS

                    How many registers does an x86_64 CPU actually have?