How to get SUT time from BMC by ipmi command
#ipmitool.exe -I lanplus -H 192.168.1.1 -U admin -P password sel time get
2016年10月17日 星期一
2016年10月5日 星期三
Linux Console_Redirection -SLES 12.2
Linux Console_Redirection -SLES 12.2
1.Configuring GRUB 2
#vim /etc/default/grub
GRUB_TERMINAL="serial"
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8"
2.If BIOS is legacy mode
#grub2-mkconfig -o /boot/grub2/grub.cfg
If BIOS is UEFI mode
#grub2-mkconfig -o /boot/efi/EFI/sles/grub.cfg
3.Reboot
1.Configuring GRUB 2
#vim /etc/default/grub
GRUB_TERMINAL="serial"
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8"
2.If BIOS is legacy mode
#grub2-mkconfig -o /boot/grub2/grub.cfg
If BIOS is UEFI mode
#grub2-mkconfig -o /boot/efi/EFI/sles/grub.cfg
3.Reboot
2016年9月29日 星期四
How to check jumbo frame packet by wireshark utility
How to check jumbo frame packet by wireshark utility
Prepare 2 SUT with network card
Connect SUT1 SUT2 with NIC cable
Test procedure:
1.SUT1/SUT2 set Jumbo frame 9014K
(Windows set it from device manager ,network device)
(Linux set it by command # ifconfig eth0 192.168.1.x mtu 9000)
2.Install wireshark utility on SUT1, open monitor on jubmo frame NIC port
3.Create a share folder on SUT1, verify if SUT2 can access it
4.SUT2 upload a iso image(Large than 1G size) to SUT1 share folder
5.Verify if network packet Lengh is 9014 as below photo.
Prepare 2 SUT with network card
Connect SUT1 SUT2 with NIC cable
Test procedure:
1.SUT1/SUT2 set Jumbo frame 9014K
(Windows set it from device manager ,network device)
(Linux set it by command # ifconfig eth0 192.168.1.x mtu 9000)
2.Install wireshark utility on SUT1, open monitor on jubmo frame NIC port
3.Create a share folder on SUT1, verify if SUT2 can access it
4.SUT2 upload a iso image(Large than 1G size) to SUT1 share folder
5.Verify if network packet Lengh is 9014 as below photo.
2016年9月15日 星期四
How to create a backgroud bat file in windows startup
How to create a backgroud bat file in windows startup
execute cmd
#shell:startup
create a bat file
start "" "C:\Program Files (x86)\WinEdt Team\WinEdt\WinEdt.exe"
exit
execute cmd
#shell:startup
create a bat file
start "" "C:\Program Files (x86)\WinEdt Team\WinEdt\WinEdt.exe"
exit
2016年8月18日 星期四
How to auto login windows
How to auto login windows
1.Open cmd command windows
2.#netplwiz (or ntrol userpasswords2)
3.Uncheck "Users must enter a suer name and password to use this computer"
1.Open cmd command windows
2.#netplwiz (or ntrol userpasswords2)
3.Uncheck "Users must enter a suer name and password to use this computer"
2016年8月17日 星期三
How to write mac address by eeupdate
How to write mac address by eeupdate
Download latest eeupdate.efi
1.Boot to UEFI shell
2.#eeupdate.efi /nic=1 /mac=001122334455
(MAC address must follow vendor MAC define, like "F0761C9DXXXX")
mac address is 12 length
Download latest eeupdate.efi
1.Boot to UEFI shell
2.#eeupdate.efi /nic=1 /mac=001122334455
(MAC address must follow vendor MAC define, like "F0761C9DXXXX")
mac address is 12 length
2016年5月26日 星期四
How to login linux single mode
RHEL 6
Go to the Boot loader Screen, add "
------------------------------------------------------------------------------------
RHEL 7.9
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
# reboot -f
------------------------------------------------------------------------------------
RHEL 8.6Go 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
# reboot -f
---------------------------------------------------------------------------------------
SLES
Go to the Boot loader Screen, type below command in the boot instruction option :
init=/bin/bash
2016年5月25日 星期三
How to turn off RHEL screensaver
How to turn off RHEL screensaver
System Tools=>Settings=>Power
Blank screen =>Never
System Tools=>Settings=>Power
Blank screen =>Never
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
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
Boot UEFI shell
Check version
#eeupdate.efi /all /eepromver
Update fw
#eeupdate.efi /all /d XXX.hex
2016年4月21日 星期四
How to create bmc flash cycle under dos
How to create bmc flash cycle under dos
[autoexec.bat]
Yafu.exe -kcs xxxx.bin -vyes
count
:bmc
ipmitool 20 00 02 02
goto bmc
You need put "Yafu.exe" "count.exe" "ipmitool.exe" to your dos key
----------------------------------------------------------------------------
Or
[autoexec.bat]
Yafu.exe -kcs xxxx.bin -vyes
delay -s 120
count
ipmitool 20 00 02 02
You need put "Yafu.exe" "delay.exe" "count.exe" "ipmitool.exe" to your dos key
[autoexec.bat]
Yafu.exe -kcs xxxx.bin -vyes
count
:bmc
ipmitool 20 00 02 02
goto bmc
You need put "Yafu.exe" "count.exe" "ipmitool.exe" to your dos key
----------------------------------------------------------------------------
Or
[autoexec.bat]
Yafu.exe -kcs xxxx.bin -vyes
delay -s 120
count
ipmitool 20 00 02 02
You need put "Yafu.exe" "delay.exe" "count.exe" "ipmitool.exe" to your dos key
2016年4月13日 星期三
How to create samba share folder under RHEL linux for stress
How to create samba share folder under RHEL linux for stress
#init 6
2.#mkdir /mnt/stress
#chmod 777 stress
#vim /etc/samba/samba.conf
security = share
[stress]
path = /mnt/stress
browseable = yes
read only = no
writable = yes
create mode = 0777
directory mode = 0777
guest ok = yes
guest only = yes
#service smb restart
3.#service iptables stop
1.Disabling SELinux
#vim
/etc/selinux/config
SELINUX=disabled
save then reboot#init 6
2.#mkdir /mnt/stress
#chmod 777 stress
#vim /etc/samba/samba.conf
security = share
[stress]
path = /mnt/stress
browseable = yes
read only = no
writable = yes
create mode = 0777
directory mode = 0777
guest ok = yes
guest only = yes
#service smb restart
3.#service iptables stop
2016年2月3日 星期三
Could Not Find Trusted Signer Error While Installing VIBs in VMware vSphere ESXi 5.x
Could Not Find Trusted Signer Error While Installing VIBs in VMware vSphere ESXi 5.x
ould not find a trusted signer
Add the --no-sig-check switch to your command when installing the VIB.
Example : # esxcli software vib install -d /vmfs/volumes/datastore1/offline-bundle.zip --no-sig-check
ould not find a trusted signer
Add the --no-sig-check switch to your command when installing the VIB.
Example : # esxcli software vib install -d /vmfs/volumes/datastore1/offline-bundle.zip --no-sig-check
2016年1月13日 星期三
How to mount usb device to ESXi
How to mount usb device to ESXi
1.) Stop the usbarbitrator service by running this command
/etc/init.d/usbarbitrator stop
2.) Disconnect and reconnect the usb device. The device might be automatically mounted under
/vmfs/volumes/NO NAME/ (just navigate here to export or import your files)
**) If not automatically mounted, use the following commands to find out where the device is connected to (e.g. /dev/sda1)
fdisk -l
tail /var/log/messages
tail /var/log/messages
To mount the device, first create a folder
mkdir /ExtUSB
mount the device with
mount -t ext3 /dev/sda1 /ExtUSB/
3.) After using the device, run the following command to start the usbarbitrator service
/etc/init.d/usbarbitrator start
2016年1月11日 星期一
How to list BMC sensor
How to list BMC sensor
#ipmitool.exe -I lanplus -H 192.168.1.227 -U admin -P admin -v sdr
#ipmitool.exe -I lanplus -H 192.168.1.227 -U admin -P admin sdr
#ipmitool.exe -I lanplus -H 192.168.1.227 -U admin -P admin sensor
#ipmitool.exe -I lanplus -H 192.168.1.227 -U admin -P admin sensor get "XXXX"
#ipmitool.exe -I lanplus -H 192.168.1.227 -U admin -P admin -v sdr
#ipmitool.exe -I lanplus -H 192.168.1.227 -U admin -P admin sdr
#ipmitool.exe -I lanplus -H 192.168.1.227 -U admin -P admin sensor
#ipmitool.exe -I lanplus -H 192.168.1.227 -U admin -P admin sensor get "XXXX"
2015年11月17日 星期二
How to check windows build version
How to check windows build version
Open cmd command
Type winver and press Enter
Open cmd command
Type winver and press Enter
2015年10月20日 星期二
How to check BMC ip by windows local ipmi command
How to check BMC ip by windows local ipmi command
#ipmitool -I ms lan print 1
(-Interface)
#ipmitool -I ms lan print 1
(-Interface)
How to check fru data by windows local ipmi command
How to check fru data by windows local ipmi command
Under windows to check fru by ipmi command
#ipmitool -I ms fru print 0
Dump current system fru data
Under windows to check fru by ipmi command
#ipmitool -I ms fru print 0
Dump current system fru data
#ipmitool -I ms fru read 0 fru.bin
#ipmitool -I ms fru print
All fru data will be saved in "fru.bin".
2015年10月19日 星期一
How to update Intel i350 fw & MAC address
How to update Intel i350 fw
Boot to UEFI shell
#eeupdate64e.efi /D I350BT2_0324.hex /NIC=1
MAC address
#eeupdate64e.efi /NIC=1 /MAC=665544332211
#eeupdate64e.efi /NIC=2 /MAC=665544332212
After flash completely, AC system
Boot to UEFI shell
#eeupdate64e.efi /D I350BT2_0324.hex /NIC=1
MAC address
#eeupdate64e.efi /NIC=1 /MAC=665544332211
#eeupdate64e.efi /NIC=2 /MAC=665544332212
After flash completely, AC system
訂閱:
文章 (Atom)
-
[Office] 自從您上次存檔後檔案 (filename.xls) 可能已由另一位使用者變更 當您嘗試將 Microsoft Excel 活頁簿儲存到網路伺服器時,如果該伺服器正在執行例如 Services for Macintosh 的中繼服務,或是在開啟活頁簿時出現...
-
Use AMISCE tool to update BIOS configuration under linux Test fucntion without change dump file 1.Copy SCELNX_64 to Linux_Flash folder 2...