Hi all,
I've set up my EFIKA system using the serial port and my MAC (iBook G4 through an FTDI chip based USB <=> serial adapter and ZTerm as terminal emulator).
Here is a
screenshot.
In order to use the serial console in all runlevels in debian I suggest you simply change the settings in /etc/inittab.
default:
Code:
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6
will become (assuming that you want to see the login shell through ttyPSC0 in runlevel 2):
Code:
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 115200 ttyPSC0
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6
but before editing this file you must boot in runlevel 1 with the method PurpleAlien explained.
Code:
boot hd0:0 kernel_efika root=/dev/sda1 console=ttyPSC0 init 1
and boot again after modifications with:
Code:
boot hd0:0 kernel_efika root=/dev/sda1 console=ttyPSC0
...
Activating swapfile swap...done.
Setting up networking....
Configuring network interfaces...done.
Starting portmap daemon....
Setting console screen modes and fonts.
INIT: Entering runlevel: 2
Starting system log daemon: syslogd.
Starting kernel log daemon: klogd.
Starting portmap daemon...Already running..
Starting MTA: exim4.
Starting internet superserver: inetd.
Starting NFS common utilities: statd.
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: crond.
Debian GNU/Linux 4.0 tiny ttyPSC0
tiny login:
with kind regards,
Noël