SUMMARY: detect speed on ethernet

From: Becki.Kain@galegroup.com
Date: Wed Jan 26 2000 - 14:35:10 CST


thanks to Matthew.Stier@fnc.fujitsu.com for telling me to ndd for this
also. This is the exact answer:

---------------------- Forwarded by Becki Kain/Gale on 01/26/2000 03:33 PM
---------------------------

Ernest Cespedes <ernestc@intimesw.com> on 01/26/2000 03:22:25 PM

To: Becki.Kain@galegroup.com
cc: (bcc: Becki Kain/Gale)

Subject: Re: detect speed on ethernet

This is how you do it...

If the auto negotiate does not work, then the 100-MB full
duplex can be forced to run at 100MB, full-duplex using the
following:

ndd -set /dev/hme instance 0
ndd -set /dev/hme adv_100T4_cap 0
ndd -set /dev/hme adv_100fdx_cap 1
ndd -set /dev/hme adv_100hds_cap 0
ndd -set /dev/hme adv_10fdx_cap 0
ndd -set /dev/hme adv_10hdx_cap 0
ndd -set /dev/hme adv_autoneg_cap 0

           or (if using /etc/system)

set hme:hme_adv_autoneg_cap=0
set hme:hme_adv_100T4_cap=0
set hme:hme_adv_100fdx_cap=1
set hme:hme_adv_100hdx_cap=0
set hme:hme_adv_10fdx_cap=0
set hme:hme_adv_10hdx_cap=0

How to tell if hme is running 100baseT

# ndd -get /dev/hme link_status
# ndd -get /dev/hme link_speed
# ndd -get /dev/hme link_mode

link_speed 0 = 10 Mbps
           1 = 100 Mbps

link_mode 0 = half-duplex
           1 = full-deplex

Becki.Kain@galegroup.com wrote:

> How do you detect at what speed the ethernet port is running at? I don't
> know how to set it with ndd, but how to see what it is running at now. I
> tried netstat, spray, ifconfig already
>
> thanks
>
> becki kain



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:02 CDT