1834732 Members
3160 Online
110070 Solutions
New Discussion

Re: set duplex mode

 
mw_4
Frequent Advisor

set duplex mode

Hi, I want clear solution
who can help me?

I describe network status, hp 10.20
I must set 100fd mode lancard.

but command that I put is not working.(lanadmin -x nmid)

"Error: This option is not supported for this hardware."

+++++++++++++++++++++++++++++
root@www:[/]lanscan
Hardware Station Crd Hardware Net-Interface NM MAC HP DLPI Mjr
Path Address In# State NameUnit State ID Type Support Num
10/4/4 0x080009D53F0E 3 UP lan3 UP 4 ETHER Yes 115
10/12/6 0x080009D436ED 2 UP lan2 DOWN 5 ETHER Yes 52
10/4/12 0x080009DA00EA 1 UP lan1 UP 6 ETHER Yes 115
only lan3 is my target
++++++++++++++++++++++++++
root@www:[/var/adm/sw/patch]lanadmin


LOCAL AREA NETWORK ONLINE ADMINISTRATION, Version 1.0
Thu, Oct 17,2002 10:14:05

Copyright 1994 Hewlett Packard Company.
All rights are reserved.

Test Selection mode.

lan = LAN Interface Administration
menu = Display this menu
quit = Terminate the Administration
terse = Do not display command menu
verbose = Display command menu

Enter command: lan

LAN Interface test mode. LAN Interface Net Mgmt ID = 4

clear = Clear statistics registers
display = Display LAN Interface status and statistics registers
end = End LAN Interface Administration, return to Test Selection
menu = Display this menu
nmid = Network Management ID of the LAN Interface
quit = Terminate the Administration, return to shell
reset = Reset LAN Interface to execute its selftest

Enter command: di

LAN INTERFACE STATUS DISPLAY
Thu, Oct 17,2002 10:14:08

Network Management ID = 4
Description = lan3 Hewlett-Packard 10/100Base-TX Half-Duplex Hw Rev 0
Type (value) = ethernet-csmacd(6)
MTU Size = 1500
Speed = 100000000
Station Address = 0x80009d53f0e
Administration Status (value) = up(1)
Operation Status (value) = up(1)
Last Change = 111584209
Inbound Octets = 179333244
Inbound Unicast Packets = 11856849
Inbound Non-Unicast Packets = 16692790
Inbound Discards = 0
Inbound Errors = 0
Inbound Unknown Protocols = 8674436
Outbound Octets = 2352415154
Outbound Unicast Packets = 11886813
Outbound Non-Unicast Packets = 235210
Outbound Discards = 74
Outbound Errors = 0
Outbound Queue Length = 0
Specific = 655367

Press to continue

who can help me?
lanadmin -X nmid also
"Error: This option is not supported for this hardware."

exact solution is needed..!!!
Step by step
6 REPLIES 6
Michael Tully
Honored Contributor

Re: set duplex mode


If you wished to change the 'duplex' from half to full, here is an example.

# lanadmin -X 100FD lan0
or
# lanadmin -X 100FD 0

The options you used do not exist for 'n' 'i' or 'd'

The best way is to use 'sam', as it will update the appropriate configuration file for you hardware /etc/rc.config.d
Anyone for a Mutiny ?
harry d brown jr
Honored Contributor

Re: set duplex mode


When was the last time you applied any network patches?

What is your router set to?

What kind of lan card is this?

live free or die
harry
Live Free or Die
Jeff Schussele
Honored Contributor

Re: set duplex mode

Hi mw,

You need to determine WHICH lanX corresponds to WHICH nmid.

Do do a netstat -in & determine which lanX you wish to change. Then just go into the lanadmin menu -> lan -> display
This almost always gives the lowest nmid. IF the display does NOT show the proper lanX then do nmid & select the next highest nmid number & repeat until you find the nmid that matches lanX

THEN use that nmid # in the lanadmin -x command.

BTW - THIS IS MUCH EASIER IN 11.0 - you really should cold install 11.0 for this and MANY other reasons.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
T G Manikandan
Honored Contributor

Re: set duplex mode

check for the LAN cumulative and ARPA patches on the system.

PHNE_14634 old patch
PHNE_21904 latest


Thanks
Darrell Allen
Honored Contributor

Re: set duplex mode

Hi,

Just to be clear, are you using "lanadmin -x 4"?

"Error: This option is not supported for this hardware." is what you should see if running lanadmin -x (or -X) on a NMID for a card that is only 10Mb.

According to your lanadmin screen print, nmid 4 is a 10/100 card so "lanadmin -x 4" should work.

I'm presuming you are working with your lan3 (nmid 4) card. If not, Jeff has said how to use interactive lanadmin to change nmid. Note the option is probably called ppa (it is on my systems) instead of nmid. For some reason, nmid and ppa are sometimes used interchangable.

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

Re: set duplex mode

use lanadmin, netstat -rn etc to get nmid of lan0, lan1 etc. Example below assumes nmid of 4

lanadmin -X 100FD 4
lanadmin -X 100HD 4

If this does not work you will need to install the Network Patch for Lanadmin which supports this command. (See link below for potential Patch)

Double check with your Network Guy that the Port your Ethernet Cable is plugged into is FD - It should be that the Switch is Auto Sensing, if not he/she will need to set the port speed.

http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063210599


















Life is like MTB - Ups and Downs - and Adrenalin