Welcome, Guest. Please login or register.

Author Topic: Serial console set up on Ubuntu 9.10 - the Karmic Koala  (Read 1366 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline redrumloaTopic starter

  • Original Omega User
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 10126
Serial console set up on Ubuntu 9.10 - the Karmic Koala
« on: April 13, 2010, 01:18:05 AM »
I cannot for the life of me get a serial console working! :madashell: I've tried an Ubuntu forum (with currently 7982 users online) and no replies. I will probably have better luck here. I see that Ubuntu changed things around, /etc/inittab is gone. It looks as if /etc/init/ttyS0.conf has replaced inittab. Here is what I have so far.

/etc/ini/ttyS0.conf
Quote
# ttyS0 - getty
#
# This service maintains a getty on ttyS0 from the point the system is
# started until it is shut down again.

start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]

respawn
exec /sbin/getty -L 57600 ttyS0 vt102
Quote
redrumloa@redrumloa:/dev$ dmesg | grep ttyS
[    0.974946] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.975200] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Quote
redrumloa@redrumloa:/etc/init$ id -Gn |grep dialout
redrumloa adm dialout cdrom plugdev lpadmin admin sambashare
Quote
redrumloa@redrumloa:/etc/init$ ps -ef | egrep ttyS0
root      1560     1  0 19:40 ttyS0    00:00:00 /sbin/getty -L 57600 ttyS0 vt102
1000      2545  2411  0 20:13 pts/1    00:00:00 egrep --color=auto ttyS0
Quote
redrumloa@redrumloa:/dev$ ls -l ttyS0
crw------- 1 root root 4, 64 2010-04-12 19:40 ttyS0
The only possible problem I see is in permissions and group for /dev/ttyS0. Every time I chmod (to 777) and chgrp (to dialout), it does not help. I am still unable to log into to a serial console and the permissions and group goes back to default above after ever reboot.

Any help would be appreciated.
« Last Edit: April 13, 2010, 02:16:42 AM by redrumloa »
Someone has to state the obvious and that someone is me!