Results 1 to 1 of 1

Thread: Turning off Mac-address-randomization in Network Manager-one method

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    2013-Jul
    Posts
    841

    Turning off Mac-address-randomization in Network Manager-one method

    The newer NetworkManager supports automatic randomization of the device mac address. This can cause the mac address settings to change unknown to the user. In cases of a router employing mac blocking, clients can suddenly loose the ability to connect to the router.

    There are several methods to turn this feature off.

    One way is to set the mac-address-randomization=0 in all system connection files in the /etc/NetworkManager/system-connections folder. If you have numerous connection files this can be time consuming.

    The following code based on the work done by repzeroworld, turns off all randomization setting in all system connection files.

    find /etc/NetworkManager/system-connections -type f -exec sh -c "sed -i "/^mac-address-randomization=*/d;/^\[wifi\]/a\mac-address-randomization=0" "{}"" \;

    There are other methods thru the config files but this would not turn off any settings already made.

    Readers should cross reference the following:

    See hon3yb33 entry page 2 in the following thread

    https://forums.kali.org/showthread.p...-boot-up/page2


    Musket Teams
    Last edited by mmusket33; 2016-12-17 at 23:21.

Similar Threads

  1. Replies: 49
    Last Post: 2017-09-19, 16:13
  2. Replies: 0
    Last Post: 2016-04-30, 20:21
  3. Archive Manager "unsupported method"
    By robby in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2015-05-16, 06:19
  4. error in apt-get install network-manager network-manager-gnome
    By arsham in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2014-10-05, 20:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •