Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12
Unless you selected the network service to start by default, then it's probably not up. Try: ifup eth0 Then, if it comes up, make sure to enable it for ONBOOT. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Engineer
    Join Date
    Apr 2012
    Location
    Virginia, USA
    Posts
    917

    Unless you selected the network service to start by default, then it's probably not up.

    Try:
    ifup eth0

    Then, if it comes up, make sure to enable it for ONBOOT.

    vi /etc/sysconfig/network-scripts/ifcfg-eth0

    Add/edit the file to make it say
    ONBOOT="yes"

    And that should be it.

  2. #12
    Just Joined!
    Join Date
    Sep 2012
    Location
    India
    Posts
    29
    Hi

    Where is screen shot dear???which screen shot i have to folow to configure in correctly???
    screen shot here was mentioned in context of what you had provided.

    The error which it was providing was due to network connectivity
    /etc/yum.repos.d/(filename).repo
    baseurl = ""
    domain name mirrorlist.centos.org was not able to resolve

    now in this case you do following thing to resolve the issue
    Connect your virtual centos machine to internet
    or
    configure yum repository using install cd.

    If you host machine has connectivity then add loopback adapter on base machine so that your virtual ubantu can connect.

    Configuration of network can be done by using
    Code:
    setup
    Network

    command where you can assign static or manual IP also check vmware network setting.

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •