Solved

Identify and enable second NIC card on a Ubuntu machine

Posted on 2016-08-01
7
13 Views
Last Modified: 2016-08-02
I have a machine with Ubuntu 14.04 that my son set up for me to be a Plex server.  It has stopped connecting to the internet or even just the LAN. I verified the switch and cable by swapping in a CAT5 cable from another machine that sits right next to it and is working; no change.

I can see that this machine has a second NIC card port.  I have no documentation about the mother board.  I need an Ubuntu command to identify the MAC address of the second NIC card; I think when I have that I can set it up with the Network dialog box.
0
Comment
Question by:Mike Caldwell
  • 4
  • 2
7 Comments
 
LVL 7

Accepted Solution

by:
Phil Davidson earned 500 total points
Comment Utility
From the terminal, try this command:

ifconfig -a

Open in new window


This will list the NICs and reveal their MAC addresses.

The below commands should show an "operstate" field.  This should give a hint if a cable is physically connected:

grep "" eth0/*

grep "" eth1/*  

Open in new window


You might see what you can see in /sys/class/net/

You might want to try these commands:

sudo ethtool eth0 | grep Link

sudo ethtool eth1 | grep Link

Open in new window


The above was largely taken from this link.

If you look at both NICs that are physically connected to the server, are they flashing green, amber or solid red?  Those could help give clues.
0
 
LVL 1

Author Comment

by:Mike Caldwell
Comment Utility
Thanks for pointing me in the right direction.  ifconfig showed only one ETH channel.  So I did open up the cabinet, get the MB model, and find the manual on line.  The "Integrated Peripherals" selection in the BIOS offered how to turn on the other ETH channel.  Did so, and Ubuntu really tried to get something out of it; it showed "Connecting" but never actually connected.  From the system diagram I have concluded that the PCI Experss bus must be shot, but to give this machine one more chance I'm going to pick up an outboard NIC card in the morning and see if that works.  If not, time to say goodbye to this MB.  Stay tuned for more!
0
 
LVL 32

Expert Comment

by:sarabande
Comment Utility
the BIOS offered how to turn on the other ETH channel.

it is not very likely that both internal MB ethernet ports were defective. are they flashing red? you didn't answer to Phil's question.

you better check the connectivity again and try to Exchange the cable, plug the cable into another port of your switch or router and check the connectors. also unplug the router or switch from power, wait some time, and replug.

Sara
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 1

Author Comment

by:Mike Caldwell
Comment Utility
There were flashing yellow lights.  I swapped in the same CAT5 cable to the same switch that another unit nearby uses; no change.  I then plugged in the CAT5 coming from the router to the switch directly to this unit; no change.  Ubuntu would show that ETH2 was "connecting" but then timed out.  That would imply an external problem, but with the swapping that seems to not be the case.  So my theory is that there must be a common point from the CPU to the serial channels is bad; both are on the PCIe bus.  So for $15 I can get a NIC card and give it a try.  

If the NIC card does not work, and the externals are OK, I don't see what else I can do.
0
 
LVL 7

Expert Comment

by:Phil Davidson
Comment Utility
Some motherboards have utilities that you can run on them.  Dell's hardware has such programs that test them without booting to an OS.  This can tell you if the motherboard is defective.
0
 
LVL 1

Author Comment

by:Mike Caldwell
Comment Utility
Finally got ETH1 configured and ETH0 disabled.  Now reaching the internet.  Thanks to all.
0
 
LVL 1

Author Closing Comment

by:Mike Caldwell
Comment Utility
Thanks Phil.  Didn't use all of this; the ifconfig got me going down the right path, plus I found the manual on line.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Email Domain Transfer 2 32
not output on the show arp command 5 42
Route Summarization 2 29
server plus 2 40
Hello All, I have been training on Multicast for a while now and whenever I start the topic , I find out that my friends /  Colleagues mention that they do not know how to test Multicast Joins. As most of the multicast would be video traffic and …
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

763 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

10 Experts available now in Live!

Get 1:1 Help Now