Thanks for your reply Andy,
I had been using sudo to execute the commands, I took them out when I was
writing the email to make the email look less clustered. I'll leave them in
from now on to be clear. So I was hesitant to set the password for user 1 b/c
it had no name:
======================================================================
[EMAIL PROTECTED] frankma]$ sudo ipmitool -v -v user list 2
Using ipmi device 0
Set IPMB address to 0x20
ID  Name             Callin  Link Auth  IPMI Msg   Channel Priv Limit
1                    true    true       true       ADMINISTRATOR
2   Operator         true    true       true       USER
3   Administrator    true    true       true       ADMINISTRATOR
4   Callback         true    true       true       USER
5   User             true    true       true       USER
=======================================================================

But following your advice to tried to set the password to user 1. (so 
user 1 is
the default user right?) And it still gave an error:
==========================================================================
[EMAIL PROTECTED] frankma]$ sudo ipmitool -v -v user set password 1 pw
Using ipmi device 0
Set IPMB address to 0x20
Set User Password command failed (user 1): Unspecified error
===========================================================================

I am still a little confused about which user name/password we actually end up
trying to access when we use "ipmitool -I lan -H xx.xx.xx.xx -U ?? ..." from a
client machine. There seems to be a few choices on the host:
- we can set password for the users (via ipmitool user set password ... )
- we can set password for a channel (via ipmitool lan set 2 password ...
(channel 2 seems to be the only working channel))
- we can also set password from the SMDC utility software for user id 1-4

So what does a channel do and what does the user accounts do? When we use
ipmitool on the client machine to call the host, are we accessing the ipmitool
account or the SMDC-utility-software-set account? And when do we use "ipmitool
channel getaccess <channel number> [userid]"?

I'm sorry about the deluge of questions, it's just that I've not been able to
get the remote management to work for some time and I feel a little 
frustrated.
I would be equally happy if you could point me to some sources/readings that
explain some of this.

regards,
-Frank Ma


Quoting "Cress, Andrew R" <[EMAIL PROTECTED]>:

> Frank,
>
> It doesn't appear that you were root when you tried the set commands.
> Does it work if you log in as root or use sudo?
>
> When you used the lan 2 command, it defaulted to user 1.
> When you used the user 5 command, it tried to set user 5.  Does the SMDC
> have 5 users?  Perhaps you should stick with the default user 1 for
> starters.
>
> Andy
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Frank
> Ma
> Sent: Tuesday, June 05, 2007 6:57 PM
> To: ipmitool-devel@lists.sourceforge.net
> Subject: [Ipmitool-devel] ipmitool set channel password error
>
> Sorry if you get this twice, it seems I need to become a part of the
> mailing
> list first to post to it.
>
> Dear ipmitoolers :),
> I have a tyan host (s2882-D motherboard:
> http://www.tyan.com/product_board_detail.aspx?pid=127) with a M3289 SMDC
> management card. I am having a difficult time using ipmitool to remotely
> manage the host computer. Could you give me some pointers? Thanks!
>
> The host computer runs linux. On the host, I have loaded the OpenIPMI
> drivers,
> and I can access the SMDC card locally. eg I can,
> ======================================
> [EMAIL PROTECTED] ipmi]$ ipmitool chassis power status
> Chassis Power is on
> ======================================
>
> Now I want to use the lan interface to control the SMDC card from
> another
> computer. So I try to set the lan configurations:
> ===========================================================
> [EMAIL PROTECTED] ipmi]$ sudo ipmitool lan print 2
> Set in Progress         : Set Complete
> Auth Type Support       : NONE MD5 PASSWORD
> Auth Type Enable        : Callback : NONE MD5 PASSWORD
>                        : User     : NONE MD5 PASSWORD
>                        : Operator : NONE MD5 PASSWORD
>                        : Admin    : NONE MD5 PASSWORD
>                        : OEM      : NONE MD5 PASSWORD
> IP Address Source       : Static Address
> IP Address              : 10.16.2.35
> Subnet Mask             : 255.0.0.0
> MAC Address             : 00:e0:81:43:25:96
> SNMP Community String   : public
> IP Header               : TTL=0x40 Flags=0xe0 Precedence=0x80 TOS=0x08
> BMC ARP Control         : ARP Responses Enabled, Gratuitous ARP Enabled
> Gratituous ARP Intrvl   : 2.0 seconds
> Default Gateway IP      : 0.0.0.1
> Default Gateway MAC     : 00:00:00:00:00:00
> Backup Gateway IP       : 192.168.2.0
> Backup Gateway MAC      : 00:00:00:00:00:00
> Cipher Suite Priv Max   : Not Available
> ============================================================
> I'm not quite sure what channel means to ipmitool, but it seems that
> channel 2
> is the only one that works.
>
> I encounter a problem trying to set the password for channel 2 to be
> "pw":
> =======================================================
> [EMAIL PROTECTED] ipmi]$ ipmitool lan set 2 password pw
> Set LAN Password for user 1 failed: Unspecified error
> =======================================================
>
> Setting the user password also doesn't work:
> =====================================================================
> [EMAIL PROTECTED] ipmi]$ ipmitool user set password 5 pw
> Set User Password command failed (user 5): Unspecified error
> =====================================================================
> But this password is different from the lan connection password right?
> Have I done something wrong?
>
> thanks very much for your help,
> -Frank
>
> ----- End forwarded message -----
>
> ------------------------------------------------------------------------
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Ipmitool-devel mailing list
> Ipmitool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ipmitool-devel
>



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to