Summary: Sun Blade 1500s bge /etc/system settings

From: Nick Pettefar <Nick_at_Pettefar.com>
Date: Thu Jan 22 2004 - 08:45:56 EST
Here are the answers I received.  I haven't tried any out yet as the machines
seem to work fine using autoneg.

=======================================

Date: Thu, 11 Dec 2003 11:45:48 -0500
From: Clive McAdam <CMcAdam@ForestExpress.com>
To: "'Nick@Pettefar.com'" <Nick@Pettefar.com>
Subject: RE: Sun Blade 1500s bge /etc/system settings

Create

/platform/`uname -i`/kernel/drv/bge.conf

and put the following into it

speed=100;
full duplex=1;

=======================================

Date: Thu, 11 Dec 2003 11:49:52 -0500
From: "Harrington, David B. (Contractor) (DSCR)" <David.Harrington@dla.mil>
To: "'Nick@Pettefar.com'" <Nick@Pettefar.com>
Subject: RE: Sun Blade 1500s bge /etc/system settings Parts/Attachments:
 1 Shown 35 lines Text
 2 OK 15 lines Text
----------------------------------------

Nick;
I execute the attached file during bootup (soft link to /etc/rc2.d/S95nddsets).

dbh

=======================================

# /etc/init.d/nddsets a series of ndd commands to set parameters to other thandefault
# values.
#
# added to set the bge interface to 100mps fullduplex mode - dbh May 29, 02

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
ndd -set /dev/bge0 adv_autoneg_cap 0

=======================================

Date: Thu, 11 Dec 2003 11:38:27 -0600
From: "Gowda, Sanjay" <Sanjay.Gowda@wiltel.com>
To: Nick@Pettefar.com
Subject: RE: Sun Blade 1500s bge /etc/system settings
 Nick,
 Here is a copy of how to setup the bge interface on a V240.I am assuming
it is the same on Sun Blade 1500s as well.
----------------------------------------------------------------------------
Thanks to Stella Kong for the below reply:-
 I used option 2 and it worked fine.
 ------------------------------------------------------------------------
Hi Brett:

As per the document Sun has provided (ID70401) there are 2 solutions:

1. Create script in /etc/rc2.d to force it to set it to 100fdx everytime the system reboots.

Create script /etc/rc2.d/S68net_tune
#!/sbin/sh
# /etc/rc2.d/S68net-tune
PATH=/usr/bin:/usr/sbin
echo "Implementing Solaris ndd Tuning Changes "
# bge-Interfaces
# Force bge0 to 100fdx autoneg off
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
ndd -set /dev/bge0 adv_autoneg_cap 0
Make the script executable:

# chmod 755 /etc/rc2.d/S68net_tune
After the script is run, you will see that the NIC is set to 100fdx autoneg off.

2.
BGE.CONF
To force the bge interface to 100mbps full duplex, put the following entries in
/platform/sun4u/kernel/drv/bge.conf

A reboot is required for this method.

adv_1000fdx_cap=0;
adv_1000hdx_cap=0;
adv_100fdx_cap=1;
adv_100hdx_cap=0;
adv_10fdx_cap=0;
adv_10hdx_cap=0;
adv_autoneg_cap=0;

NOTE: Using bge.conf will force all instances of bge to the speed/duplex
specified in the file. Use ndd to force individual instances if for example
bge0 needs to be 10hdx and bge1 needs to be 100fdx.

Regards,

Stella

======================================================



Regards,

Nick

Nick Pettefar  Nick@Pettefar.com  DoD 1069  MAG 73516  Bros 650  ZZR1100D

On Wed, 21 Jan 2004, Jim Luttinen wrote:

> Hi,
>
> I was just browsing the sun manager archives, and came across your note
> asking for help with setting the network interface parameters via
> /etc/system.  Did you ever get a response to your query?  I'm in the same
> boat, and would like to make something permanent like that.
>
> Thanks,
>
> Jim Luttinen
> jluttine@d.umn.edu
>
> > Hi, we have some new Sun Blade 1500s with a bge gigabit network interface.
> >
> > Does anybody know how to set the bge interface to full 100 hard duplex
> > in the /etc/system file? I've tried various combinations but none
> > seem to work. The default seems to be autoneg which means I have to
> > get the ports changed by the network team for each installation.
> >
> > Regards,
> >
> > Nick
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Jan 22 08:45:47 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:27 EST