Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ndd - but where is my hme0?

Status
Not open for further replies.

630111

MIS
Oct 30, 2001
127
US
Was reading thread60-94820 about NIC settings, and read the man page on ndd. Here is my output of ifconfig -a

hme0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500 inet 10.13.104.42 netmask ffffff00 broadcast 10.13.104.255 ether 8:0:20:80:93:b9

I tried to run the command
ndd -get /dev/hme0 ?
but I get
&quot;couldn't push module 'hme0', No such device or address&quot;

I tried a find on hme0 but it appears to not be found on my box. What am I missing?
Thanks, in advance, for your help.

630111
 
If you have mulitple HME then you will have to set the instance #.
More than one hme:
ndd -set /dev/hme instance 0 (this set hme0)
ndd -get /dev/hme ?

second hme
ndd -set /dev/hme instance 1 (this set hme1)
ndd -get /dev/hme ?

Try this.
 
Thanks tuka!

I did as you suggested. I still get
&quot;couldn't push module 'hme0', No such device or address&quot;
when I try
ndd -get /dev/hme0 ?

But, when I try
ndd -get /dev/hme ?

I get
? (read only)
transceiver_inuse (read only)
link_status (read only)
link_speed (read only)
link_mode (read only)
ipg1 (read and write)
ipg2 (read and write)
use_int_xcvr (read and write)
pace_size (read and write)
adv_autoneg_cap (read and write)
adv_100T4_cap (read and write)
adv_100fdx_cap (read and write)
adv_100hdx_cap (read and write)
adv_10fdx_cap (read and write)
adv_10hdx_cap (read and write)
autoneg_cap (read only)
100T4_cap (read only)
100fdx_cap (read only)
100hdx_cap (read only)
10fdx_cap (read only)
10hdx_cap (read only)
lp_autoneg_cap (read only)
lp_100T4_cap (read only)
lp_100fdx_cap (read only)
lp_100hdx_cap (read only)
lp_10fdx_cap (read only)
lp_10hdx_cap (read only)
instance (read and write)
lance_mode (read and write)
ipg0 (read and write)

Is this the correct output from ndd?

Thanks again!
630111
 
Make sure you are running ndd as superuser. It will not work as any other user.
 
With ndd -get you specify /dev/hme (you were using /dev/hme0 which is not a valid device type ) The output you got for ndd -get /dev/hme ? gives the things you can set or get. To get info about your nic settings you would use ndd -get /dev/hme link_speed
which will give 0 - for 10Mb or 1 for 100Mb and ndd -get /dev/hme link_mode which will give 0 - for half duplex or 1 - for full duplex.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top