2095 Commits

Author SHA1 Message Date
Duncan Laurie
c1fd61b419 use portable file io 2004-09-01 16:40:26 +00:00
Duncan Laurie
4763dcf560 fix impi->ipmi typo,
workaround for mBMC
2004-09-01 16:15:24 +00:00
Duncan Laurie
a745d83af2 move file handling routines into helper 2004-09-01 00:19:36 +00:00
Duncan Laurie
6da8379fe4 fix lots of little errors that show up with -Werror -Wall 2004-08-31 23:52:59 +00:00
Duncan Laurie
ea146566c5 clean up handling of top level commands,
add support for "shell" command
2004-08-31 23:15:31 +00:00
Duncan Laurie
bbf1909161 add header interface printing 2004-08-31 23:12:42 +00:00
Duncan Laurie
f6495ddf0e add support for readline,
move raw command to its own file,
remove md5 header that doesn't belong
2004-08-31 23:11:45 +00:00
Duncan Laurie
e092eedd5b fix lots of little errors that show up when compiled with -Wall 2004-08-31 22:55:11 +00:00
Duncan Laurie
8f5e3e0d95 fix segfault on x86_64 by including time.h...
fix lots of little issues that show up when -Wall is turned on
2004-08-31 22:52:54 +00:00
Duncan Laurie
8da3a449cb fix setting Power Restore Policy 2004-08-31 18:48:07 +00:00
Duncan Laurie
639df0246c md2 and md5 were split into here 2004-08-27 19:12:14 +00:00
Duncan Laurie
72417c67db - support for using OpenIPMI MD5 and MD2 implementations if found,
otherwise fall back to internal version
- add "-A authtype" parameter for forcing a certain authtype level
2004-08-27 19:11:43 +00:00
Duncan Laurie
cbc8cbdff4 misc interface opening changes I forgot to propogate 2004-08-27 16:57:04 +00:00
Duncan Laurie
f0cbc9b2ba update to event generation test functions 2004-08-27 16:51:57 +00:00
Duncan Laurie
a8e2fc03e7 a few commands that need to be admin privlege level 2004-08-27 16:51:19 +00:00
Duncan Laurie
4d8ec39062 add new "dump" command to dump the entire sdr to a binary file
relax version check to try and support IPMIv1.0 SDRs
2004-08-27 16:50:14 +00:00
Duncan Laurie
4f9cbb3f38 better handling of fru devices from Tim_T_Murphy@Dell.com
- automatic retries w/ size adjustment when 'get fru info' transfers fail due to size
- support FRU info data formats (4 formats, via type/length byte)
- fix FRU area offset calculation (uchar -> ushort)
- support word-based FRU access as well as byte-based access
- added: 'as-needed' FRU info retrieval
avoids having to retrieve (say) entire 16K, when only a few fields are printed.
~5X response time improvement.
2004-08-27 16:49:20 +00:00
Duncan Laurie
0603bd8f98 export a couple functions for ipmievd,
better handling of description string
2004-08-27 16:47:00 +00:00
Duncan Laurie
69501d7827 minor changes to interface structures 2004-08-27 16:46:06 +00:00
Duncan Laurie
f9c23d8a54 - support for reading/setting BMC Enables
(this code may be trying to be too smart, but it was an interesting test)
2004-08-27 16:45:25 +00:00
Duncan Laurie
6ce168af6f - add new "-f file" param to read lan password from a file
- add new "-t addr" param for bridging to IPMB target
- add new "-m addr" param for setting local IPMB address
- interface loading now has a "default" option
2004-08-27 16:42:50 +00:00
Duncan Laurie
68be9c40e6 now has an option to daemonize and log SEL events to syslog 2004-08-27 16:40:42 +00:00
Duncan Laurie
dd8b1806b5 - remove dynamic interface support
- support for bridged IPMB messages
- add function to build/send IPMI response messages
- fix reporting of "per-msg-auth" and "user-level-auth"
  during Get Channel Authentication Capabilities phase
