The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here.


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
configure full duplex hassan2 Linux 4 01-21-2008 11:31 PM
How to force a full duplex Remi SUN Solaris 2 12-01-2006 05:55 AM
full -duplex ? parvathy High Level Programming 1 06-11-2005 07:07 AM
Full Duplex Howto Phobos UNIX for Dummies Questions & Answers 4 01-01-2005 06:54 PM
Full duplex at HUB? merlin UNIX for Dummies Questions & Answers 4 09-03-2002 05:41 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-16-2008
Registered User
 

Join Date: Jan 2008
Posts: 7
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 01-16-2008
DukeNuke2's Avatar
Soulman (Moderator)
 
Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,046
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
use this script:
http://docs.cirkva.net/Sun/Solaris/Eis/S68net-tune
read the first few lines on how to use it!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008
Registered User
 

Join Date: Jan 2008
Posts: 7
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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
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
Reply With Quote
  #4 (permalink)  
Old 01-16-2008
Registered User
 

Join Date: Jan 2008
Posts: 7
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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
  #5 (permalink)  
Old 01-16-2008
DukeNuke2's Avatar
Soulman (Moderator)
 
Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,046
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
everything you have to do is written down in the first few lines of the script! RTFineM!
Reply With Quote
Google UNIX.COM
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 02:35 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102