[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 833
  • Last Modified:

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?
0
jonathanduane2010
Asked:
jonathanduane2010
  • 2
1 Solution
 
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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now