SUMMARY: Switching between 10 and 100Mbs on hme0

From: Kwok.Che.Tang@chase.com
Date: Fri Jun 19 1998 - 09:47:18 CDT


Many, many thanks to all those replied. Here's my original posting and the
answers follow:

From: Kwok.Che.Tang@chase.com[SMTP:Kwok.Che.Tang@chase.com]
Sent: Friday, June 19, 1998 4:13 AM
To: sun-managers@sunmanagers.ececs.uc.edu
Subject: Switching between 10 and 100Mbs on hme0
Does anyone know how to configure the fast ethernet card, hme0, so that it
can be switched from 10 and 100Mbs from the Operating System?
I will summarise.

Regards,
Kwok

The answer is, yes, it is possible to change the behaviour of the network
interface cards.

There are two ways of doing this, the first is online using the ndd
command. Type ndd /dev/hme \? will give you what options are available. The
options which are read only are for querying only, e.g. ndd -get /dev/hme
link_speed where a return code of 0 is 10Mbs and a 1 is 100Mbs.

To set the hme interfaces to use 100Mbs type the following:

ndd -set /dev/hme adv_100fdx_cap 1
ndd -set /dev/hme adv_autoneg_cap 0

The other more permenent way of doing this is to add two entries into the
/etc/system file, e.g.

set hme:hme_adv_100fdx_cap = 1
set hme:hme_adv_autoneg_cap = 0

And reboot the system for the changes to take effect.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:42 CDT