歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Unix知識 >> 關於Unix >> linux修改MAC地址/locale

linux修改MAC地址/locale

日期:2017/3/6 15:22:38   编辑:關於Unix
1. linux中修改mac地址: 1.1 redhat:a. cd /etc/sysconfig .net work-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

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-<real MAC address>
(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

Copyright © Linux教程網 All Rights Reserved