天下第二博

Tian Xia The Second BO
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

linux修改MAC地址/locale

Posted on 2009-06-13 16:38  Nuke'Blog  阅读(561)  评论(0编辑  收藏  举报

1. linux中修改mac地址:

1.1 redhat:a. $ cd /etc/sysconfig/network-scripts
               b. Edit file "ifcfg-eth0",  change to your real MAC address
                   (Use "ifconfig -a" to display real MAC address.)
               c. $ /etc/init.d/network start                   (to restart network.)

1.2 SuSE:a. $ cd /etc/sysconfig/network
             b. $ mv ifcfg-eth-id-00:0c:29:ba:b2:ad  ifcfg-eth-id-
                    (Use "ifconfig -a" to display real MAC address.)
             c. $ /etc/init.d/network start         (to restart network.)

2.修改redhat locale:

   cd /etc/sysconfig/

   编辑i18n文档,指定自己所需的locale

3.修改SuSE hostname:编辑/etc/HOSTNAME