个人工具

“UbuntuHelp:IPMI”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/IPMI}} {{Languages|UbuntuHelp:IPMI}} This page is about setting up IPMI on ubuntu. # apt-get install ipmitool # /usr/share/ipmitool/ipmi.init.ba...)
 
第2行: 第2行:
 
{{Languages|UbuntuHelp:IPMI}}
 
{{Languages|UbuntuHelp:IPMI}}
 
This page is about setting up IPMI on ubuntu.
 
This page is about setting up IPMI on ubuntu.
 
 
# apt-get install ipmitool
 
# apt-get install ipmitool
 
 
# /usr/share/ipmitool/ipmi.init.basic
 
# /usr/share/ipmitool/ipmi.init.basic
 
 
# less /usr/share/doc/ipmitool/README.gz
 
# less /usr/share/doc/ipmitool/README.gz
 
 
 
<pre><nowiki>
 
<pre><nowiki>
 
a) BIOS POST:
 
a) BIOS POST:
第16行: 第11行:
 
(ii) Disable "Enable Console Redirection after POST" in BIOS setup.
 
(ii) Disable "Enable Console Redirection after POST" in BIOS setup.
 
</nowiki></pre>
 
</nowiki></pre>
 
 
I recommend these settings in your /boot/grub/menu.lst
 
I recommend these settings in your /boot/grub/menu.lst
 
 
<pre><nowiki>
 
<pre><nowiki>
 
serial --unit=1 --speed=19200 --word=8 --parity=no --stop=1
 
serial --unit=1 --speed=19200 --word=8 --parity=no --stop=1
 
 
#This additional line was also suggested also, but I only found its behavior annoying.
 
#This additional line was also suggested also, but I only found its behavior annoying.
 
terminal --timeout=5 serial console
 
terminal --timeout=5 serial console
 
 
# defoptions=console=tty0 serial console=ttyS1,19200n8
 
# defoptions=console=tty0 serial console=ttyS1,19200n8
 
 
# altoptions=(recovery mode) single console=tty0 serial console=ttyS1,19200n8
 
# altoptions=(recovery mode) single console=tty0 serial console=ttyS1,19200n8
 
 
# xenkopt=console=tty0 serial console=ttyS1,19200n8
 
# xenkopt=console=tty0 serial console=ttyS1,19200n8
 
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Be sure to run sudo update-grub
 
Be sure to run sudo update-grub
 
 
Next, go into your /etc/event.d/  directory.  Create a  ttyS0 file from one of the other tty files. Change this line:  exec /sbin/getty 19200 ttyS0
 
Next, go into your /etc/event.d/  directory.  Create a  ttyS0 file from one of the other tty files. Change this line:  exec /sbin/getty 19200 ttyS0
 
 
Do the same thing for ttyS1
 
Do the same thing for ttyS1
 
 
Last, edit /etc/securetty and add ttyS1
 
Last, edit /etc/securetty and add ttyS1
 
 
 
 
== Links ==
 
== Links ==
 
 
http://wiki.adamsweet.org/doku.php?id=ipmi_on_linux
 
http://wiki.adamsweet.org/doku.php?id=ipmi_on_linux
 
 
http://www.ecst.csuchico.edu/~dranch/LINUX/IPMI/ipmi-on-linux.html - Howto Supermicro
 
http://www.ecst.csuchico.edu/~dranch/LINUX/IPMI/ipmi-on-linux.html - Howto Supermicro
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月30日 (五) 18:06的版本

This page is about setting up IPMI on ubuntu.

  1. apt-get install ipmitool
  2. /usr/share/ipmitool/ipmi.init.basic
  3. less /usr/share/doc/ipmitool/README.gz
a) BIOS POST:
(i) Enable "Console Redirection" in BIOS Setup. For example, COM2 /
19.2Kbps / 8N1
(ii) Disable "Enable Console Redirection after POST" in BIOS setup.

I recommend these settings in your /boot/grub/menu.lst

serial --unit=1 --speed=19200 --word=8 --parity=no --stop=1
#This additional line was also suggested also, but I only found its behavior annoying.
terminal --timeout=5 serial console
# defoptions=console=tty0 serial console=ttyS1,19200n8
# altoptions=(recovery mode) single console=tty0 serial console=ttyS1,19200n8
# xenkopt=console=tty0 serial console=ttyS1,19200n8

Be sure to run sudo update-grub Next, go into your /etc/event.d/ directory. Create a ttyS0 file from one of the other tty files. Change this line: exec /sbin/getty 19200 ttyS0 Do the same thing for ttyS1 Last, edit /etc/securetty and add ttyS1

Links

http://wiki.adamsweet.org/doku.php?id=ipmi_on_linux http://www.ecst.csuchico.edu/~dranch/LINUX/IPMI/ipmi-on-linux.html - Howto Supermicro