![]() sudo ifdown wlan0 for wireless interface. sudo ifdown eth0 for ethernet 0 interface and. Take the interface you wanna change the MAC address down. Take a note of your original MAC address. GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/0 To change your MAC address without the macchanger program using ifconfig Command. after making connection to the network % nmcli dev show wlp2s0 % nmcli dev show wlp2s0Īddress assigned by macchanger ->^^^^^^^^^^^^^^^^^īut the moment I connect to a network, the mac address is reset back to the original hardware mac address. I then restart network-manager but not connected to the network yet, the new macchanger assigned mac address persists i.e. ip link 1: lo: mtu 16436 qdisc noqueue state UNKNOWN link /loopback 00: 00: 00: 00: 00: 00.To get the same for new ethernet card use the below command. In case you have added a new ethernet card, ifconfig won't show the output of that new device. ![]() sudo macchanger -m 00:60:1B:EB:F8:73 wlp2s0 But this command will show the MAC details of configured ethernet device.Now, on Ubuntu 16.04, after running those same commands using This would assign a new mac address which persisted after network-manager was restarted and a new connection to the network was made. With Ubuntu 14.04 when I wanted to connect to a network using a different mac address I would run the following commands sudo service network-manager stop
0 Comments
Leave a Reply. |