SUMMARY: Setting HME manually to 10mb...

From: byeiser@us.chep.com
Date: Wed Feb 23 2000 - 13:01:44 CST


I wish to apologize to the list for such a simple question. I was under the gun
yesterday and it is faster sometimes to ask the list than it is to download the
FAQ and print it out.

I don't normally do that. I am usually very good about researching and trying
to find the answers myself...

I would like to thank all of the 65 people that responded with an answer to my
question. It would make for a very long post to thank them all individually, so
I wish to just thank the list in its entirety!

Here is the general tip that was given, and it serves as a reminder of
things/commands that I know, but take for granted... :)

Using the ndd command to access the hme kernel driver and change parameters on
the fly, you can change the behaviour of a specific hme device with the
following... I have created a script that runs at startup that will (until no
longer needed) change the hme interface at boot time.

Here is the basic steps that were given by 95% of the responses...

# ndd -set /dev/hme instance 0 (Change this to whatever instance of hme you
need. Mine was hme0)
# ndd -set /dev/hme adv_10hdx_cap 1 (Turns on the 10mb half duplex)
# ndd -set /dev/hme adv_100fdx_cap 0 (Turns off the 100mb full duplex)
# ndd -set /dev/hme adv_autoneg_cap 0 (This will ensure that auto-negotiation is
off)

You can confirm that the settings are implemented by using the following
commands:

# ndd -get /dev/hme link_speed (0=10mb, 1=100mb)
# ndd -get /dev/hme link_mode (0=Half Duplex, 1=Full Duplex)

The other 5% recommended that the interface be configured at the OBP with these
commands:

One of the best answers that I received (Documentation wise) was from John T.
Douglass and is as follows:

SRDB ID: 16143

SYNOPSIS: How to force the HME card to work at 10mb (full-duplex).

DETAIL DESCRIPTION:

The section "10FDX" includes how to force the HME card to work at 10 MB
(full-duplex). You can either put the commands in the /etc/system file
or in a startup script -- i.e. /etc/rc2.d/S99hme_config. You can also
make the changes from the command line -- using the "ndd" command and
the syntax below but we need to put the commands in /etc/system or a
startup script to preserve the environment accross reboots.

SOLUTION SUMMARY:

10FDX only

     /etc/system

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

     ndd commands

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

PRODUCT AREA: Gen. Network
PRODUCT: HME
SUNOS RELEASE: Solaris 2.5
HARDWARE: HME Card

****************************** END OF SUMMARY
**********************************************

==
This email is strictly confidential and intended solely for the addressee. It
may contain information, which is covered by legal, professional, or other
privilege. If you are not the intended addressee you must not use, disclose, or
copy this transmission.

This email is not intended to impose nor shall it be construed as imposing any
legally binding obligation upon CHEP and/or any of its subsidiaries or
associated companies.

Neither CHEP nor any of its subsidiaries or associated companies gives any
representation or warranty as to the accuracy or completeness of the contents of
this email. CHEP shall not be held liable to any person resulting from the use
of any information contained in this email and shall not be liable to any person
who acts or omits to do anything in reliance upon it.



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