Results 1 to 2 of 2
I don't know how to search for this, nor if this is the right place to ask. So here it goes. I installed Ubuntu server 10.10 (Linux ubuntu-server 2.6.35-22-generic-pae #35-Ubuntu ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-03-2010 #1
Help: tty console to serial port
I don't know how to search for this, nor if this is the right place to ask. So here it goes. I installed Ubuntu server 10.10 (Linux ubuntu-server 2.6.35-22-generic-pae #35-Ubuntu SMP Sat Oct 16 22:16:51 UTC 2010 i686 GNU/Linux), enabled ssh daemon and removed graphic card. Now I'm running Linux PC box without graphic card and accessing it only over SSH. No X windows is installed. As problems are always around the corner I'd still like to access system trough tty console. Is there a way to configure Linux (Ubuntu) box that default tty input/output is serial port? I have 2 of them. You know, just the way few embedded devices have implemented (or Cisco routers etc.), so you can see everything from GRUB menu to login prompt trough serial port (COM port).
Thank you for the help!
- 11-03-2010 #2
These are the basic steps, you may need to tweak them for ubuntu and your machine a little bit.
(location and existence of agetty, serial port device, serial port parameters)
in /etc/securetty add
s1:2345:respawn:/sbin/agetty -L 38400 ttyS0 vt100Code:
To see also grub and the kernel messages while booting:
add this to grub.conf, in the "kernel" line
kernel console=ttyS0,38400You must always face the curtain with a bow.