Not able to connect to school wifi network in Ubuntu 16.04 - need to edit ca-certificate












0















My school asks us to do this to connect to the wifi in the ca-certificate



Search for the line:



system-ca-certs=true


Change this line to:



system-ca-certs=false


The problem is that I cannot find this line in the ca-certificate.



I can't connect to the network. A dialogue box pops up every time asking for my user id and password for the school wifi, I enter the right credentials but it doesn't work.



P.S There is no problem in connecting to my home wifi network.



these are [the instructions given by my school][1] for connecting to the wifi




The settings are:




  • Security Type: WPA2 Enterprise

  • Username: ldap-Username

  • Password: ldap-Password

  • Authentication: PEAP

  • PEAP version: automatic

  • Inner authentication: MSCHAPV2

  • ca-certificate: none


Note: For Ubuntu 14.04 users-



The ca-certificate settings has to be changed to false. This may be
done in the following way:



Open the file in an editor of your choice:
/etc/NetworkManager/system-connections/IITB-Wireless



Search for the line:



system-ca-certs=true


Change this line to:



system-ca-certs=false



THIS IS THE CA_CERTIFICATE



[connection]



id=IITB-Wireless



uuid=xxxxxxxxx



type=wifi



permissions=



secondaries=



[wifi]



mac-address=D8:5D:E2:BC:D2:05



mac-address-blacklist=



mac-address-randomization=0



mode=infrastructure



seen-bssids=



ssid=IITB-Wireless



[wifi-security]



group=



key-mgmt=wpa-eap



pairwise=



proto=



[802-1x]



altsubject-matches=



ca-cert=/usr/share/ca-certificates/mozilla/AddTrust_External_Root.crt



eap=ttls;



identity=xxxxxxx



password=xxxxxxx



phase2-altsubject-matches=



phase2-autheap=mschapv2



[ipv4]



dns-search=



method=auto



[ipv6]



addr-gen-mode=stable-privacy



dns-search=



ip6-privacy=0



method=auto










share|improve this question

























  • Possibly the same problem as described here askubuntu.com/questions/456970/…

    – Jos
    Apr 21 '17 at 17:37











  • no,not that one

    – Kethan Chauhan
    Apr 22 '17 at 4:40













  • Question is clearer now, but probably a dupe of this: askubuntu.com/questions/279762/…

    – Tom Brossman
    Apr 22 '17 at 6:09











  • What are the exact instructions by your school?

    – David Foerster
    Apr 22 '17 at 10:18











  • i will edit that above(do see)

    – Kethan Chauhan
    Apr 22 '17 at 13:11


















0















My school asks us to do this to connect to the wifi in the ca-certificate



Search for the line:



system-ca-certs=true


Change this line to:



system-ca-certs=false


The problem is that I cannot find this line in the ca-certificate.



I can't connect to the network. A dialogue box pops up every time asking for my user id and password for the school wifi, I enter the right credentials but it doesn't work.



P.S There is no problem in connecting to my home wifi network.



these are [the instructions given by my school][1] for connecting to the wifi




The settings are:




  • Security Type: WPA2 Enterprise

  • Username: ldap-Username

  • Password: ldap-Password

  • Authentication: PEAP

  • PEAP version: automatic

  • Inner authentication: MSCHAPV2

  • ca-certificate: none


Note: For Ubuntu 14.04 users-



The ca-certificate settings has to be changed to false. This may be
done in the following way:



Open the file in an editor of your choice:
/etc/NetworkManager/system-connections/IITB-Wireless



Search for the line:



system-ca-certs=true


Change this line to:



system-ca-certs=false



THIS IS THE CA_CERTIFICATE



[connection]



id=IITB-Wireless



uuid=xxxxxxxxx



type=wifi



permissions=



secondaries=



[wifi]



mac-address=D8:5D:E2:BC:D2:05



mac-address-blacklist=



mac-address-randomization=0



mode=infrastructure



seen-bssids=



ssid=IITB-Wireless



[wifi-security]



group=



key-mgmt=wpa-eap



pairwise=



proto=



[802-1x]



altsubject-matches=



ca-cert=/usr/share/ca-certificates/mozilla/AddTrust_External_Root.crt



eap=ttls;



identity=xxxxxxx



password=xxxxxxx



phase2-altsubject-matches=



phase2-autheap=mschapv2



[ipv4]



dns-search=



method=auto



[ipv6]



