NIC speed 100M/full duplex problem

I have a TOSHIBA AS7000 B150 Sun Box
I wanted to run it with 100M/full duplex
I had added this to the /etc/system file to make to setting permenant So it would be set correctly on reboot.
set eri:eri_adv_100fdx_cap=1
set eri:eri_adv_100hdx_cap=0
set eri:eri_adv_autoneg_cap=0

But when I rebooted the Sun Box and checked to nic configuration, all the setting were reset to 1
ndd -get /dev/eri adv_autoneg_cap
1
ndd -get /dev/eri adv_10hdx_cap
1
ndd -get /dev/eri adv_10fdx_cap
1
ndd -get /dev/eri adv_100hdx_cap
1
ndd -get /dev/eri adv_100fdx_cap
1
Anything thoughts on what might be causing this to happen?

use this script:
http://docs.cirkva.net/Sun/Solaris/Eis/S68net-tune
read the first few lines on how to use it!

Hi DukeNuke2
In the script, i got saw this command
ln /etc/rc2.d/S68net-tune /etc/init.d/net-tune
but i dun see any net-tune file under /etc/init.d.......

And if my device is eri, the script i just like below:?

#!/sbin/sh
# /etc/rc2.d/S68net-tune /etc/init.d/net-tune
PATH=/usr/bin:/usr/sbin

case "$1" in
'start')
echo "Implementing Solaris Network Tuning."
# eri-Interfaces
eri0
ndd -set /dev/eri instance 0
ndd -set /dev/eri adv_100T4_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
ndd -set /dev/eri adv_autoneg_cap 0
;;

 'stop'\)
     echo "No kernel parameters changed."
     ;;

    *\)
     echo "Usage: $0 \{start|stop\}"
     ;;

esac
exit 0

Hi DukeNuke2
Thanks for the info, but i cannot find the net-tune under /etc/init.2.From the script, it need to create a link to net-tune file as below
ln /etc/rc2.d/S68net-tune /etc/init.d/net-tune
Do i need to touch it myself?

My device is eri. So the script i should modify as below?

#!/sbin/sh
# /etc/rc2.d/S68net-tune /etc/init.d/net-tune
PATH=/usr/bin:/usr/sbin

case "$1" in
'start')
echo "Implementing Solaris Network Tuning."
# eri-Interfaces
eri0
ndd -set /dev/eri instance 0
ndd -set /dev/eri adv_100T4_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
ndd -set /dev/eri adv_autoneg_cap 0
;;

 'stop'\)
     echo "No kernel parameters changed."
     ;;

    *\)
     echo "Usage: $0 \{start|stop\}"
     ;;

esac
exit 0

everything you have to do is written down in the first few lines of the script! RTFineM!