1825768 Members
1834 Online
109687 Solutions
New Discussion

maclan on hp-ux 11.23

 
Peter_316
Advisor

maclan on hp-ux 11.23

We have upgraded some software from hp-ux 11.0 to 11.23 wich checks lan0 to obtain the mac-address using LLA ioctl call.

now on 11.0 exists an LLA emulation layer using maclan (lsdev -> maclan installed) but apparantly on 11.23 maclan is not installed anymore.

does anyone know if it is possible to copy libmaclan.a from my 11.0 box over to 11.23 or if any other way exists of obtaining a maclan implementation for hp-ux 11.23
(if one could provide the source I would be willing to recompile, no problem)

cheers,

Peter
3 REPLIES 3
Luk Vandenbussche
Honored Contributor

Re: maclan on hp-ux 11.23

Dag Peter,

I would try it by copying it.
I never heard of a maclan command

Succes
Arunvijai_4
Honored Contributor

Re: maclan on hp-ux 11.23

Hi Peter,

Yes, copying libmaclan.a and putting it under /usr/lib or /usr/local/lib will help you.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Peter_316
Advisor

Re: maclan on hp-ux 11.23

OK these are really stupid answers,

libmaclan is a kernel module

should always be installed in /usr/conf/lib of /usr/conf/mod

it is NOT a command
it is NOT compatible with 11.23 kernel module architecture (requires relinking with modmeta.c at least ..)

I took some more time to download the kernel driver development kit, and wrote the driver myself so case closed.