And the user list is like this:

mcptest8:~ # ipmitool user list 1
ID  Name             Callin  Link Auth  IPMI Msg   Channel Priv Limit
1                    true    false      true       ADMINISTRATOR
2   USERID           true    false      true       ADMINISTRATOR
----- Forwarded by Chen Li Hu/China/Contr/IBM on 2006-09-15 11:41 -----
Chen Li Hu/China/Contr/IBM

2006-09-15 11:38

To
"Dan Carpenter" <[EMAIL PROTECTED]>
cc
ipmitool-devel@lists.sourceforge.net
Subject
Re: [Ipmitool-devel] ipmitool: Unable to establish LAN session, ipmi_lan_send_cmd failed to open intf, asking for helpLink




Hello, i tried it in another way, but it's still failed, i wonder if
you have time to help me, my operations are list as below:

1. i unpluged the power for 10 seconds, reset the BMC.
   
2. set the Network traffic: 172.30.1.118
   set the IPMI traffic: 172.30.2.118
   On the management system `ifconfig eth0:1 172.30.2.1`
   then, `ifconfig -a`, the output is as below:

   mcptest8:~ # ifconfig -a
   eth0      Link encap:Ethernet  HWaddr 00:14:5E:7E:1A:EC
             inet addr:172.30.1.118  Bcast:172.30.1.255  Mask:255.255.255.0
             inet6 addr: 2002:9b5:8c0d:2:214:5eff:fe7e:1aec/64 Scope:Global
             inet6 addr: fe80::214:5eff:fe7e:1aec/64 Scope:Link
             UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
             RX packets:167 errors:0 dropped:0 overruns:0 frame:1
             TX packets:106 errors:0 dropped:0 overruns:0 carrier:0
             collisions:135 txqueuelen:1000
             RX bytes:19814 (19.3 Kb)  TX bytes:15031 (14.6 Kb)
             Interrupt:169

   eth0:1    Link encap:Ethernet  HWaddr 00:14:5E:7E:1A:EC
             inet addr:172.30.2.1  Bcast:172.30.255.255  Mask:255.255.0.0
             UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
             Interrupt:169

   eth1      Link encap:Ethernet  HWaddr 00:14:5E:7E:1A:ED
             BROADCAST MULTICAST  MTU:1500  Metric:1
             RX packets:0 errors:0 dropped:0 overruns:0 frame:0
             TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:1000
             RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
             Interrupt:169

   lo        Link encap:Local Loopback
             inet addr:127.0.0.1  Mask:255.0.0.0
             inet6 addr: ::1/128 Scope:Host
             UP LOOPBACK RUNNING  MTU:16436  Metric:1
             RX packets:0 errors:0 dropped:0 overruns:0 frame:0
             TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:0
             RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

   sit0      Link encap:IPv6-in-IPv4
             NOARP  MTU:1480  Metric:1
             RX packets:0 errors:0 dropped:0 overruns:0 frame:0
             TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:0
             RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
 
3. mcptest8:~ # ipmitool bmc reset cold
   Sent cold reset command to MC

4. mcptest8:~ # ipmitool -I open lan print 1
   Set in Progress         : Set Complete
   Auth Type Support       : NONE MD2 MD5 PASSWORD
   Auth Type Enable        : Callback : MD2 MD5 PASSWORD
                           : User     : MD2 MD5 PASSWORD
                           : Operator : MD2 MD5 PASSWORD
                           : Admin    : MD2 MD5 PASSWORD
                           : OEM      :
   IP Address Source       : Static Address
   IP Address              : 172.30.2.118
   Subnet Mask             : 255.255.255.0
   MAC Address             : 00:14:5e:7e:b8:20
   SNMP Community String   : public
   IP Header               : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10
   Default Gateway IP      : 172.30.1.1
   Default Gateway MAC     : 00:09:6b:89:be:b1
   Backup Gateway IP       : 0.0.0.0
   Backup Gateway MAC      : 00:00:00:00:00:00
   Cipher Suite Priv Max   : Not Available

i have three network cards on the machine: eth0 eth1 and an "SYSTEM MEMT", then,

5. mcptest8:~ # ipmitool -I open lan set 1 password password
   Password set for user 1

6. mcptest8:~ # ipmitool -I lan -H 172.30.2.118 -P password chassis power status
   Error: Unable to establish LAN session
   ipmi_lan_send_cmd failed to open intf
   Unable to get Chassis Power Status

do you know the reason, waiting for your help anxiously ....

And the related informations are listed as below:

Hardware environment:
x336

Software environment:
1. mcp5_x86_64-mcp-2006-09-11-230002-exportroot.tgz (bzImage-2.6.16.21-38-smp)
2. OpenIPMI-1.4.26-8
3. ipmitool-1.8.8.tar.gz
4. default gateway ipaddr: 172.30.1.1   macaddr: 00:09:6b:89:be:b1
5.  mcptest8:/opt/fiv/ltp/testcases/fivextra/openipmi # lsmod
    Module                  Size  Used by
    ipmi_si                52840  0
    ipmi_devintf           26896  0
    ipmi_msghandler        47092  2 ipmi_si,ipmi_devintf
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to