[SunHELP] SUMMARY: "ndd -get ..."

Gallagher, Tim sunhelp at sunhelp.org
Tue Apr 3 12:30:45 CDT 2001


My original question is below. 

The system I was trying this on (SS5) has only an le interface which is why the hme command was failing. In retrospect the first thing I should have done was determine the type of interface using "ifconfig -a".

The le interface seems to be too dumb to provide info to ndd, even "ndd /dev/le \?" fails with invalid argument.

ndd does work fine for example when used "ndd /dev/tcp \?".

Much thanks to the many helpful folks who provided input.

-- Tim

-----

When I try any of these commands on a 2.8 system, I get;

          "couldn't push module 'hme', No such device or address"

Even though /dev/hme shows up in a listing.

Any thoughts on what might be going on there?

---
-----Original Message-----
From: Pissey, Vinod [mailto:Vinod.Pissey at compaq.com]
Sent: Monday, April 02, 2001 9:37 AM
To: 'sunhelp at sunhelp.org'
Subject: [SunHELP] RE: SunHELP digest, Vol 1 #928 - 17 msgs


Hi Triyono

You can use  the following command to find out the status of your network
card'

ndd -get /dev/hme link_speed  -----> will give you the speed of the network
card.
ndd -get /dev/hme link_status -----> will give  you the status whether up or
down.
ndd -get /dev/hme link_mode -------> will tell you whether it is half duplex
or full duplex.

You can use  the set command to set the network card to whatever you need.

Thanks
Regards
Vinod
-----



More information about the SunHELP mailing list