• Skip to primary navigation
  • Skip to main content
sharadchhetri

sharadchhetri

Tutorials On Linux, Unix & Open Source

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My WordPress plugins

Enable ethernet in RHEL 6.0 and CentOS 6.0 : Tested In Virtual Box and VMware

December 7, 2011 by Sharad Chhetri 4 Comments

Enable ethernet in RHEL 6.0 and CentOS 6.0 : Tested In Virtual Box and VMware

Today I downloaded the CentOS 6.0 and installed it in Virtual Box.After installation I found that no ethernet was enable and has no ip Address.

I tried to troubleshoot, restarted the network service,once again restarted the Machine but no luck so far.But after a few minutes I resolved the issue. So I hope it will help those who are still struck with this issue.

Below are the troubleshooting steps:

Step 1: Use the following command.

ifup eth0                (It will create a file /etc/sysconfig/network-scripts/ifcfg-eth0)

Step 2: Edit the file ifcfg-eth0 and add and edit the following parameters.

NM_CONTROLLED=”yes”   —>> make it NM_CONTROLLED=”no”

ONBOOT=”no” —->> make it ONBOOT=”yes”

Add this parameter; BOOTPROTO=”dhcp“

SAVE the file .

 

Step 3: Restart the network service.

/etc/init.d/network restart

Step 4: Now check the ip address by command ifconfig

 

It seems it is Bug in RHEL 6.0 and CentOS 6.0.Because while restarting the network service once again the eth0 did’nt  enable. So I had to restart the network service second time.

 

Share this:

  • Twitter
  • Facebook
  • More
  • Print
  • Email
  • LinkedIn
  • Reddit
  • Tumblr
  • Pinterest
  • Pocket
  • Telegram
  • WhatsApp
  • Mastodon

Related posts:

  1. How to configure ethernet in CentOS 6 after installing in Virtual Box
  2. hash:/etc/postfix/virtual is unavailable. open database /etc/postfix/virtual.db: No such file or directory
  3. How to create a search box inside page in WordPress
  4. How to set DHCP offered ip address to particular ethernet in freebsd
  5. Configure ethernet to get IP address from DHCP in Ubuntu and Debian
  6. Linux enable or disable multiple swap space
  7. How to enable logging of haproxy in rsyslog
  8. Enable verbose mode while gem install of package
  9. Enable php5-imap on Ubuntu 14.04 LTS
  10. How to configure vsftpd server with virtual user mysql authentication in CentOS 6

Filed Under: Linux Tagged With: centos6, ethernet

Reader Interactions

Comments

  1. Bulah Chia says

    December 1, 2016 at 4:24 pm

    I really appreciate this!

    Reply
  2. Francisco Tecedeiro says

    May 6, 2014 at 5:24 pm

    Thanks dude

    Reply
    • sharad chhetri says

      May 7, 2014 at 1:46 am

      You are Welcome Francisco

      Reply
  3. madusanka says

    December 3, 2012 at 3:51 pm

    yap it’s work well, thanks

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Copyright © 2023 ·
The material in this site cannot be republished either online or offline, without our permission.
Proudly Blogging From Bharat.

  • Contact
  • About Me
  • My WordPress plugins
  • Privacy Policy