Operating System - HP-UX
1833333 Members
3138 Online
110051 Solutions
New Discussion

How to hard code 100/full duplex

 
Peter Ko_2
Frequent Advisor

How to hard code 100/full duplex

I have a HP9000 / rp3440 server.
How do i hard code the lan interface to 100/full?
thanks in advance.
4 REPLIES 4
David Bellamy
Respected Contributor

Re: How to hard code 100/full duplex

Do lanadmin -X 100FD 0 or whatever instance number of the lan card you are using
Yang Qin_1
Honored Contributor

Re: How to hard code 100/full duplex

Hi, first of all you have to know the model of LAN interface you are using. You can find it with "ioscan -fnClan", cstm ...

the modify file the file /etc/rc.config.d/hpbtlanconf or hpigelanconf (run find /etc -name "*lanconf" if you don't know where it is) put 100FD in speed like this

HP_BTLAN_INTERFACE_NAME[0]=lan0
HP_BTLAN_STATION_ADDRESS[0]=
HP_BTLAN_SPEED[0]=100FD


Yang
rick jones
Honored Contributor

Re: How to hard code 100/full duplex

While you can, you should not need to unless you have a broken switch. The NICs supported in an rp3440 should be able to autoneg just fine.
there is no rest for the wicked yet the virtuous have no pillows
David de Beer
Valued Contributor

Re: How to hard code 100/full duplex

Greetings,

Lanadmin does NOT make the changes permanent when you change the speed on the interface:

From the lanadmin man page:

" WARNINGS
Changes made to an interface's station address or mtu interactively with the lanadmin command will not be preserved between system reboots. A user must modify the initialization configuration files for this feature, either manually editing configuration files or through the SAM interface."

I've always used SAM to make the changes permanent. But note, should you set the interface speed to 1000 - SAM will force you to set AUTONEGOTIATE to ON. This is correct.

Kind regards,
David de Beer.