setting full duplex mode on hme interface

setting full duplex mode on hme interface

Post by Joe Senne » Sat, 24 Apr 1999 04:00:00



someone posted the ndd set options to force full
duplex mode on an hme interface recently and now
I can't find it...

can someone repost/email the info?

thanks...

 
 
 

setting full duplex mode on hme interface

Post by Les Diefenba » Sat, 24 Apr 1999 04:00:00


: someone posted the ndd set options to force full
: duplex mode on an hme interface recently and now
: I can't find it...
:
: can someone repost/email the info?
:
: thanks...

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

Note: if you add commands to /etc/system file, you must reboot this system
      with -r.

How do you tell if the hme interface is actually linked up at 10 Mbps or 100
Mbps?

Answer:

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

link_status (read only)
      0 for Link Down
      1 for Link up

link_speed (read only)
      0 for 10 Mbps
      1 for 100 Mbps

link_mode (read only)
      0 for Half-Duplex mode
      1 for Full-Duplex mode

--
Later Les...
==============================================
Computer Sciences Corporation

MS security: We know were you went today...
==============================================

 
 
 

1. forcing full duplex on only 1 of 5 hme interfaces

ndd /dev/qfe -set instance 2
ndd /dev/qfe -set adv_100fdx_cap 1
ndd /dev/qfe -set adv_100hdx_cap 0
ndd /dev/qfe -set adv_10fdx_cap 0
ndd /dev/qfe -set adv_10hdx_cap 0
ndd /dev/qfe -set adv_autoneg_cap 0

Put this into a script in /etc/init.d and link to the proper place in
/etc/rc?.d/S??qfe2fdx.  You can fiddle with the /kernel/drv/qfe.conf
file to have this set earlier, but it is rather complicated.

Achim Gratz.

--+<[ It's the small pleasures that make life so miserable. ]>+--
WWW:    http://www.inf.tu-dresden.de/~ag7/{english/}

Phone:  +49 351 463 - 8325

2. : Modem disconnected right after it is connected

3. Input errors on full-duplex hme interfaces

4. Failed to compile gcc2.7.2 on Solaris2.5

5. Full duplex mode on hme

6. CSLIP Support?

7. setting full-duplex with ndd with more than 1 hme

8. strange telnet problem

9. How to set a NIC into full-duplex mode

10. how to set DE4x5 NIC to full duplex mode in RedHat 7

11. hme full-duplex at 100M?

12. full-duplex hme <-> Cisco 5000

13. SunSwift hme and full duplex