2016年5月26日 星期四

How to login linux single mode

RHEL 6

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

RHEL 7.9
Go to the Boot loader Screen, change the argument ro to rw init=/sysroot/bin/sh as shown in the screen shot below.






press Ctrl-X or F10 to boot into single user mode 


# mount -o remount,rw /sysroot
# chroot /sysroot/
# reboot -f
------------------------------------------------------------------------------------
RHEL 8.6
Go to the Boot loader Screen, change the argument
add "rd.break" after quiet


Ctrl + x , boot
# mount -o remount,rw /sysroot
# chroot /sysroot/
# reboot -f


---------------------------------------------------------------------------------------
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


You have 3 network card:

Company network:   10.109.34.x
Internal network   :  192.168.1  .x

wifi network          :  192.168.10.x


Setup default gateway for which network you use frequently. (My example is wifi network)

1.Default gateway (Maybe your private wireless, ex:192.168.10.x)
route change 0.0.0.0 mask 0.0.0.0 192.168.10.254 -p

2.Your company network  (ex: You get DHCP IP is 10.109.34.22)
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
route add 10.119.55.0 mask 255.255.255.0 10.109.34.254 -p

It means you want to connect 10.110.21.x target by 10.109.34.x(Your company network)

3.Your Internal network 
route add 192.168.1.0 mask 255.255.255.0 192.168.1.254 -p


If you want to bond dedicate IP address for connection.
<For dedicate IP address>
route add 10.109.34.109 mask 255.255.255.255 10.109.34.254 -p
route add 10.110.11.120 mask 255.255.255.255 10.109.34.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



(TOP)Temp for soulin only

123