I'm running Kali Linux on VirtualBox. I'm using bridged adapter, WNA with adapter type Intel Pro/1000 MT in the VBox network settings. My internet works flawlessly as long as my eth0 mac is the same as the one in the Network settings (option to change it is disabled, grayed out). Whenever I change my mac either by using macchanger or by turning off the network interface, changing it and turning the interface on, I lose the connection. After changing mac I'm also not able to ping the host and vice versa, 0 packets received. What should I do to make it work? Thank you in advance.
Keep trying different mac addresses, currently connected to wifi with spoofed mac after several attempts.
macchanger generated a mac address which didn't work and was
Grabbed a mac address from an old
wireshark capture and it works great, getting me the usual
192.168.1.something on my wifi.
Some bits of the address represent features.
This solution worked for me even in a VM
Then create a script
mac.sh In this script put
#!/bin/bash service NetworkManager stop ifconfig eth0 down macchanger -r eth0 ifconfig eth0 up service NetworkManager start
Don't forget to run
chmod +x mac.sh Then just run