nic cards not showing in linux

Posted on 2012-08-19
Last Modified: 2012-08-23

i have two nic cards on my machine (ubuntu server 12.04) and when i do a ifconfig from the hash prompt it only shows


but when i do a ifconfig -a | grep eth

it shows eth0 and eth1

how can i get it to show both physical network cards in in ifconfig?
Question by:jonathanduane2010
    LVL 7

    Accepted Solution

    ifconfig eth1 up

    Open in new window

    Mainly you are missing entries in /etc/network/interfaces if its a server.

    Then you can e.g. run ifup eth1

    Author Comment

    ok will try that!

    i think the problem is that i copied an interfaces file from a machine i am replacing with this one, and the old one had br0  can i change br0 to eth1 by using nano???

    and i am a bit rusty in those regards, how do i do that??
    LVL 7

    Expert Comment

    Do you mean br0 or virbr0? Last one could be created by libvirt/xen automatically on startup.
    LVL 3

    Expert Comment

    The most common reason I have found is ONBOOT=no should be changed to ONBOOT=yes in the /etc/network/interfaces file.  Then just restart the network interface.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
    The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. Once you open the link you will see …
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now