nic cards not showing in linux

hi,

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

eth0
lo
virbr0

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?
jonathanduane2010Asked:
Who is Participating?
 
multimacCommented:
ifconfig eth1 up

Open in new window

Mainly you are missing entries in /etc/network/interfaces if its a server.
Howto:
http://www.ubuntugeek.com/ubuntu-networking-configuration-using-command-line.html

Then you can e.g. run ifup eth1
0
 
jonathanduane2010Author Commented:
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??
0
 
multimacCommented:
Do you mean br0 or virbr0? Last one could be created by libvirt/xen automatically on startup.
0
 
AggieTexCommented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.