Wednesday, July 17, 2013

solution: RHEL6 no ifcfg-eth

if the ifconfig shows the eth0/1/2/3 etc but there are no ifcfg-eth0/1/2/3 under the /etc/sysconfig/network-scripts/ then this indicates the network gui is managing the interface files.

you shall login as root

  1. su -
  2. use init 5
  3. on top right corner select the network manager 
  4. rename the interface from Auto ethX to ethX ( where X is number )
  5. apply the settings ( At this point you shall see the ifcfg-eth files under the network-scripts)
  6. execute rm /etc/udev/rules.d/70-persistent-net.rules
  7. reboot the machine ( reboot )

No comments: