[SunHELP] how to check ethernet speed ?

Sebastien DAUBIGNE sebastien.daubigne at atosorigin.com
Wed Nov 14 02:36:35 CST 2007


You shoudn't use the instance number with ndd, you'd rather use the driver name alone.

/usr/sbin/ndd -set /dev/rtls instance 0 

/usr/sbin/ndd -get /dev/rtls link_speed




William Xu a icrit :
> I can't find mii-tool, ethtool, etc for solaris. Google tells me to use
> ndd. But seems i'm unable to apply it. Here is what I've tried so far: 
>
> ,----[ /sbin/ifconfig -a ]
> | lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
> |         inet 127.0.0.1 netmask ff000000 
> | rtls0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
> |         inet 192.168.1.115 netmask ffffff00 broadcast 192.168.1.255
> `----
>
> ,----[ /usr/sbin/ndd -get /dev/rtls0 link_speed ]
> | operation failed: Invalid argument
> `----
>
> Any suggestions would be greatly appreciated.
>
>   


-- 
Sebastien DAUBIGNE
Sebastien.daubigne at atosorigin.com - +33(0)5.57.89.31.09
AtosOrigin Infogerance - IMS/ERP/Pessac



More information about the SunHELP mailing list