ndd - get and set driver configuration parameters
to get your network interface card (eg: hme0) info:
# ndd -get /dev/hme link_status
# ndd -get /dev/hme link_speed
# ndd -get /dev/hme link_mode
# ndd -get /dev/hme link_speed
# ndd -get /dev/hme link_mode
link_status
0 for Link Down
1 for Link up
link_speed
0 for 10 Mbps
1 for 100 Mbps
link_mode
0 for Half-Duplex mode
1 for Full-Duplex mode
and of course for more info:
# man ndd
1 comment:
Thanks a lot :)
Post a Comment