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/[email protected]



[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 [email protected]

Reboot and check.

AMH4Y
2021-09-27, 04:55
Thanks, will check this ...

bigbiz
2021-11-04, 19:05
Try sudo first

AMH4Y
2021-11-05, 20:39
Try sudo first

Tried it already but didn't helped.

fiddlepie
2021-12-31, 22:08
nice information

roshanjii
2022-03-01, 13:20
Thank u very much..