cubie两种固定MAC地址的方法

1、修改 /etc/init.d/networking 配置文件

在(a)代码的后面添加上(b)这段代码

(a)
case
"$1" in start)
(b)
ifconfig eth0 hw ether c0:b0:a9:4d:59:5e #MAC地址可改

2、修改 /etc/network/interfaces 配置文件

iface eth0 inet dhcp 后面添加上

hwaddress ether c0:b0:a9:4d:59:5e

做完上面的修改后保存重启即可。

posted @ 2013-09-10 16:02  左懒  阅读(408)  评论(0编辑  收藏  举报