1826469 Members
3027 Online
109692 Solutions
New Discussion

ndd /dev/hme instance

 
SOLVED
Go to solution
Nik_1
Advisor

ndd /dev/hme instance

Am I right in thinking that:

ndd /dev/hme instance

will tell me what hme interface card I'm using, and that:

ndd -set /dev/hme instance 1 will change it to interface card 1

Is there anyway to list how many interface cards I have? ie: can I find out how many instance options I have, ie: can I do ndd -set /dev/hme instance 2 (i know I can find this out by trying it... but I'm trying to write a script that will do an ndd query on all avilable interface instances.)

cheers,
Nik
2 REPLIES 2
harry d brown jr
Honored Contributor
Solution

Re: ndd /dev/hme instance

Maybe if you were using Solaris, /dev/hme* would work.

If you are trying to find what network cards you have on your system, and which are being used, then do this:

ioscan -fn -C lan

lanscan

netstat -rn

ifconfig lan#

live free or die
harry
Live Free or Die
Nik_1
Advisor

Re: ndd /dev/hme instance

thanks... I've figured it out now. Here's 10 points anyway for answering so quickly! pointing me in the right direction for answers.