如何更改pc的MAC地址?
我目前正在使用ubuntu 13.04以及Windows 7.但我想更改我的PC的MAC地址。 有没有办法改变它。
在Ubuntu中,您可以在网络设置中克隆Mac地址。
单击顶部栏中的网络图标,然后选择Edit connections
。 选择当前网络并点击“编辑”。 在以太网选项卡中,您应该看到实际的设备MAC和要输入要克隆的MAC的字段。
在命令行(终端)中,运行:
-
sudo ifconfig eth0 down
-
sudo ifconfig eth0 hw ether 00:11:22:33:44:55
-
sudo ifconfig eth0 up
这对于当前用户的会话来说已经足够了。 但是,为了使更改保持不变,还必须编辑/etc/network/interfaces
并创建或修改接口的条目。 例如:
iface eth0 inet dhcp hwaddress ether 08:00:00:00:00:01
资料来源: http : //blog.sleeplessbeastie.eu/2013/01/11/how-to-change-the-mac-address-of-an-ethernet-interface/
你可以安装macchanger
sudo apt-get install macchanger macchanger --mac=01:23:45:67:89:AB eth1