automatic mac address randomization on up-to-date Debian 9.5 with 4.18-amd64, Intel wifi 7260, NetworkManager, KDE/Networks fails?

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











up vote
0
down vote

favorite












Thank you for taking time to read this.



I am trying to have a random mac address by default before I connect to any network. My results are ambiguous.



1. My approach



1.1) updated my box to the latest backported Debian 9.5 (as of 23 Oct, 2018)



1.2) created
/etc/NetworkManager/conf.d/00-macrandomize.conf with following lines



[device]



wifi.scan-rand-mac-address=yes



[connection]



wifi.cloned-mac-address=random



ethernet.cloned-mac-address=random



connection.stable-id=$CONNECTION/$BOOT



1.3) run



sudo systemctl restart NetworkManager


2. My results



2.1 KDE Networking check



KDE Network applet shows true mac address of my network interface



2.2 ip link check



sudo ip link


returns a random mac address



2.3 access point (wifi hotspot on Android 8.1 phone) check



returns the same random mac address



3. My questions



3.1 Does ip link and access point check confirm that my mac address is random from the perspective of "all" access points? What would be possible exceptions?
3.2 Can KDE Networks/Networking under some circumstances send my true mac address to a network access point (overriding NetworkManager config)
3.3. Is there (and what is) a smarter way how to achieve my goal of having a random MAC address each time i connect to an access point on my box, as described above, with full KDE?



Thank you.



...please feel free to edit this question if deemed this is not in accordance with SE rules.










share|improve this question







New contributor




kinda.autistic is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    up vote
    0
    down vote

    favorite












    Thank you for taking time to read this.



    I am trying to have a random mac address by default before I connect to any network. My results are ambiguous.



    1. My approach



    1.1) updated my box to the latest backported Debian 9.5 (as of 23 Oct, 2018)



    1.2) created
    /etc/NetworkManager/conf.d/00-macrandomize.conf with following lines



    [device]



    wifi.scan-rand-mac-address=yes



    [connection]



    wifi.cloned-mac-address=random



    ethernet.cloned-mac-address=random



    connection.stable-id=$CONNECTION/$BOOT



    1.3) run



    sudo systemctl restart NetworkManager


    2. My results



    2.1 KDE Networking check



    KDE Network applet shows true mac address of my network interface



    2.2 ip link check



    sudo ip link


    returns a random mac address



    2.3 access point (wifi hotspot on Android 8.1 phone) check



    returns the same random mac address



    3. My questions



    3.1 Does ip link and access point check confirm that my mac address is random from the perspective of "all" access points? What would be possible exceptions?
    3.2 Can KDE Networks/Networking under some circumstances send my true mac address to a network access point (overriding NetworkManager config)
    3.3. Is there (and what is) a smarter way how to achieve my goal of having a random MAC address each time i connect to an access point on my box, as described above, with full KDE?



    Thank you.



    ...please feel free to edit this question if deemed this is not in accordance with SE rules.










    share|improve this question







    New contributor




    kinda.autistic is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Thank you for taking time to read this.



      I am trying to have a random mac address by default before I connect to any network. My results are ambiguous.



      1. My approach



      1.1) updated my box to the latest backported Debian 9.5 (as of 23 Oct, 2018)



      1.2) created
      /etc/NetworkManager/conf.d/00-macrandomize.conf with following lines



      [device]



      wifi.scan-rand-mac-address=yes



      [connection]



      wifi.cloned-mac-address=random



      ethernet.cloned-mac-address=random



      connection.stable-id=$CONNECTION/$BOOT



      1.3) run



      sudo systemctl restart NetworkManager


      2. My results



      2.1 KDE Networking check



      KDE Network applet shows true mac address of my network interface



      2.2 ip link check



      sudo ip link


      returns a random mac address



      2.3 access point (wifi hotspot on Android 8.1 phone) check



      returns the same random mac address



      3. My questions



      3.1 Does ip link and access point check confirm that my mac address is random from the perspective of "all" access points? What would be possible exceptions?
      3.2 Can KDE Networks/Networking under some circumstances send my true mac address to a network access point (overriding NetworkManager config)
      3.3. Is there (and what is) a smarter way how to achieve my goal of having a random MAC address each time i connect to an access point on my box, as described above, with full KDE?



      Thank you.



      ...please feel free to edit this question if deemed this is not in accordance with SE rules.










      share|improve this question







      New contributor




      kinda.autistic is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      Thank you for taking time to read this.



      I am trying to have a random mac address by default before I connect to any network. My results are ambiguous.



      1. My approach



      1.1) updated my box to the latest backported Debian 9.5 (as of 23 Oct, 2018)



      1.2) created
      /etc/NetworkManager/conf.d/00-macrandomize.conf with following lines



      [device]



      wifi.scan-rand-mac-address=yes



      [connection]



      wifi.cloned-mac-address=random



      ethernet.cloned-mac-address=random



      connection.stable-id=$CONNECTION/$BOOT



      1.3) run



      sudo systemctl restart NetworkManager


      2. My results



      2.1 KDE Networking check



      KDE Network applet shows true mac address of my network interface



      2.2 ip link check



      sudo ip link


      returns a random mac address



      2.3 access point (wifi hotspot on Android 8.1 phone) check



      returns the same random mac address



      3. My questions



      3.1 Does ip link and access point check confirm that my mac address is random from the perspective of "all" access points? What would be possible exceptions?
      3.2 Can KDE Networks/Networking under some circumstances send my true mac address to a network access point (overriding NetworkManager config)
      3.3. Is there (and what is) a smarter way how to achieve my goal of having a random MAC address each time i connect to an access point on my box, as described above, with full KDE?



      Thank you.



      ...please feel free to edit this question if deemed this is not in accordance with SE rules.







      debian kde network-interface networkmanager mac-address






      share|improve this question







      New contributor




      kinda.autistic is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      kinda.autistic is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      kinda.autistic is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 24 mins ago









      kinda.autistic

      1




      1




      New contributor




      kinda.autistic is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      kinda.autistic is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      kinda.autistic is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.

























          active

          oldest

          votes











          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
          );



          );






          kinda.autistic is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477365%2fautomatic-mac-address-randomization-on-up-to-date-debian-9-5-with-4-18-amd64-in%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          kinda.autistic is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          kinda.autistic is a new contributor. Be nice, and check out our Code of Conduct.












          kinda.autistic is a new contributor. Be nice, and check out our Code of Conduct.











          kinda.autistic is a new contributor. Be nice, and check out our Code of Conduct.













           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477365%2fautomatic-mac-address-randomization-on-up-to-date-debian-9-5-with-4-18-amd64-in%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?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay