I know how to do it on an E450 unsder Solaris 2.6.Quote:> Does anyone know how I change the Ethernet port setting on both a SUN
> E250 and a E450 so that it is set to run at 100Mbps Full-Duplex ???
> (They are currently running at 10Mbps Half-Duplex)
Look at /usr/sbin/ndd
If your interface is hme0, just login as root and type
/usr/sbin/ndd -set /dev/hme adv_100fdx_cap 1
Here is a small shell script to use as root :
#
# Set NIC speed and mode
#
#set -x
if [ $# != 5 ]; then
echo "Usage: $0 <autoneg> <100fdx> <100hdx> <10fdx> <10hdx>"
echo " where parameters are 0 or 1\n"
exit 1
fi
inst=0
itf="hme"
# Use qfe 0 to 3 for quad NICs
autoneg=$1
fdx100=$2
hdx100=$3
fdx10=$4
hdx10=$5
PATH=$PATH:/usr/sbin
ndd -set /dev/$itf adv_autoneg_cap $autoneg
ndd -set /dev/$itf adv_100fdx_cap $fdx100
ndd -set /dev/$itf adv_100hdx_cap $hdx100
ndd -set /dev/$itf adv_10fdx_cap $fdx10
ndd -set /dev/$itf adv_10hdx_cap $hdx10
echo "/dev/${itf}${inst} : adv_autoneg_cap=`ndd /dev/$itf
adv_autoneg_cap`"
echo "/dev/${itf}${inst} : adv_100fdx_cap=`ndd /dev/$itf adv_100fdx_cap`"
echo "/dev/${itf}${inst} : adv_100hdx_cap=`ndd /dev/$itf adv_100hdx_cap`"
echo "/dev/${itf}${inst} : adv_10fdx_cap=`ndd /dev/$itf adv_10fdx_cap`"
echo "/dev/${itf}${inst} : adv_10hdx_cap=`ndd /dev/$itf adv_10hdx_cap`"
* Begin hme - force 100BaseTX - Full Duplex Mode
set hme:hme_adv_autoneg_cap=0
set hme:hme_adv_100hdx_cap=0
set hme:hme_adv_100fdx_cap=1
We also have the same on our SPARC Ultra 1's running Solaris 7 so I guess
it's uniform across most Sun platforms
>> Does anyone know how I change the Ethernet port setting on both a SUN
>> E250 and a E450 so that it is set to run at 100Mbps Full-Duplex ???
>> (They are currently running at 10Mbps Half-Duplex)
> On our E420's running solaris 8 we have the following in /etc/system
> * Begin hme - force 100BaseTX - Full Duplex Mode set
> hme:hme_adv_autoneg_cap=0
> set hme:hme_adv_100hdx_cap=0
> set hme:hme_adv_100fdx_cap=1
> We also have the same on our SPARC Ultra 1's running Solaris 7 so I
> guess it's uniform across most Sun platforms
Graeme Hinchliffe
- Logan
--
"In order to be prepared to hope in what does not deceive,
we must first lose hope in everything that deceives."
Georges Bernanos
ndd was part of solaris 8 01/01 ->Quote:> That maybe, but I would like a way to find that information out. ie, why
> won't the ndd command work on my machine (Sparc 4/Solaris 7) I seems to
> work fine on E4500/E450/Blade 100/SS10/SS20/etc the list goes on. I can't
> verify the sparc 4 on multiple machines b'c I don't have but one. But it
> also works on a Sparc 5. The machine is listed on the solaris 7 H/W compat
> list. So what's the deal? Any clues?
http://docs.sun.com:80/ab2/coll.709.2/SOLTUNEPARAMREF/
--
/* Regards,
Jason Kawaja, UF-ECE Sys Admin */
> ndd was part of solaris 8 01/01 ->
> http://docs.sun.com:80/ab2/coll.709.2/SOLTUNEPARAMREF/
Even if the le driver supported ndd (it doesn't), you wouldn'tQuote:>I also am having trouble changing and checking speed on my sparc 4 (Solaris
>7) machine.
...
>but when I put in the command ndd /dev/le \? or and anything I get operation
>failed, Invalid argument.
...
>If you can figure out why it
>doesn't work correctly please let me know.
1. changing ethernet speed to slower
I'm trying to change the ethernet speed with the following command:
ethtool -s eth0 speed 100
When I do that command, the link goes down for 3 seconds and when it comes
back up the speed is still 1000. Either the command is not really setting
it right, or the negotiation overruled it somehow. Is there a way to force
it to run at 100 no matter what, even if renegotiated later, without having
to add a 100-only hub in the line?
--
|WARNING: Due to extreme spam, googlegroups.com is blocked. Due to ignorance |
| by the abuse department, bellsouth.net is blocked. If you post to |
| Usenet from these places, find another Usenet provider ASAP. |
| Phil Howard KA9WGN (email for humans: first name in lower case at ipal.net) |
3. Changing Ethernet card speed
4. Getting source of socket connection
5. How to set ethernet port speed on HP
6. Sony 32 max cdrom not working after boot
7. How do I change the default com port speed?
8. Filesystem seems to have taken a hit
9. changing baud rate speed of com port
10. Serial Port Speed Change, 2.4.10->2.4.16
11. Force pppd to report actual connection speed, instead of local port speed
13. Dell Latitude Port Replicator SCSI/ethernet ports