1831387 Members
3479 Online
110025 Solutions
New Discussion

Re: Configure Net Card

 

Configure Net Card

I possess several types of teams Hp9000 (R380, D370, D390)

As I can know if my net card supports speed of 100 Mbps?.
In case my net card supports 100 Mbps of speed like I can make to configure it?.
Orlando Oliveira
5 REPLIES 5
Sridhar Bhaskarla
Honored Contributor

Re: Configure Net Card

How can you know if your net card support 100MBPS?.

Use the command lanadmin -x ppa. You can get the ppa number from lanscan command. On 11.0 the index associated with the lan card is the ppa (ex, 2 for lan2).

If it gives out the error that "this option is not supported for this card" then it does not.

Otherwise, you can use the command lanadmin -X to set the speed.

lanadmin -X 100FD 2

Make sure the switch is set to 100FD AUTO NEGOTIATION OFF.

To make it permanent, edit the corresponding file /etc/rc.config.d/hp*conf. (for ex., for gsc cards, hpgsc100conf) You can see the syntax of the entries in the file.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
James R. Ferguson
Acclaimed Contributor

Re: Configure Net Card

Hi:

See here (including the embedded links):

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

For product information, you can use this:

http://partsurfer.hp.com/cgi-bin/spi/main

Regards!

...JRF...
MANOJ SRIVASTAVA
Honored Contributor

Re: Configure Net Card

Hi Orlando


man landamin is the best way to do it .


lanscan will give you the ppa no or the network module id no.

landmin -x ppa no will give the current settings of speed


lanadmin -S 100FD ppa no. will change it to 100 Full Duplex etc .


Manoj Srivastava
RAC_1
Honored Contributor

Re: Configure Net Card

lanadmin -x ppa_no gives you the current setting for a network card.

ppa_no can be get with lanscan command.

lanadmin -X 100FD ppa_no sets the speed to 100 MB full duplex.

Check if the same setting exists on switch also.

Man lanadmin, lanscan.

Regards,
There is no substitute to HARDWORK
sven verhaegen
Respected Contributor

Re: Configure Net Card

most of the remarks are usefull however they are manual interventions and are not lasting under boot time , this means a lanadmin -x applies to the running system , if you want the changes to be permanent , being implemented at every reboot you should also addapt the appropriate configuration file , each hp-ux system with recent OS has a directory called :

/etc/rc.config.d

in this directory you shouuld find several files starting with hp and ending on conf e.g. hp100btconf , each cardtype you install the sioftware for wiull generate another file , if you have a 100bt card such file like this 9name may vary a little) in this file you can put among other things , the lan driver name , possibly change thje mac address is you need to but more importent , there is a option field for SPEED and there you can define 100HD , 100FD , 10HD or 10FD to force the card to a certain speed or duplex mode at startup , for 100 full duplex used 100FD and indeed make sure the switch has the appropriate settings

this is important beacause connecting full-duplex to a half-duplex devices causes uni-directional performance issues ...
...knowing one ignores a greath many things is the first step to wisdom...