First of all you should enable the Console Redirection in the BIOS Setup. This MUST be: COM2 / 19200 / 8N18.1We should disable the Keyword
In the bootloader of the operating system we should comment out the line containing the splashimage and add this two lines, for instructing the GRUB to redirect all on the serial line COM2:
serial --unit=1 --speed=19200 --word=8 --parity=no --stop=1 terminal --timeout=10 serial console
and append the ``serial console=ttyS1,19200n8''. Then we should add a getty for manageing the login on the serial console, adding in /etc/inittab:
[root@pcitfiot08 ~]# cat /etc/inittab |grep 1920 s0:2345:respawn:/sbin/agetty ttyS1 19200and editing of course the securetty adding the ttyS1. That's it.
This is the output of ipmicli:
mascanc@pcitadc05 /afs/cern.ch/user/m/mascanc/private # ./ipmicli-sm 137.138.253.96 Welcome to Supermicro IPMI Command Line Interface Rev 2.08 (build 06060101) Copyright(C) 2002-2006 Supermicro Computer Inc., All rights reserved User Name: ADMIN Password: ****** connect ok ipmi>console You can press Ctrl-B to terminate Text Remote Console Redirection. Press [Enter] to continue... -bash: muttt: command not found [root@pcitfiot08 ~]# ls a.out ipmitool-1.8.8-1.rhel3.i386.rpm prova.c stopipmi anaconda-ks.cfg ipmitool-1.8.8-1.rhel4.i386.rpm prova.c~ install.log ipmiutil-1.7.2-1.i386.rpm spec install.log.syslog ks-post-reboot.log startimpi [root@pcitfiot08 ~]# w 13:41:23 up 22 min, 1 user, load average: 0.00, 0.00, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root ttyS1 - 13:21 0.00s 0.02s 0.00s w [root@pcitfiot08 ~]# l -bash: l: command not found [root@pcitfiot08 ~]# ls a.out ipmitool-1.8.8-1.rhel3.i386.rpm prova.c stopipmi anaconda-ks.cfg ipmitool-1.8.8-1.rhel4.i386.rpm prova.c~ install.log ipmiutil-1.7.2-1.i386.rpm spec install.log.syslog ks-post-reboot.log startimpi [root@pcitfiot08 ~]# bc bc 1.06 Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'. 352356*432134 152265007704 quit [root@pcitfiot08 ~]# ./a.out MASSI MASSIE [root@pcitfiot08 ~]# Text Remote Console Redirection is terminated by Ctrl-B. ipmi>quit
This is the output of ipmitool:
mascanc@pcitadc05 /afs/cern.ch/user/m/mascanc/private #
ipmitool -I lanplus -H pcitfiot08 -P 0czjTf -U ADMIN sol activate
[SOL Session operational. Use ~? for help]
[root@pcitfiot08 ~]# ls
a.out ipmitool-1.8.8-1.rhel3.i386.rpm prova.c stopipmi
anaconda-ks.cfg ipmitool-1.8.8-1.rhel4.i386.rpm prova.c~
install.log ipmiutil-1.7.2-1.i386.rpm spec
install.log.syslog ks-post-reboot.log startimpi
[root@pcitfiot08 ~]# wIPMI LAN send command failed
13:39:56 up 21 min, 1 user, load average: 0.00, 0.00, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root ttyS1 - 13:21 1.00s 0.02s 0.00s w
[root@pcitfiot08 ~]#
[root@pcitfiot08 ~]#
[root@pcitfiot08 ~]# wIPMI LAN send command failed
13:40:01 up 21 min, 1 user, load average: 0.00, 0.00, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root ttyS1 - 13:21 0.00s 0.02s 0.00s w
[root@pcitfiot08 ~]#
[root@pcitfiot08 ~]#
[root@pcitfiot08 ~]# muutttt
-bash: muutttt: command not found
[root@pcitfiot08 ~]#
[root@pcitfiot08 ~]# mutttSegmentation fault