Operating System - HP-UX
1837523 Members
3549 Online
110117 Solutions
New Discussion

How do I change from half duplex to full duplex?

 
SOLVED
Go to solution
Bolek Mynarski
Frequent Advisor

How do I change from half duplex to full duplex?

Is there any utility that would enable me to see if the ethernet card is running in half or full duplex mode (except, of course, going behind the machine and looking and the flickering lights on the card which would also show you the state of the card)?

I have someone who insists that our cards run in half-duplex mode. I was looking around SAM but could not find anything that would tell me if I could determine the state of the card and if it is in half-duplex, so I could change it to full.

Thanks.
It'snever too late to learn new things...
10 REPLIES 10
Brian M. Fisher
Honored Contributor

Re: How do I change from half duplex to full duplex?

Try using the utility lanadmin. This should show your interface card information.

Brian
<*(((>< er
Perception IS Reality
Andreas Voss
Honored Contributor

Re: How do I change from half duplex to full duplex?

Hi,

there is a command to get the current duplex mode:
lanadmin -x
To get the NMID use:
lanscan
at the output there is a column NMID.

Greetings

Andrew
Andreas Voss
Honored Contributor
Solution

Re: How do I change from half duplex to full duplex?

Sorry,

i hav forgotten to tell you how to change the mode:

lanadmin -X (10HD|10FD|100HD|100FD)

Andreas Voss
Honored Contributor

Re: How do I change from half duplex to full duplex?

Sorry again,

to set permanently the duplex/speed mode you have to edit a file in /etc/rc.config.d
hpbasetconf
or
hpgsc100conf
or
hpbase100conf
or
hppci100conf
The choice of the file depends on the LAN interface card type.
Within this file edit the line:
HP_BASE_100_SPEED[0]=
or
HP_BASET_SPEED[0]=
or
HP_GSC100_SPEED[0]=
or
HP_PCI100_SPEED[0]=

Regards

Andrew
Bolek Mynarski
Frequent Advisor

Re: How do I change from half duplex to full duplex?

So, if my card is of instance 2 [2] and I want to make it permanetly 100FD, I would do:

HP_BASE_100_SPEED[2]=100FD

Is that correct, Andreas?

Thanks.
It'snever too late to learn new things...
Robert Gamble
Respected Contributor

Re: How do I change from half duplex to full duplex?

On 700 series workstations, we changed them at the boot prompt.

co lc # to see what speed is set to
co lc 100/Full_dx # to set to 100 Full duplex

We checked the lan speed via HP-UX using the following syntax:

lanadmin -x
ex: lanadmin -x 4

The man page for lanadmin in HP-UX 10.20 says you can change the speed using lanadmin -S.

Hope this helped, Good Luck!

Peter J. Palmquist
New Member

Re: How do I change from half duplex to full duplex?

The information, which Andreas Voss has provided, is great. Thanks! However, in looking at my own system, I am unsure of the file within /etc/rc.config.d to modify to make my changes permanent. The only files I have in this directory, which begin with "hp" are hparray, hpetherconf, & hpfddiconf. The fddi file is left over from our old configuration. Is the "hpetherconf" the correct file to edit to make my changes permanent?

Also, I want to change the auto-sense option to off on my cards. Does anyone have the command syntax to make this happen?

Thanks a lot,
Peter
Alan Riggs
Honored Contributor

Re: How do I change from half duplex to full duplex?

hpetherconf is the file you want. By setting the speed/duplex explicitely you disable autosense on teh card. If you wanted the card to autosense (not recommended) then you would set the flag to "AUTO".

Remember to also set, or have your network engineer set, the port on the hub or switch to the appropriate speed/duplex. I have seen cards run fine when the switch is set to autodetect, but setting them explicitley is the recommended solution.
Berlene Herren
Honored Contributor

Re: How do I change from half duplex to full duplex?

The hpetherconf is the config file for the built in, 10BaseT card. Run #ioscan -fkC lan and see what btlan driver you have for the card. Then copy the appropriate file from /usr/newconfig/etc/rc.config.d

driver /etc/rc.config.d/

btlan0 hpeisabtconf

btlan hpbtlanconf

btlan1 hpbasetconf

btlan3 hpbase100conf

btlan4 hpgsc100conf

btlan5 hppci100conf

btlan6 hpsppci100conf


This file is updated whenever you apply a 100BaseT patch.

Berlene

http://www.mindspring.com/~bkherren/dobes/index.htm
Peter J. Palmquist
New Member

Re: How do I change from half duplex to full duplex?

Thank you very much both Berlene & Alan. Your information has helped a lot!!!

Regards,

Peter