Operating System - HP-UX
1752614 Members
4661 Online
108788 Solutions
New Discussion юеВ

Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?

 
SOLVED
Go to solution
yang shaohua
Frequent Advisor

How to get network card's CardName,CardVendorID,VenderID on HP-UX?

for example,I have a network card on device,I tried to use command "ioscan",but the output hasn't my requested information.
# ioscan -u |grep lan
0/1/2/0 lan HP PCI-X 1000Base-T Dual-port Built-in
I used "lanscan" and "lanadmin", still can get my needed information.
So, How to get network card's CardName,CardVendorID,VenderID on HP-UX?
16 REPLIES 16
Kenan Erdey
Honored Contributor

Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?

Hi,

this is your built-in(on board) network card. try this

lanadmin -x vpd 0
Computers have lots of memory but no imagination
yang shaohua
Frequent Advisor

Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?

hi,thank you for response.
here is the result on my side:
# lanadmin -x vpd 0
The option "vpd" is not valid
speed Display the speed and duplexity of the link
fctrl Display whether Receive Flow Control is enabled or not
cko Determine if hardware TCP/UDP (IPv4) checksum offload is enabled
type Display medium type of the interface
send_max_bufs Display the value of send buffer coalescing threshold
recv_max_bufs Display the value of recv buffer coalescing threshold
send_coal_ticks Display the value of send interrupt coalescing ticks
recv_coal_ticks Display the value of recv interrupt coalescing ticks
itrmode Display the value of interrupt throttling mode
card_info Display the adapter and driver revision and settings
stats drv Display driver and adapter statistics
vmtu Display the value of Virtual MTU for TCP Segmentation Offload

diag_thresh Display the value of packet rate threshold for diagnostics
#

I used "card_info",the result is:
# lanadmin -x card_info 0
*********** Version Information **********
Driver version: B.11.23.0609
Firmware version: N/A
Chip version: 0x3
PCI Sub-System ID: 0x12cd
PCI Sub-Vendor ID: 0x103c
Board Revision: FFFFFFFF
Software Key: 0
Engineering Date Code:

********** Card Setting ***********
Driver State: IETHER_ONLINE
Auto Negotiation: On
Flow Control: On
Send Max Buf Descriptors: 1
Recv Max Buf Descriptors: 1
Send Coalesced Ticks: 150
Recv Coalesced Ticks: 0
#

still have not my needed info.

Kenan Erdey
Honored Contributor

Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?

run mstm, select your device, than select tools(with tab)-> information -> run

Computers have lots of memory but no imagination
Matti_Kurkela
Honored Contributor

Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?

Welcome to ITRC Forums!

In your ioscan output, "Built-in" means this NIC is integrated into the system board, so it's part of the base system and cannot be removed. It is not actually a separate "card" at all.

Since the entire system board is made by HP, the CardVendorID and "VenderID" both must be HP.

You could use "HP PCI-X 1000Base-T Dual-port Built-in" as the CardName.

MK
MK
yang shaohua
Frequent Advisor

Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?

hi,MK,thank you so much for your explain.
and thank Kenan Erdey as well.

Kenan Erdey
Honored Contributor

Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?

hi,

also welcome here and please read this and don't forget assigning points :)

http://h30499.www3.hp.com/t5/help/faqpage/faq-category-id/kudos#kudos

Computers have lots of memory but no imagination
yang shaohua
Frequent Advisor

Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?

hi,MK
there is another question need you kindly help me out.
if the NIC card is seperated card,what is the ioscan output looks like? Can I get the CardName,CardVendorID,VendorID from it ?

Thanks again!
Hakki Aydin Ucar
Honored Contributor

Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?

Welcome to ITRC forum;

in addition to others they gave adequate information, you can try to pick up more info:

# echo "selclass qualifier lan;info;wait;infolog"|cstm
rick jones
Honored Contributor

Re: How to get network card's CardName,CardVendorID,VenderID on HP-UX?

Matti - 99 times out of 10 the *sub* vendor ID will be HP and the *sub* product ID will be the HP assigned one. The Product and Vendor IDs will be those of the OEM.

That said, I never did need to retrieve those under HP-UX - since the only "supported" (and generally "working" NICs are those for which ioscan -fk would give the full "HP" name that was enough.
there is no rest for the wicked yet the virtuous have no pillows