Operating System - Linux
1827809 Members
1935 Online
109969 Solutions
New Discussion

My NIC is not running, please help

 
SOLVED
Go to solution
david almada_3
Advisor

My NIC is not running, please help

Hi,
I have just installed CentOS 4.2 on my DL 145 G2 but my network is not functioning.
The installaion was just fine, without any problems, and the NIC is recognized by the OS, and is up( ifconfig)but it is not running.. The logs don´t accuse anything. How can i solve this

Thanks in advance
David
15 REPLIES 15
Vitaly Karasik_1
Honored Contributor

Re: My NIC is not running, please help

please send us "ifconfig -a", "dmesg|grep eth" and "lsmod" output.

Rgds,
Vitaly
rick jones
Honored Contributor

Re: My NIC is not running, please help

When you say "the NIC" is there really only one NIC in the DL145? I thought there was more than one, so are you sure the NIC you think you are using is the one you are actually using?

there is no rest for the wicked yet the virtuous have no pillows
Subramaniyan.S
Advisor

Re: My NIC is not running, please help

Hi David,

You are telling that, "it is not running". Could you please be clear in this sentence.
By which we can get some idea.

Because, if you say "it is not running", it may be physical network connectivity issue also.

rgds,

subbu.
The sole advantage of power is that you can do more good
Simon Wickham_6
Regular Advisor

Re: My NIC is not running, please help

Hi David,

Check you configuration under /etc/sysconfig/network-scripts which will either be ifcfg-eth0 or ifcfg-eth1.

Regards,
Simon
Vipulinux
Respected Contributor

Re: My NIC is not running, please help

Hi

Have you plugged the cable to the right NIC??

If yes do and lsmod and see if the NIC modules are loaded or not.

Cheers
david almada_3
Advisor

Re: My NIC is not running, please help

Hi guys,
Sorry for my late response, but I was in trouble to get a usb drive working with th OS
so I can carry the informations you asked.

ifconfig -a:
eth0 Link encap:Ethernet HWaddr 00:14:C2:3A:CB:8B
inet addr:172.17.80.29 Bcast:172.17.80.255 Mask:255.255.255.0
inet6 addr: fe80::214:c2ff:fe3a:cb8b/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:209

eth1 Link encap:Ethernet HWaddr 00:14:C2:3A:CB:8A
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:217

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4034 errors:0 dropped:0 overruns:0 frame:0
TX packets:4034 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1452036 (1.3 MiB) TX bytes:1452036 (1.3 MiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)


dmesg | grep eth:
divert_blk for non-ethernet device lo
divert: allocating divert_blk for eth0
eth0: Tigon3 [partno(BCM95721) rev 4101 PHY(5750)] (PCIX:100MHz:32-bit) 10/100/1000BaseT Ethernet 00:14:c2:3a:cb:8b
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[1]
divert: allocating divert_blk for eth1
eth1: Tigon3 [partno(BCM95721) rev 4101 PHY(5750)] (PCIX:100MHz:32-bit) 10/100/1000BaseT Ethernet 00:14:c2:3a:cb:8a
eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] Split[0] WireSpeed[1] TSOcap[1]
divert: not allocating divert_blk for non-ethernet device sit0
eth0: no IPv6 routers present
eth0: no IPv6 routers present

lsmod:

Module Size Used by
usb_storage 73353 1
vfat 17729 1
fat 53985 1 vfat
parport_pc 29569 0
lp 15281 0
parport 47437 2 parport_pc,lp
autofs4 29129 0
i2c_dev 14145 0
i2c_core 27841 1 i2c_dev
sunrpc 200633 1
ds 20681 0
yenta_socket 22209 0
pcmcia_core 69585 2 ds,yenta_socket
md5 4801 1
ipv6 292001 8
dm_mirror 32129 0
dm_mod 68009 1 dm_mirror
button 8161 0
battery 10313 0
ac 5833 0
ohci_hcd 26193 0
ehci_hcd 36677 0
tg3 104133 0
ext3 139729 8
jbd 86897 1 ext3
sata_nv 11077 0
libata 54665 1 sata_nv
mptscsih 48697 0
mptbase 65145 1 mptscsih
sd_mod 19265 12
scsi_mod 150577 4 usb_storage,libata,mptscsih,sd_mod


The NIC eth0 (the only used) is connect to a Cisco switch wich is workin fine with other
server connected to it.

Thanks in advance.

David Almada

Jonathan E. Deady
Frequent Advisor

Re: My NIC is not running, please help

You Eth0 NIC is up and has an IP as well as a netmask from what you sent us. Can you send us a netstat -rn which will show us the routing table. From this we can determine the gateway. Try pinging the default gateway. Also verify the Cisco switch config. Are you using VLAN's? Perhaps the port this server is connected to is in the wrong VLAN.

david almada_3
Advisor

Re: My NIC is not running, please help

Hi Jonathan,

Yes I am using vlan but i have checked the port,I have other server in the same vlan working fine and I also have tested without using vlans.
netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
172.17.80.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 172.17.80.1 0.0.0.0 UG 0 0 0 eth0

I can´t ping anything( as the interface is not running), but the interface on the switch is on and i have output packets but nothing on input.
Running tcpdump on the interface I can´t see notthing(as the interface is not running).
Vitaly Karasik_1
Honored Contributor

Re: My NIC is not running, please help

can you please run "ethtool", so we'll be sure that eth0 is connected.
Ivan Ferreira
Honored Contributor

Re: My NIC is not running, please help

I think that there may be a problem with the switch configuration (VLAN) or your module is not working correctly for your ethernet adapter. You can see from the ouput of ifconfig -a that no packets are received, you should always get packets received even if tcp/ip is not configured (broadcast packets).

Check your link status with ethtool. Check yoru adapter and port speed configuration.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
david almada_3
Advisor

Re: My NIC is not running, please help

from the ethtool it appears as the link is no connected. Hardly the problem will be the VLAN because I have already tested with a switch with no vlan configurations, and the result was the same.

ethtool eth0:
Settings for eth0:
Supported ports: [ MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised auto-negotiation: Yes
Speed: Unknown! (65535)
Duplex: Unknown! (255)
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: d
Current message level: 0x000000ff (255)
Link detected: no


ethtool -i eth0:
driver: tg3
version: 3.27-rh
firmware-version:
bus-info: 0000:02:00.0

The port of the switch is in full-duplex 100 Mbits/s.



rick jones
Honored Contributor
Solution

Re: My NIC is not running, please help

'NEVER' set either end of a 100BT link to different settings. Sorrow and woe will result. Both ends should be auto, or if you really feel the need to hardcode (which youwill have to stop doing with gigabit) make sure that both sides are hardcoded to the same value.

Also, you cannot really assume that the order of eth0 eth1 etc will remain fixed as things are changed in the system - new bits or new cards or whatnot can mean that what was once eth0 is not eth1 etc. So, if ethtool shows there is no cable connected to the interface, you might try ethtool against the other interface and see if the cable is connected there...
there is no rest for the wicked yet the virtuous have no pillows
Vitaly Karasik_1
Honored Contributor

Re: My NIC is not running, please help

I suggest to connect ethernet cable to another NIC - IMHO, for now it's connected to eth1.
david almada_3
Advisor

Re: My NIC is not running, please help

Yes , I have switched the cable and now it is working. It´s strange I was guided by the number that apperas aside the NIC ( 1-> eth0), I was convinced that I had already done that step.
Anyway thank y'all

david almada_3
Advisor

Re: My NIC is not running, please help

thank you