This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How can enable Serial console?

anyone can help me? we used ASG software 7.5, how can enable Serial console in /etc/inittab? 
thx


This thread was automatically locked due to age.
Parents
  • yea, I want to enable serial console in ASG  software 7.5
  • Add the following to file /etc/inittab:
    [FONT="Courier New"]s0:123:respawn:/sbin/mingetty ttyS0[/FONT]

    Add the following to file /etc/securetty:
    [FONT="Courier New"]ttyS0[/FONT]

    Create the file /etc/serial.conf and add the following:
    [FONT="Courier New"]ttyS0[/FONT]

    Change the mount for /boot to read-write:
    [FONT="Courier New"]mount -o remount,rw /boot[/FONT]

    Uncomment the following from /boot/grub/menu.lst and menu.lst-default:
    [FONT="Courier New"]serial --unit=0 --speed=38400[/FONT]
    [FONT="Courier New"]terminal --timeout=0 serial[/FONT]

    and append the following to the first kernel line in /boot/grub/menu.lst and menu.lst-default:
    [FONT="Courier New"]console=ttyS0,38400[/FONT]

    You can change the speed or serial device as required.
Reply
  • Add the following to file /etc/inittab:
    [FONT="Courier New"]s0:123:respawn:/sbin/mingetty ttyS0[/FONT]

    Add the following to file /etc/securetty:
    [FONT="Courier New"]ttyS0[/FONT]

    Create the file /etc/serial.conf and add the following:
    [FONT="Courier New"]ttyS0[/FONT]

    Change the mount for /boot to read-write:
    [FONT="Courier New"]mount -o remount,rw /boot[/FONT]

    Uncomment the following from /boot/grub/menu.lst and menu.lst-default:
    [FONT="Courier New"]serial --unit=0 --speed=38400[/FONT]
    [FONT="Courier New"]terminal --timeout=0 serial[/FONT]

    and append the following to the first kernel line in /boot/grub/menu.lst and menu.lst-default:
    [FONT="Courier New"]console=ttyS0,38400[/FONT]

    You can change the speed or serial device as required.
Children
No Data