IntraServer Technology ITIpci 5100G/GF Manuel D’Utilisation

Page de 56
 
LSI Logic Corporation  
                               Page 32 of 56                       
 
Saving Driver Parameters 
Beyond Reboot 
Any parameter changes made using ndd will be lost the next time your 
system is rebooted. To keep changes through reboot, parameter settings must 
be placed in a start-up file with the following filename: 
/etc/rc2.d/S99itialt
 
Example:
 If you need to adjust adapter 2 to turn Link Negotiation off and 
increase the TCP/IP values, you could place the following lines in the 
/etc/rc2.d/S99itialt
 start-up file: 
#!/sbin/sh
# local kernel modification
#
case "$1" in
'start')
echo "Setting local kernel parameters...\c"
ndd -set /dev/alt instance 2
ndd -set /dev/alt link_negotiation 0
ndd -set /dev/tcp tcp_recv_hiwat 65535
ndd -set /dev/tcp tcp_xmit_hiwat 65535
ndd -set /dev/udp udp_xmit_hiwat 65535
ndd -set /dev/udp udp_recv_hiwat 65535
echo " "
;;
'stop')
echo "$0: No parameters changed."
;;
*)
echo "Usage: $0 {start|stop}"
;;
esac