1846117 Members
4112 Online
110253 Solutions
New Discussion

Card speed

 
SOLVED
Go to solution
marc seguin
Regular Advisor

Card speed

Here are my available LAN cards. How could I know which ones are 10, 100 or 1000 BT ?

hawking # ioscan -fnkClan
Class I H/W Path Driver S/W State H/W Type Description
==========================================================
lan 0 8/0/1/0 btlan4 CLAIMED INTERFACE PCI(10110009) -- Built-in #1
lan 1 8/0/2/0 btlan4 CLAIMED INTERFACE PCI(10110009) -- Built-in #2
lan 2 10/12/6 lan2 CLAIMED INTERFACE Built-in LAN

thanks
10 REPLIES 10
RAC_1
Honored Contributor

Re: Card speed

lanadmin -x "nmid_of _lan"

lanadmin -x 0

Anil
There is no substitute to HARDWORK
Geoff Wild
Honored Contributor

Re: Card speed

Try the lanadmin command.

lanadmin -s 0
lanadmin -s 1
lanadmin -s 2

The 0,1,2 are the PPA #s.

Rgds...Geoff



Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Tom Maloy
Respected Contributor

Re: Card speed

lanadmin -x 0

and to set it to 100Mb/s, full duplex:

lanadmin -X 100fd 0
Carpe diem!
Muthukumar_5
Honored Contributor

Re: Card speed

hai,

Collect the PPA number with lanscan -p and give that to lanadmin -s number.

# speed
set -x

set -A ppa `lanscan -p`
set -A name `lanscan -i | awk '{ print $1 }'`
i=0
cnt=${#ppa[*]}
while [[ $i -lt $cnt ]]; do
speed=$(lanadmin -s ${ppa[$i]})
limit=$(echo $speed | cut -d '=' -f 2)
echo "${name[$i]} speed = $((limit/1000000))Mbits/second"
let i=i+1
done

If you have vsar tool, it will display that speed information. (vsar)

Regards,
Muthukumar.
Easy to suggest when don't know about the problem!
Jeff Schussele
Honored Contributor
Solution

Re: Card speed

Hi marc,

If you mean what are they capable of, then you'll have to determine just what they are.
Sometimes ioscan and/or the ?stm SW suite will tell you what they are. But frequently you have to check the card itself. Then you can look them up on partsurfer.hp.com to find their capabilities. I do know that a *lot* of the built-in NICs in older HW were only capable of 10 1/2 duplex. Of course if you try to set these to 100 via the lanadmin command they'll report back that they can't & then you know they're on 10 capable.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
marc seguin
Regular Advisor

Re: Card speed

Sorry. That's not what I really want. These cards are not set up. And I want to know what speed they can accept in order to choose the fastest one for my use.
Geoff Wild
Honored Contributor

Re: Card speed

Interesting - on my workstation I get:

ioscan -funC lan
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
lan 0 10/0/12/0 btlan CLAIMED INTERFACE HP PCI 10/100Base-TX Core


Not too sure why your ioscan doesn't say...

All it says is "built in" - what kind of server is it and what OS version are you running?

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
marc seguin
Regular Advisor

Re: Card speed

Thanks to all.

Jeff, i'll do as you said. Setting up each and trying to modify the speed/duplex mode.
It looks like the two first lan are 100 BT capable. But not the original one, as you said.

Geoff, it's a K460 with HP-UX 10.20. (i know, it's getting old...)

Marc.
Patrick Wallek
Honored Contributor

Re: Card speed

Yep, the built-in lan (lan 2 10/12/6 lan2 CLAIMED INTERFACE Built-in LAN) on a K-box is only 10HD capable.
rick jones
Honored Contributor

Re: Card speed

indeed, btlan4 is the 10.20 and/or 11.0 driver for the HSC 100BT card. on 11.11 it is merged with btlan[356] in the "btlan" driver. all four should be able to autoneg just fine. particularly if you are up on your patches.

lan2 is the driver for the intel 82596 10 Mbit/s ethernet interface that was used as core on many systems, and was also an add-on EISA card on older systems. the cards driven by lan2 only support old classic 10 Mbit/s half-duplex Ethernet - ie "real" CSMA/CD Ethernet and do not autoneg or do full-duplex.

imo, one should never hardcode speed and duplex unless and until it has been shown that there is a problem between the NIC and your switch or hub.

there is no rest for the wicked yet the virtuous have no pillows