fuopen

 

转:修改Ubuntu MAC地址(临时修改)

1、停用网卡:

sudo ifconfig eth0 down

2、修改MAC地址:

sudo ifconfig eth0 hw ether MAC

上面命令中的MAC就是要将要修改成的地址,格式为:0a:1b:2c:3d:4c:5f

3、重新起用网卡:

sudo ifconfig eth0 up

4、重启系统的网络服务:

sudo /etc/init.d/networking restart

posted on 2012-05-13 10:46  fuopen  阅读(408)  评论(0)    收藏  举报

导航