macchanger does not change MAC address when wifi is on
Closed, WontfixPublic

Description

Steps to reproduce:

  1. Install macchanger with sudo apt install macchanger
  1. When prompted, agree to change MAC address every time.
  1. Turn Wi-Fi off and check MAC address
sudo ip link set wlp1s0 down
macchanger --show wlp1s0
  1. Turn Wi-Fi on and check MAC address
sudo ip link set wlp1s0 up
macchanger --show wlp1s0
  1. Repeat steps 3-4 a few times

What should happen:

When Wi-Fi is turned on result should be:

Current MAC:   00:00:00:00:00:00 (unknown)
Permanent MAC: 11:11:11:11:11:11 (unknown)

Where 11:11... is the permanent MAC, and 00:00... is some random
address.

What happens instead:

When Wi-Fi is turned *off* the result is:

Current MAC:   00:00:00:00:00:00 (unknown)
Permanent MAC: 11:11:11:11:11:11 (unknown)

When Wi-Fi is turned *on* the result is:

Current MAC:   11:11:11:11:11:11 (unknown)
Permanent MAC: 11:11:11:11:11:11 (unknown)

In other words, the permanent MAC is exposed specifically when Wi-Fi
is turned on. If anything it should be the other way round?

Notes:

  • Setting confirmed with sudo dpkg-reconfigure macchanger

Package versions:

  • macchanger-1.7.0-5.4
  • network-manager-1.14.6-2

So the following issue should not apply:

d3vid created this task.May 21 2019, 10:14 AM
d3vid closed this task as "Wontfix".May 30 2019, 12:01 PM
d3vid claimed this task.

This package is basically unmaintained, so I'll have to find another solution.

Add Comment