Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1105325
  • 博文数量: 264
  • 博客积分: 7225
  • 博客等级: 少将
  • 技术积分: 5096
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-17 08:53
文章分类

全部博文(264)

文章存档

2011年(33)

2010年(52)

2009年(152)

2008年(27)

我的朋友

分类: LINUX

2008-12-22 20:59:48

   
 
 
« 上一篇 | 下一篇 »
 
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.

阅读(677) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~