Hi,
Very new to openipmi. I am simply trying to write a C program that
contacts a remote server over lan and gets it cpu temperature from a
sensor.
To get started I just want to get the sample.c program working over lan.
It seems to work fine if I use the smi interface:
hpcxe001:~ # /home/salmr0/sample smi 0
Entity added: 7.1
Entity added: 10.1
Entity added: 10.2
Entity added: 15.1
Entity added: 21.1
..
..
etc...
If i try to use the lan interface it just seems to hang.
hpcxe001:~ # ./sample lan -Ppasswd -ointelplus 10.10.12.25
Works fine with ipmitool:
hpcxe001:~ # ipmitool -Ppasswd -ointelplus -H10.10.12.25 power status
Chassis Power is on
This is on an intel S5000PAL mother board which is the why I use the
"intelplus" option.
Could not easily make out what was in the "ipmi_args_t **iargs" that
gets returned from:
int ipmi_parse_args2(int *curr_arg,
int arg_count,
char * const *args,
ipmi_args_t **iargs);
Not sure I am sending the right arguments to sample.c thanks for any
help with this.
Rene
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer