Tuesday, October 1, 2013

Rename Interface in RHEL 5??

www.unixbabuforum.inHow to rename interface in RHEL5, I see the files under rules.d/ directory here not found "70-persistent-net.rules" file. (In RHEL6 having 70-persistent-net.rules under /etc/udev/rules.d). 

below files having in RHEL5 under rules.d 
[root@portal1 ~]#ls /etc/udev/rules.d/ 
05-udev-early.rules 51-hotplug.rules 60-net.rules 60-raw.rules 90-alsa.rules 95-pam-console.rules 
50-udev.rules 60-libsane.rules 60-pcmcia.rules 60-wacom.rules 90-hal.rules bluetooth.rules 
 ....how to change NIC name using rules
www.unixbabuforum.init is kind of temporary solution but you can change it with this command : 

ip link set eth0 name em0

you should make sure interface eth0 is down AND again it is a temporary solution until you reboot your system .

0 comments:

Post a Comment

 
Design by BABU | Dedicated to grandfather | welcome to BABU-UNIX-FORUM