Operating System - HP-UX
1833847 Members
2162 Online
110063 Solutions
New Discussion

lan0 vs lan1 and /dev files for btlan4 driver

 
SOLVED
Go to solution
Ian Cameron
Frequent Advisor

lan0 vs lan1 and /dev files for btlan4 driver

I want to do something in reverse of what David was asking about in his posting from January:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x85a579bffde7d4118fef0090279cd0f9,00.html

I have added several 100Mbit cards to my D and C class servers some of which run as license servers. I would like if the box and any lic s/w could only see the 100Mbit card. I have been able to get the instances reordered and even recreated the /dev/lan* files for the built in 10Mbit but when I try to create the files for the GSC card whether I use insf or mksf I get:

Don't know how to handle driver "btlan4"

I have created the files manually using mknod but even then, the lssf /dev/lan* returns the same error for the btlan4 driver.

Presently testing on the following system:
D370 with HP 10.20
J3616 - dual RJ45 using J3623BA software for NIC

David, if you are out there; Did you need to have the lan0 reading back to the built in card for the licensing software in particular for FlexLM?

Thanks to all,
Ian
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: lan0 vs lan1 and /dev files for btlan4 driver

Hi Ian,

This is going to be a bit difficult and I suspect is not worth the effort. The 10 MB interface uses LLA (Link Level Access) and goes thru conventional device nodes (dev/lanX);
the 100MB interface uses DLPI (Data Link Provider Interface) and as such uses no device nodes directly. The I/O is actually done using /dev/lpi which serves as a connection for getmsg() and putmsg() to make the actual connection. I suppose it might be possible to create a named pipe that connects to a c program to do this - but it would be non trivial.

I've found this link which at least shows you a portion of what's involved.

http://us-support.external.hp.com/cki/bin/doc.pl/sid=cc4842820b33a251cc/screen=ckiDisplayDocument?docId=200000048174991

For what it's worth, Clay
If it ain't broke, I can fix that.
Ian Cameron
Frequent Advisor

Re: lan0 vs lan1 and /dev files for btlan4 driver

Thanks for your response Clay.

When I created the dev files manually using the major number listed in lanscan, lssf reported back on one of the dpli* devices not the lan card which caused me to suspect what you said. As a result of this and your verification we are leaving the instances set to the defaults and letting the licensing software read what it needs from the built in lan.

Thanks again,
Ian