×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Sun Networking

Hard Code Ethernet Duplex Settings by coffeysm
Posted: 23 Apr 05

Mismatched Duplex settings are not good for your system or the network.  They result in errors, extremely long downloads, and can cause a lot of problems.  Here is some ways to force certain types of interfaces to their required speed.  I have used 100Mbps for example, but the settings can be tweaked for your needs.

#hme - Usually found on the older Ultra models
#Add these lines to /etc/system
set hme:hme_adv_100T4_cap = 0
set hme:hme_adv_autoneg_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
# using a ndd startup script if you do not want to add to /etc/system
#!/bin/sh
ndd -set /dev/hme adv_100T4_cap 0
ndd -set /dev/hme adv_autoneg_cap 0
ndd -set /dev/hme adv_100fdx_cap 1
ndd -set /dev/hme adv_100hdx_cap 0
ndd -set /dev/hme adv_10fdx_cap 0
ndd -set /dev/hme adv_10hdx_cap 0
#qfe - Quad fast ethernet
#Add these lines to /etc/system
set qfe:qfe_adv_100T4_cap = 0
set qfe:qfe_adv_autoneg_cap = 0
set qfe:qfe_adv_100fdx_cap = 1
set qfe:qfe_adv_100hdx_cap = 0
set qfe:qfe_adv_10fdx_cap = 0
set qfe:qfe_adv_10hdx_cap = 0
# using a ndd startup script if you do not want to add to /etc/system
#!/bin/sh
ndd -set /dev/qfe adv_100T4_cap 0
ndd -set /dev/qfe adv_autoneg_cap 0
ndd -set /dev/qfe adv_100fdx_cap 1
ndd -set /dev/qfe adv_100hdx_cap 0
ndd -set /dev/qfe adv_10fdx_cap 0
ndd -set /dev/qfe adv_10hdx_cap 0
# eri - found on newer Sun Blades and Sun Fires
#Add these lines to /etc/system
set eri:adv_100T4_cap = 0
set eri:adv_autoneg_cap = 0
set eri:adv_100fdx_cap = 1
set eri:adv_100hdx_cap = 0
set eri:adv_10fdx_cap = 0
set eri:adv_10hdx_cap = 0
# using a ndd startup script if you do not want to add to /etc/system
#!/bin/sh
ndd -set /dev/eri adv_100T4_cap 0
ndd -set /dev/eri adv_autoneg_cap 0
ndd -set /dev/eri adv_100fdx_cap 1
ndd -set /dev/eri adv_100hdx_cap 0
ndd -set /dev/eri adv_10fdx_cap 0
ndd -set /dev/eri adv_10hdx_cap 0
# bge0 - Gigabit
# I use a script, however, I think there is a config file in the /kernel directory.
ndd -set /dev/bge0 adv_autoneg_cap 0
ndd -set /dev/bge0 adv_1000fdx_cap 0
ndd -set /dev/bge0 adv_1000hdx_cap 0
ndd -set /dev/bge0 adv_100fdx_cap 1
ndd -set /dev/bge0 adv_100hdx_cap 0
ndd -set /dev/bge0 adv_10fdx_cap 0
ndd -set /dev/bge0 adv_10hdx_cap 0
# ge - Gigabit
# I use a script, however, I think there is a config file in the /kernel directory.
ndd -set /dev/ge adv_autoneg_cap 0
ndd -set /dev/ge adv_1000fdx_cap 0
ndd -set /dev/ge adv_1000hdx_cap 0
ndd -set /dev/ge adv_100fdx_cap 1
ndd -set /dev/ge adv_100hdx_cap 0
ndd -set /dev/ge adv_10fdx_cap 0
ndd -set /dev/ge adv_10hdx_cap 0

Back to Sun: Solaris FAQ Index
Back to Sun: Solaris Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close