Operating System - HP-UX
1826691 Members
2482 Online
109696 Solutions
New Discussion

Re: Using lanadmin on HP-UX 11.00

 
Sonison James
Frequent Advisor

Using lanadmin on HP-UX 11.00

I was using the lanadmin -g mibstats option on HP-UX 11.11 to get desc of the network adapter. However on 11.00 this option is not there. Is there any way to get around this problem ? I dont want the menu option since I am using these inside a script.
7 REPLIES 7
Patrick Wallek
Honored Contributor

Re: Using lanadmin on HP-UX 11.00

# landadmon -g mibstats card_int_#

works on one of my 11.0 boxes. You may just need to get the latest LAN cumulative patch and try it. The latest for 11.0 is :

PHNE_28413
http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHNE_28143&context=hpux:800:11:00
James R. Ferguson
Acclaimed Contributor

Re: Using lanadmin on HP-UX 11.00

Hi:

Make sure you have PHNE_27201 installed.

Regards!

...JRF...
steven Burgess_2
Honored Contributor

Re: Using lanadmin on HP-UX 11.00

Hi

I have checked on one of our 11 systems and this option is available

Have you checked your patch levels,

Latest are

s700_800 11.00 PCI 100BT lan cumulative patch PHNE_25580

s700_800 11.00 LAN product cumulative patch PHNE_28143

s700_800 11.00.[04-16] APA cumulative patch PHNE_28777

My machine has

PHKL_21165
N/L class,I/O pdir,q4,SBA,iomap,HPMC/gelan

PHNE_19079 1.0 PCI 100BT lan cumulative patch

PHNE_19754 1.0 LAN product cumulative patch

PHNE_22962 1.0 LAN product cumulative patch

PHNE_24006 1.0 PCI 100BT lan cumulative patch

PHNE_25580 1.0 PCI 100BT lan cumulative patch

PHNE_26250 1.0 LAN product cumulative patch


HTH

Steve
take your time and think things through
Steven E. Protter
Exalted Contributor

Re: Using lanadmin on HP-UX 11.00

lanadmin won't work at all on certain built in LAN cards that only go 10 BaseT.

It should however work if patched(prior answer) on any 10/100 card.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sonison James
Frequent Advisor

Re: Using lanadmin on HP-UX 11.00

Is there any other workaround? The machine in question is a customer machine and I dont have the luxury of installing the patch on his machine.

Sonison James
Frequent Advisor

Re: Using lanadmin on HP-UX 11.00

The lanadmin menu option seems to have the info I am looking for. Does anyone know of a way to convert the menu option to a command line option . I am not really a Unix expert but I heard that it could be done using a combination of pipes.
Brian Hackley
Honored Contributor

Re: Using lanadmin on HP-UX 11.00

Hi,

here you go:

#!/sbin/sh
# Shell script that display the lan card # input to script
# for 10.20 replace ppa $1 with nmid $1
/usr/sbin/lanadmin -t <lan
ppa $1
display
quit
EOF


HTH,
-> Brian
Ask me about telecommuting!