PDA

View Full Version : macchanger >> Network driver didn't actually change to the new MAC!!



AMH4Y
2021-09-15, 12:54
Hi,

I am NOT able to change the Wireless Adapter Mac Address in Kalli Linux using MacChanger.

Before running macchanger I am running

ifconfig wlan0 down

macchanger -r wlan0

ifconfig wlan0 up

<output >>> Network driver didn't actually change to the new MAC!!

autotune
2021-09-22, 15:36
Create a file and add the following:


sudo nano /etc/systemd/system/macspoof@.service



[Unit]
Description=macchanger on %I
Wants=network-pre.target
Before=network-pre.target
BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device

[Service]
ExecStart=/usr/bin/macchanger -e %I
Type=oneshot

[Install]
WantedBy=multi-user.target



sudo systemctl enable macspoof@wlan0.service

Reboot and check.