NIC speed 100M/full duplex problem


 
Thread Tools Search this Thread
Special Forums IP Networking NIC speed 100M/full duplex problem
# 1  
Old 01-16-2008
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?
# 2  
Old 01-16-2008
use this script:
http://docs.cirkva.net/Sun/Solaris/Eis/S68net-tune
read the first few lines on how to use it!
# 3  
Old 01-16-2008
Quote:
Originally Posted by DukeNuke2
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
# 4  
Old 01-16-2008
Quote:
Originally Posted by DukeNuke2
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
# 5  
Old 01-17-2008
everything you have to do is written down in the first few lines of the script! RTFineM!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Haed code nxge0 nic interface with full duplex & 1000mbps

Hi All I would need to do hard code of nxge0 nic to full duplex & 1000mbps. So that whenever solaris server come up after reboot. it will show full duplex & 1000mbps setting only. Please also let me know how to do it online through command. regards (0 Replies)
Discussion started by: amity
0 Replies

2. AIX

Connected and Running with half duplex speed

VIO Server connected to switch port and running with half duplex speed on one of the shared ethernet adapter. We have verified at switch end and everythings looks good. Other ethernet adapter in the VIO server are connected and running in Full duplex speed. Please help me find why this shared... (4 Replies)
Discussion started by: mugunthanvh
4 Replies

3. AIX

How to change Speed Duplex

How to change Speed Duplex ! How to change Speed Duplex by command chdev -P -l ent1 -a media_speed=1000_Full_Duplex How to change Speed Duplex by Smitty . smitty chgenet -> select adapter -> change Media speed etc. -> set "Apply change to DATABASE only" to yes -> Enter -> ... (0 Replies)
Discussion started by: ITHelper
0 Replies

4. Solaris

How to find half duplex or full duplex

Hi, How to find whether the server is running with half duplex or full duplex. I tried with the following command ndd -get /dev/ but am not getting any output,. Is the command correct? Also let me know how to change from half to full duplex. (1 Reply)
Discussion started by: rogerben
1 Replies

5. Solaris

Solaris 10 Speed and Duplex Settings: bge

Evening, I am attempting to change the speed and duplex settings on a single interface on a bge card on an m3000 SPARC server. Currently the settings are as follows: bge0 link: up speed: 1000 Mbps duplex: full bge1 link: up speed: 100 Mbps ... (13 Replies)
Discussion started by: brialt1
13 Replies

6. Infrastructure Monitoring

How to find the duplex speed on Windows

Hi, In UNIX, it's very easy to find the duplex speed. But in Windows, is there a easy way to find the duplex speed? I can't go to over 100 servers to find this out, I was wondering if I run one command to do this? Please advice. (2 Replies)
Discussion started by: samnyc
2 Replies

7. Solaris

gigabit - fix speed/duplex on the switch ? or autoneg ?

Hi there We have a bit of a debate going here over what the prefered method is for setting 1000/Full on e1000g or nge interfaces is. As you aware the Solaris configration files for nge and e1000g dont allow you to "fix" 1000/Full but instead allow you to set auto-negotiate to ON but only... (1 Reply)
Discussion started by: hcclnoodles
1 Replies

8. Solaris

change NIC to 1000 Mbps full duplex

Hi all, I tried to use this command ndd -set /dev/eri adv_1000fdx_cap 1 but i get a "operation failed, Invalid argument" anyone can help ? Thanks (5 Replies)
Discussion started by: DarReNz
5 Replies

9. Programming

full -duplex ?

what is meant by full duplex and half duplex? b'coz in differences b\w hub and switch ,i heard lot this duplex word so please help me (1 Reply)
Discussion started by: parvathy
1 Replies
Login or Register to Ask a Question