How to fully test a network card?

Hi all,

I have a network card in my sun blade with

the device name eri0 working perfectly. I wanted to

test then my second NIC, which has name eri0,

and the I just typed:

mv /etc/hostname.eri0 /etc/hostname.hme0 && reboot

I conected the ethernet cable to the second NIC

and tried ping, nothing. Ifconfig -a shows that

the NIC is UP (I can ifconfig hme0 plumb).

Tcpdumping from a neighbor I got

arp who-has my_problem_host tell my_problem_host

where my_problem_host hast the NIC hme0 in question.

It seems to me that my_problem_host sent this package to

the network, so the NIC hme0 should be working.

But no ping in any sense gets answer.

Can anybody tell me list of test i can do with this NIC.

I came installed from seller. I'm gratefull for tips.

[864 byte] By [tunelera] at [2007-11-26 23:44:45]
# 1

Shut down the computer.

Take the cover off and remove that network card.

Find the barcode sticker and copy the part number.

Return to the forum and let us know what you found.

We'd only need the first seven digits, such as 501-xxxx

eri and hme are specific to their individual chipsets.

The eri chipset is integrated to the systemboards of SB100, SB150,

SB1000 and SB2000 systems.I do not recall that interface ever on a separate card.

The hme chipset was on one or two cards but not every Sun network card.

Perhaps you have an add-in card that has yet another chipset.

Perhaps you just don't have the driver packages installed.

The packages may not be there if the OS was installed before the card was inserted.

Perhaps you needed a reconfiguration reboot instead of a conventional reboot.

[url=http://docs.sun.com/app/docs/doc/819-6399/]Solaris 10 (11/06) Package list, document #819-6399[/url]

rukbata at 2007-7-11 15:16:27 > top of Java-index,General,Sys Admin Best Practices...
# 2

Well, first, you don't need to reboot.

I take it you are using a static IP?

What are you trying to ping and how?

You can merely bring down eri0, then plumb hme0 and give it an IP/mask/broadcast in the command line, and it should work.

# ifconfig eri0 down

# ifconfig hme0 plumb

# ifconfing hme0 inet <IP> netmask <netmask> broadcast <broadcast>

# ifconfig hme0 up

You should be able to ping whatever you are using as a gateway.

Codename47a at 2007-7-11 15:16:27 > top of Java-index,General,Sys Admin Best Practices...
# 3
Hi, the barcode is 50150191953xx.It was the hme0 interface.Thanks for the nice explanations.[]sPS: Using ifconfig I also tried, it does not help,but I can plumb it.Message was edited by: tuneler
tunelera at 2007-7-11 15:16:27 > top of Java-index,General,Sys Admin Best Practices...
# 4
Just some extra info:I connected the network card to another sun blade and could use it,just doing `boot -r` and ifconfig ...In the problem-machine I tried this network card also in different slots,but no result. Driver ?
tunelera at 2007-7-11 15:16:27 > top of Java-index,General,Sys Admin Best Practices...
# 5

Try this in a terminal window, as any user (not necessary to be root):

pkginfo | grep SUNWhmd*

If the SunSwift drivers are installed, you will see information.

If they're not installed, you will get an error for an output.

Try it on the system that works with the adapter card and try it on the original system.

Compare your results.

rukbata at 2007-7-11 15:16:27 > top of Java-index,General,Sys Admin Best Practices...
# 6
Yes, i have SUNWhmd, SUNWhmdu, and SUNWhmdx.Is maybe extra driver necessary?
tunelera at 2007-7-11 15:16:27 > top of Java-index,General,Sys Admin Best Practices...
# 7

Those three packages are the proper ones.

(review my link in an earlier response for the list of available packages on the install media)

The reconfiguration reboot should have also worked,

so long as the card was in the system when you did it.

You've proved the card can work, because it did in the other system.

You've proved your OS can network, because it does with the onboard interface.

I have no additional insight for this.

... perhaps someone else can help.It's probably some small configuration glitch.

rukbata at 2007-7-11 15:16:27 > top of Java-index,General,Sys Admin Best Practices...
# 8
Ok, i tried to repeat a few tests, but again no success.I will maybe give up with this machine.But anyway thaks a lot for the very good tips!
tunelera at 2007-7-11 15:16:27 > top of Java-index,General,Sys Admin Best Practices...