2016年5月26日 星期四

How to login linux single mode

RHEL

Go to the Boot loader Screen, add " single" in the end of kernel






SLES

Go to the Boot loader Screen, type below command in the boot instruction option :
init=/bin/bash

2016年5月25日 星期三

2016年5月24日 星期二

How to use socflash tool flash BMC under DOS

How to use socflash tool flash BMC under DOS

Boot to Dos
# socflash if=XXX.bin
(After flash , BMC mac will be clean)

Flash BMC mac
# ipmitool 20 30 01 01 c2 00
# ipmitool 20 30 01 01 05 00 11 22 33 44 55
(modify "00 11 22 33 44 55" for MAC address)

<Waiting few seconds>
# ipmitool 20 30 01 01 c2 01
# ipmitool 20 30 01 01 05 00 11 22 33 44 56


AC system

2016年5月17日 星期二

How to setup route table for multi network


How to setup  route table for multi network


Reset routing table
netsh winsock reset


Default gateway (Maybe your private wireless)
route change 0.0.0.0 mask 0.0.0.0 192.168.10.254 -p

Your company network
route add 10.110.21.0 mask 255.255.255.0 10.109.34.254 -p
route add 10.109.34.0 mask 255.255.255.0 10.109.34.254 -p

<For dedicate IP address>
route add 10.109.34.109 mask 255.255.255.255 10.109.34.254 -p


Your Internal network 
route add 192.168.1.0 mask 255.255.255.0 192.168.1.254 -p


2016年5月4日 星期三

How to use eeupdate to update i350 fw

How to use eeupdate to update i350 fw


Boot UEFI shell
Check version
#eeupdate.efi /all /eepromver

Update fw
#eeupdate.efi /all /d XXX.hex



When execute sh script under linux, /bin/sh^M:bad interpreter:No such file or directory

When execute sh script under linux, /bin/sh^M:bad interpreter:No such file or directory Root Cause: The file has been modify under window...