I have my PC with Ubuntu 11.04 installed, from this PC console port (RS232) another PC my laptop is connected. Now from my another PC i want to connect it and login and use it completely over RS232. How can I do that setup? I have tried following:

  1. Ubuntu console is enabled (connected)

    $ dmesg | grep tty
    [    0.000000] console [tty0] enabled
    [    1.147272] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    [    1.327959] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
    [    1.505178] 00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    [    1.525980] 00:0b: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
    [    1.546597] 0000:00:16.3: ttyS4 at I/O 0xf140 (irq = 19) is a 16550A
    
  2. /etc/default/grub (grub2)

    GRUB_CMDLINE_LINUX='console=tty0 console=ttyS0,19200n8'
    GRUB_TERMINAL=serial
    GRUB_SERIAL_COMMAND="serial --speed=19200 --unit=0 --word=8 --parity=no --stop=1"
    
  3. Grub update

    update-grub
    

4. /etc/inittab I have to add, but I do not find that file

    T0:23:respawn:/sbin/getty -L ttyS0 19200 vt100
  1. /etc/securetty check

    ttyS0 #exist
    

But I do not find /boot/grub/menu.list any more. How do I setup this in Ubuntu 11.04?

Note: I have followed this:

http://www.cyberciti.biz/faq/howto-setup-serial-console-on-debian-linux/

But I do not find in my Ubuntu 11.04 /etc/inittab.

link|improve this question

feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.