Version |
Releasedate |
Description |
1.1.0 |
03/08/2005 |
initial public release |
1.2.0 |
12/14/2005 |
added support for bge adapter |
1.2.3 |
11/02/2007 | #
1.2.1 /bs 05/19/2006 - minor bug fixes # 1.2.2 /bs 08/09/2006 - corrected code for bge adapters # 1.2.3 /bs 11/02/2007 - added support for nxge adapters # |
1.2.4 |
12/21/2007 |
#
1.2.4 /bs 12/21/2007 - added support for new GLDv3 driver |
1.2.5 |
03/31/2008 |
#
1.2.5 /bs 03/31/2008 - added support for e1000gx driver |
bash-2.05# get_network_adapter.sh -h
get_network_adapter.sh - get the status of a network adapter
Usage: get_network_adapter.sh adapter [kstat|ndd]
kstat - use kstat, ndd - use ndd; default: use the approbiate
method for the adapter.
Hint: The output of kstat maybe wrong if it is not supported by the
driver!
bash-2.05#
bash-2.05#
get_network_adapter.sh hme0
Retrieving the status for the adapter "hme0" using the method "ndd"
...
The advertised capabilities of the interface are:
adv_autoneg_cap : 1
adv_100T4_cap : 0
adv_100fdx_cap : 1
adv_100hdx_cap : 1
adv_10fdx_cap : 1
adv_10hdx_cap : 1
The capabilities of the link partner are:
lp_autoneg_cap : 1
lp_100T4_cap : 0
lp_100fdx_cap : 1
lp_100hdx_cap : 1
lp_10fdx_cap : 1
lp_10hdx_cap : 1
The current mode of the interface is:
The link is up
The mode is 100 MBit
The mode is Full Duplex
bash-2.05#