2004-08-27 16:37:34 +00:00
Duncan Laurie
d92b9920d7 add support for Intel IMB kernel driver (for legacy kernel support)
imbapi.[ch] code is BSD licensed and taken from panicsel.sf.net
2004-08-27 16:33:25 +00:00
Duncan Laurie
45a4c1a9c8 remove dynamic interface support 2004-08-27 16:32:32 +00:00
Duncan Laurie
66aaa91ff2 remove dynamic interface support,
remove my stupid spec-violating pedantic packets
2004-08-27 16:31:53 +00:00
Duncan Laurie
c52b6e80ba update the OpenIPMI interface,
support sending and receiving from IPMB addresses
2004-08-27 16:30:07 +00:00
Duncan Laurie
d5b598c93d all interfaces are static now 2004-08-27 16:29:07 +00:00
Duncan Laurie
c452979e74 add new simple logging functions 2004-08-27 16:27:41 +00:00
Duncan Laurie
81c73bd164 no more ipmiadm so clean the manpage
also get rid of messy bmcautoconf.sh script,
replaced with more flexible bmclanconf
2004-08-27 16:20:29 +00:00
Duncan Laurie
0173930abd no more ltdl 2004-08-27 16:06:39 +00:00
Duncan Laurie
087e8e5a0b build with right arguments when doing dpkg-buildpackage 2004-08-27 16:04:01 +00:00
Duncan Laurie
1ea4e2e540 build system updates for interfaces 2004-08-27 16:01:01 +00:00
Duncan Laurie
b85e953ab9 move rpm specfile,
add hooks for building rpm in arbitrary root
2004-08-27 16:00:20 +00:00
Duncan Laurie
3c61e45ae4 rework configure and build system:
- no more dynamic interfaces
- better handling of openipmi header files
- make rpm commands for building in chroot
2004-08-27 15:59:26 +00:00
Duncan Laurie
2364cd86e8 change email address 2004-08-27 14:33:27 +00:00
Jeremy Ellington
7931368837 Adding implementation for "sel get time" and "set set time" 2004-08-25 14:19:46 +00:00
Duncan Laurie
d08d147528 use urandom instead of random 2004-08-13 21:29:40 +00:00
Duncan Laurie
f059085532 add a couple changelog notes for contributed patches 2004-08-06 17:54:35 +00:00
Duncan Laurie
1157a0e498 always initialize pointer to NULL at start of description
function as callers expect it to be initialized but it
isn't always.
2004-08-06 17:50:27 +00:00
Jeremy Ellington
2eeceac233 Added user subcommand 2004-08-03 18:40:09 +00:00
Jeremy Ellington
7ef44c8a8c adding user subcommand 2004-08-03 18:39:19 +00:00
Jeremy Ellington
3f58f3f2aa Added constants for user commands 2004-08-03 18:38:35 +00:00
Jeremy Ellington
3fbcd758ca Fixed mispelling 2004-07-30 16:33:25 +00:00
Jeremy Ellington
f068a200b6 Added documentation for the lanplus interface 2004-07-30 16:30:20 +00:00
Jeremy Ellington
f4a014cac9 Use upper case B for sending breaks 2004-07-30 15:44:55 +00:00
Jeremy Ellington
10212fecb5 Added lots of documentation for lanplus and Serial Over LAN commands. 2004-07-30 15:43:31 +00:00
Jeremy Ellington
720ad12aaf Store SOL character data input length separately than the data length
of the whole packet.  Turns out we need it in order to determine whether
the BMC only accepted part of our data.
2004-07-29 18:42:22 +00:00
Jeremy Ellington
40f77f63a1 Support NACKs 2004-07-29 18:41:23 +00:00
Jeremy Ellington
7c9030bf3b Allow update of other SOL parameters 2004-07-29 18:40:52 +00:00