addr-gen-mode=stable-privacy



dns-search=



ip6-privacy=0



method=auto










share|improve this question

























  • Possibly the same problem as described here askubuntu.com/questions/456970/…

    – Jos
    Apr 21 '17 at 17:37











  • no,not that one

    – Kethan Chauhan
    Apr 22 '17 at 4:40













  • Question is clearer now, but probably a dupe of this: askubuntu.com/questions/279762/…

    – Tom Brossman
    Apr 22 '17 at 6:09











  • What are the exact instructions by your school?

    – David Foerster
    Apr 22 '17 at 10:18











  • i will edit that above(do see)

    – Kethan Chauhan
    Apr 22 '17 at 13:11
















0












0








0








My school asks us to do this to connect to the wifi in the ca-certificate



Search for the line:



system-ca-certs=true


Change this line to:



system-ca-certs=false


The problem is that I cannot find this line in the ca-certificate.



I can't connect to the network. A dialogue box pops up every time asking for my user id and password for the school wifi, I enter the right credentials but it doesn't work.



P.S There is no problem in connecting to my home wifi network.



these are [the instructions given by my school][1] for connecting to the wifi




The settings are:




  • Security Type: WPA2 Enterprise

  • Username: ldap-Username

  • Password: ldap-Password

  • Authentication: PEAP

  • PEAP version: automatic

  • Inner authentication: MSCHAPV2

  • ca-certificate: none


Note: For Ubuntu 14.04 users-



The ca-certificate settings has to be changed to false. This may be
done in the following way:



Open the file in an editor of your choice:
/etc/NetworkManager/system-connections/IITB-Wireless



Search for the line:



system-ca-certs=true


Change this line to:



system-ca-certs=false



THIS IS THE CA_CERTIFICATE



[connection]



id=IITB-Wireless



uuid=xxxxxxxxx



type=wifi



permissions=



secondaries=



[wifi]



mac-address=D8:5D:E2:BC:D2:05



mac-address-blacklist=



mac-address-randomization=0



mode=infrastructure



seen-bssids=



ssid=IITB-Wireless



[wifi-security]



group=



key-mgmt=wpa-eap



pairwise=



proto=



[802-1x]



altsubject-matches=



ca-cert=/usr/share/ca-certificates/mozilla/AddTrust_External_Root.crt



eap=ttls;



identity=xxxxxxx



password=xxxxxxx



phase2-altsubject-matches=



phase2-autheap=mschapv2



[ipv4]



dns-search=



method=auto



[ipv6]



addr-gen-mode=stable-privacy



dns-search=



ip6-privacy=0



method=auto










share|improve this question
















My school asks us to do this to connect to the wifi in the ca-certificate



Search for the line:



system-ca-certs=true


Change this line to:



system-ca-certs=false


The problem is that I cannot find this line in the ca-certificate.



I can't connect to the network. A dialogue box pops up every time asking for my user id and password for the school wifi, I enter the right credentials but it doesn't work.



P.S There is no problem in connecting to my home wifi network.



these are [the instructions given by my school][1] for connecting to the wifi




The settings are:




  • Security Type: WPA2 Enterprise

  • Username: ldap-Username

  • Password: ldap-Password

  • Authentication: PEAP

  • PEAP version: automatic

  • Inner authentication: MSCHAPV2

  • ca-certificate: none


Note: For Ubuntu 14.04 users-



The ca-certificate settings has to be changed to false. This may be
done in the following way:



Open the file in an editor of your choice:
/etc/NetworkManager/system-connections/IITB-Wireless



Search for the line:



system-ca-certs=true


Change this line to:



system-ca-certs=false



THIS IS THE CA_CERTIFICATE



[connection]



id=IITB-Wireless



uuid=xxxxxxxxx



type=wifi



permissions=



secondaries=



[wifi]



mac-address=D8:5D:E2:BC:D2:05



mac-address-blacklist=



mac-address-randomization=0



mode=infrastructure



seen-bssids=



ssid=IITB-Wireless



[wifi-security]



group=



key-mgmt=wpa-eap



pairwise=



proto=



[802-1x]



altsubject-matches=



ca-cert=/usr/share/ca-certificates/mozilla/AddTrust_External_Root.crt



eap=ttls;



identity=xxxxxxx



password=xxxxxxx



phase2-altsubject-matches=



phase2-autheap=mschapv2



[ipv4]



dns-search=



method=auto



[ipv6]



addr-gen-mode=stable-privacy



dns-search=



ip6-privacy=0



method=auto







networking wireless certificates






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 24 '17 at 10:11







Kethan Chauhan

















asked Apr 21 '17 at 17:01









Kethan ChauhanKethan Chauhan

816




816













  • Possibly the same problem as described here askubuntu.com/questions/456970/…

    – Jos
    Apr 21 '17 at 17:37











  • no,not that one

    – Kethan Chauhan
    Apr 22 '17 at 4:40













  • Question is clearer now, but probably a dupe of this: askubuntu.com/questions/279762/…

    – Tom Brossman
    Apr 22 '17 at 6:09











  • What are the exact instructions by your school?

    – David Foerster
    Apr 22 '17 at 10:18











  • i will edit that above(do see)

    – Kethan Chauhan
    Apr 22 '17 at 13:11





















  • Possibly the same problem as described here askubuntu.com/questions/456970/…

    – Jos
    Apr 21 '17 at 17:37











  • no,not that one

    – Kethan Chauhan
    Apr 22 '17 at 4:40













  • Question is clearer now, but probably a dupe of this: askubuntu.com/questions/279762/…

    – Tom Brossman
    Apr 22 '17 at 6:09











  • What are the exact instructions by your school?

    – David Foerster
    Apr 22 '17 at 10:18











  • i will edit that above(do see)

    – Kethan Chauhan
    Apr 22 '17 at 13:11



















Possibly the same problem as described here askubuntu.com/questions/456970/…

– Jos
Apr 21 '17 at 17:37





Possibly the same problem as described here askubuntu.com/questions/456970/…

– Jos
Apr 21 '17 at 17:37













no,not that one

– Kethan Chauhan
Apr 22 '17 at 4:40







no,not that one

– Kethan Chauhan
Apr 22 '17 at 4:40















Question is clearer now, but probably a dupe of this: askubuntu.com/questions/279762/…

– Tom Brossman
Apr 22 '17 at 6:09





Question is clearer now, but probably a dupe of this: askubuntu.com/questions/279762/…

– Tom Brossman
Apr 22 '17 at 6:09













What are the exact instructions by your school?

– David Foerster
Apr 22 '17 at 10:18





What are the exact instructions by your school?

– David Foerster
Apr 22 '17 at 10:18













i will edit that above(do see)

– Kethan Chauhan
Apr 22 '17 at 13:11







i will edit that above(do see)

– Kethan Chauhan
Apr 22 '17 at 13:11












1 Answer
1






active

oldest

votes


















0














edit the file:



gedit /etc/NetworkManager/NetworkManager.conf


add these at the end of the file:



[device]
wifi.scan-rand-mac-address=no


restart the network manager:



sudo service network-manager restart





share|improve this answer


























    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',
    autoActivateHeartbeat: false,
    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%2f907477%2fnot-able-to-connect-to-school-wifi-network-in-ubuntu-16-04-need-to-edit-ca-cer%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









    0














    edit the file:



    gedit /etc/NetworkManager/NetworkManager.conf


    add these at the end of the file:



    [device]
    wifi.scan-rand-mac-address=no


    restart the network manager:



    sudo service network-manager restart





    share|improve this answer






























      0














      edit the file:



      gedit /etc/NetworkManager/NetworkManager.conf


      add these at the end of the file:



      [device]
      wifi.scan-rand-mac-address=no


      restart the network manager:



      sudo service network-manager restart





      share|improve this answer




























        0












        0








        0







        edit the file:



        gedit /etc/NetworkManager/NetworkManager.conf


        add these at the end of the file:



        [device]
        wifi.scan-rand-mac-address=no


        restart the network manager:



        sudo service network-manager restart





        share|improve this answer















        edit the file:



        gedit /etc/NetworkManager/NetworkManager.conf


        add these at the end of the file:



        [device]
        wifi.scan-rand-mac-address=no


        restart the network manager:



        sudo service network-manager restart






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Sep 22 '17 at 20:49









        Zanna

        51.1k13139242




        51.1k13139242










        answered Sep 22 '17 at 18:11









        user739879user739879

        1




        1






























            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f907477%2fnot-able-to-connect-to-school-wifi-network-in-ubuntu-16-04-need-to-edit-ca-cer%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

            數位音樂下載

            When can things happen in Etherscan, such as the picture below?

            格利澤436b