From: Paul A. <pa...@gr...> - 2006-02-28 16:07:12
|
OK, I feel comfortable now resonding to my own email with a "Doh!" I didn't realise that configuring IP info was standardized... So one can apparantly ipmitool lan set ipaddr blah.blah.blah.blah Thanks! Paul On Mon, 27 Feb 2006, Paul Armor wrote: > Hi, > I'm trying to interact with a Supermicro 1UIPMI-B, and have a question > regaring raw commands. > > I've got a crappy little util from SuperMicro, and no source code. This > util is designed to set IP and MAC addrs on the BMC. It first asks the BMC > for it's current settings, then prompts the user for the new settings. I > don't want to necessarily change either the IP or MAC. The util DOES have > a -verbose option, and can see the "raw" commands that are getting sent to > the BMC. Here's the relevant parts of the "verbose" output: > > Verbose: IPMI Request Data = 0x[18 01] > Verbose: IPMI Response Data = 0x[1C 01 00 20 00 02 01 02 7F] > Verbose: IPMI 2.0 BMC found > Verbose: IPMI Request Data = 0x[30 02 01 03 00 00] > Verbose: IPMI Response Data = 0x[34 02 00 11 0A 00 00 21] > Verbose: IPMI Request Data = 0x[30 02 01 05 00 00] > Verbose: IPMI Response Data = 0x[34 02 00 11 00 30 48 56 6F 3B] > > The last four lines show it 1. asking for IP addr, 2. the reponse of > 10.0.0.33, 3. it asking for the MAC addr, 4. and the response of > 00:30:48:56:6F:3B. > > I'm trying to use ipmitool to craft the proper query for getting the IP, and > have tried poking... with variations on: > > ipmitool -I open -U ADMIN -P ADMIN raw 0x30 0x02 0x01 0x03 0x00 0x00 > > and twiddling with the addresses initially following the "raw" ipmitool > option, but with no success. Does anyone any pointers on how to "convert" > their output into a valid ipmitool command? > > Thanks! > Paul > > |