fix ( script : nicsensor.sh ) 修正unicode字符

This commit is contained in:
Missing 2024-09-12 15:53:03 +08:00
parent ae225d5395
commit ff28535ca1

@ -27,7 +27,7 @@
4.2 读取fru信息
命令: ./nicsensor.sh <pcie_slot> fru <chip_slave> read
举例说明:读取Ravel板卡的EEPROM中的FRU0x57
举例说明:读取Ravel板卡的EEPROM中的FRU(0x57)
- ./nicsensor.sh 5 fru 0x57 read
4.3 读取芯片寄存器
@ -81,9 +81,9 @@
使用IPMI SOL的前提环境: 可与BMC网络连接, 且电脑上有ipmitool工具
SOL登陆方法:
1将SOL串口源切换到BMC:
(1) 将SOL串口源切换到BMC:
ipmitool -I lanplus -H <bmcip> -U admin -P admin raw 0x3c 0x2c 0x02 0x01
2打开SOL:
(2) 打开SOL:
ipmitool -I lanplus -H <bmcip> -U admin -P admin sol activate
备注: <bmcip> 为目标BMC的ip地址, 请自行更改为对应的ip地址
@ -93,9 +93,9 @@
3、在BMC的linux系统下执行命令
1 cp /etc/defconfig/ssh_server_config_with_sysadmin /etc/ssh/sshd_config
(1) cp /etc/defconfig/ssh_server_config_with_sysadmin /etc/ssh/sshd_config
2 /etc/init.d/ssh restart
(2) /etc/init.d/ssh restart
执行完毕后就可以使用ssh登录BMC了