找回密码
 注册
搜索
热搜: 回贴
微赢网络技术论坛 门户 服务器 Linux/BSD 查看内容

SUSE 改物理地址方法

2009-12-20 13:47| 发布者: admin| 查看: 82| 评论: 0|原作者: 玄霄


SUSE 改物理地址方法


首页
|


相册
|


共享
|


群组
|


留言
|


Beyondstar‘sBlog


我是在读博士,从事第一原理和分子动力学研究,做研究是一个艰辛的路程,这其中有失败的苦涩,也有成功的喜悦,希望用博客这种方式来记载自己


« 上一篇
|
下一篇 »



SUSE 改物理地址方法

[ 2008-07-26 09:19 | By: fpmd ]

做量化计算的有时候会用到,查了很多资料才找到,与大家分享;
Not so long ago I asked how to change mac address in Suse; as nobody could answer, I gave up and called my ISP, and told them my new mac address.
Since then I manager to persuade a friend of mine to try Suse (he had never had any Linux before), but he run into the same problem.
So, this is what I found out:
open root konsole and type: kwrite /etc/init.d/boot.local
then add 3 lines to the end of the file:
/sbin/ifconfig eth0 down
/sbin/ifconfig eth0 hw ether AA:50:8D:61:C4:AA
/sbin/ifconfig eth0 up
where you should replace AA:50:8D:61:C4:AA with your mac address and eth1 with eth that you get by executing /sbin/ifconfig
Now reboot
I hope this will help someone.






最新评论

QQ|小黑屋|最新主题|手机版|微赢网络技术论坛 ( 苏ICP备08020429号 )

GMT+8, 2024-9-30 03:28 , Processed in 0.165525 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

返回顶部