The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 01-16-2008
AirWalker83 AirWalker83 is offline
Registered User
 

Join Date: Jan 2008
Posts: 9
Quote:
Originally Posted by DukeNuke2 View Post
use this script:
http://docs.cirkva.net/Sun/Solaris/Eis/S68net-tune
read the first few lines on how to use it!
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
Reply With Quote