1833783 Members
2492 Online
110063 Solutions
New Discussion

auto negotiate

 
SOLVED
Go to solution
Amir Fadaghi
Advisor

auto negotiate

Hello HP_UX gurus;

I have a K class server with a Ethernet card. the speed on this card is set at 10 Mb/s. I want to set it to auto negotiate and not sure if it is set so. Could you tell how I can set this card to auto negotiate.

appreciate your help
reach and touch someone
12 REPLIES 12
Pete Randall
Outstanding Contributor

Re: auto negotiate

The general consensus seems to be not to auto-negotiate but, if that's what you really want to do - what's your OS?

Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: auto negotiate

Hi:

Match the product number on the card with the information in the link below. From this you will be able to deduce the correct configuraton file to change.

Moat folks find that auto-negotation is unreliable and set *both* their switch and their lan card to 100MG full duplex with no autonegotation.

http://techsolutions.hp.com/fe/tips.html

http://techsolutions.hp.com/fe/products.html

Regards!

...JRF...
Tom Horan
Frequent Advisor

Re: auto negotiate

Most K class Ethernet cards can be set to Auto Negotiate in SAM -> Networking and Communications -> Network Interface Cards.

In here you can set the speedto whatever you want, but you might come up against performace issue by setting it to autosense reather that 10 or 100.

You can also set the speed in /etc/rc.config.d/hppci100conf, set HP_PCI100_SPEED[0]=10FD
steven Burgess_2
Honored Contributor

Re: auto negotiate

Hi

Run the script to get your current settings

#!/usr/bin/sh
PATH=/usr/sbin:/usr/bin
ppas=`lanscan | awk '$3~/^[0-9]$/{print $3}' | xargs`
for i in $ppas
do
printf "Card at PPA %s - " $i
ipa=`ifconfig lan${i} 2>/dev/null | awk '{ip=$2}END{if(ip==""){printf("Not assig
ned ")}else{printf("%s ",ip)}}'`
printf "IP Address: %15s- " "$ipa"
# lanadmin -s $i | awk '{printf("%4d Mbps\n",$NF/1000000)}'
lanadmin -x $i 2>/dev/null | awk '{$1="";printf("%s",$0)}'
echo ""
done

HTH

Steve
take your time and think things through
Pete Randall
Outstanding Contributor

Re: auto negotiate

You need to run ioscan to find out what driver your card uses - "ioscan -kfnC lan". Then you can match that driver to the config file in /etc/rc.config.d/. The comments in the relevant config file should tell you how to set auto-negotiate. I believe the paramater you need is "auto_on".

Pete

Pete
steven Burgess_2
Honored Contributor

Re: auto negotiate

Hi Amir

Have a look at these frequently asked questions

HTH

Steve
take your time and think things through
Ian Dennison_1
Honored Contributor
Solution

Re: auto negotiate

All my 'Ethernet' Cards on my K classes are 10/Half Duplex with no option for alteration and therefore no need for auto-negotiation. Use 'SAM - Networking and Communication - Network Interface Cards' and the 'Modify' pull-down menu to confirm whether auto-negotiate is available.

So perhaps the point is moot?

Share and Enjoy! Ian
Building a dumber user
Amir Fadaghi
Advisor

Re: auto negotiate

All;

thank you for your fast and helpfull hints. This is a development box and 8 Oracle instances are running. By the way my OS is 11.0. With regard to sam, there is no option to change the speed. when I use lanadmin with -X option says "do not support". So I used -S and I get "Unable to change speed error no 22". I am not sure if I have an option to change the speed, am I wrong? I have also took a look at /etc/rc.config.d/hpbase100conf and used the options in the comment portion of the file but, no luck
reach and touch someone
Chris Fadrowski
Super Advisor

Re: auto negotiate

use SAM, it's the easy way.
Sandip Ghosh
Honored Contributor

Re: auto negotiate

In normal cases K class is having one Ethernet port on the Core I/O Card. And that ether net prot is 10mbps only. I don't know if you are having any other 100mbps cards or not. If not, you do not have any choice, you have to use that 10 mbps.

OR

You can add one 100 mbps card to increase the network speed.

Sandip
Good Luck!!!
Darrell Allen
Honored Contributor

Re: auto negotiate

The reason SAM does not have an option to change the speed for you NIC is because it is a 10Mb NIC, not a 10/100. If it were 10/100, SAM would give you the options to change the speed.

Neither will lanadmin set a speed that is not supported for that NIC.

I don't know that the built-in NIC on K's were ever 100Mb cards. You can get add-on cards that are 10/100.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Amir Fadaghi
Advisor

Re: auto negotiate

All;

Thank you for your responses. From your inputs and my experience with the BUILT-IN card I have no choice but, deal with whatever I get which is 10 Mbp/s. NO budget for add ons.

again thank you
reach and touch someone