Operating System - Linux
1758176 Members
2505 Online
108868 Solutions
New Discussion юеВ

Network card bring up the server

 
ivychung2
Frequent Advisor

Network card bring up the server

In my server , I use TG3 network card driver , now I will change it to BCOM , and then restart the server , if I want to identify which network card ( TG3 or BCOM ) bring up the server , how can I know it ? ( because the TG3 card have problem so I know to make sure it run with BCOM ) , thx
3 REPLIES 3
Sergejs Svitnevs
Honored Contributor

Re: Network card bring up the server

try to execute next command:

# lspci -v |grep Ethernet

lspci is a utility for displaying information about all PCI buses in the system and all devices connected to them.

Regards
Matti_Kurkela
Honored Contributor

Re: Network card bring up the server

If you have the "ethtool" command, "ethtool -i eth0" tells you which driver the card is using and the PCI bus location of the card.

The older Linux distributions might not have the "ethtool" command.
MK
Stuart Browne
Honored Contributor

Re: Network card bring up the server

I think what you need to do is modify either '/etc/modules.conf' or '/etc/modprobe.conf' (depending on whether you're running a 2.4.x or 2.6.x series of kernel), so that the 'alias eth0 tg3' line reads 'alias eth0 bcm....' (whatever the appropriate module is called).

This will use this new driver upon restart.
One long-haired git at your service...