Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-16-2020, 10:15 PM
|
#1
|
Member
Registered: Sep 2018
Posts: 194
Rep:
|
NIC not coming online
Hello,
I have been struggling to bring Dell R740 on network, but no success, need some help. I am installing OVM 3.4.6, which I Linux based from Oracle. There are two 1 gb network card and two 10gb network card. I am concerned about 1gig card as of now because there I will create bonding and will bring server online. 10gig will be used to connect SAN, so that can be ignored as of now.
Network guys enabled switch port and did all cabling, but ethtool shows "Link detected" only for first port, i.e. em1. For rest all interfaces it doesn't show any link. I called Dell and he says that hardware is good and I should be contacting Oracle, because OVM is their OS (Linux) which is not able to see NIC properly. Oracle says that first Link should come online, so ideally Dell should tell this.
With attached 3 screenshot output, can somebody help me to narrow down the issue? Please let me know, if you need more details or screenshot from iDRAC console.
I am suspecting it may be driver issue, but not sure what to download and try installing. On other side, if em1 is coming online then other ports also should come online on same card, so no driver issue?
Please advice.
Thanks
Last edited by james000; 09-17-2020 at 12:02 AM.
Reason: adding one more image
|
|
|
09-17-2020, 02:08 AM
|
#2
|
LQ Addict
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316
|
Can you show the output of ip link?
Another way to check connection is cat /sys/class/net/em1/carrier. If 0, the NIC is up and not connected to a switch. If it's 1, up and connected. If an error is produced, the NIC is down.
|
|
|
09-17-2020, 02:23 AM
|
#3
|
Member
Registered: Sep 2018
Posts: 194
Original Poster
Rep:
|
Hi.... Please see both attached images.
As per your advice, except em1, all other interfaces are not connected to switch. But I got it checked today in datacenter. All connected cables are traced again and they are connected to switch ports. If support person take out cable from switch port, then I don't see light on port on server end.
Do you want to me check something else?
|
|
|
09-17-2020, 03:10 AM
|
#4
|
LQ Addict
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316
|
The first screenshot shows that all NICs except em1 are down. That explains why ethtool thinks that they are not connected. The result of the carrier test confirms this.
Dell is probably right: The hardware is OK, and your network configuration is at fault. I don't know specifically how OVM manages network interfaces, but a quick test would be to set em2 up and check again with ethtool and carrier:
Code:
ip link set em2 up
ethtool em2
cat /sys/class/net/em2/carrier
ip link show em2 # to double check if it is really up
I can't guarantee that it will work, because you may have an aggressive network manager running in the background that resets em2's setting immediately. That's why included the last command.
|
|
1 members found this post helpful.
|
09-17-2020, 03:56 AM
|
#5
|
Member
Registered: Sep 2018
Posts: 194
Original Poster
Rep:
|
Wow...that did the trick. I can see interfaces are up.
OVM is almost same as RHEL, so very much Linux.
I did the bonding and gateway was pinging. Thank you so much
|
|
|
09-17-2020, 04:18 AM
|
#6
|
LQ Addict
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316
|
Congrats! There is nothing like a good bonding activity with your computer
You need to make your configuration persistent. If it's like RHEL or Centos, you use config files /etc/sysconfig/network-scripts/ifcfg-em2 and so on. If OVM 3.4.6 is based on RHEL 8, you can also use the nmcli command instead. Details are in your documentation or the RHEL networking manual.
|
|
|
All times are GMT -5. The time now is 04:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|