PDA

View Full Version : [INFO]boot log in linux



nitr8
11-01-2008, 08:55 PM
If you use linux as a desktop and wish to get a boot log this is how to do it:

$ sudo aptitude install -y ckermit

add the following to a file dbox.tty


#!/usr/bin/kermit
set modem type none
set carrier-watch off
set line /dev/ttyS0
set speed 9600
set line /dev/ttyS0
set speed 9600
set terminal bytesize 8
set parity none
set stop-bits 1
set flow none
connect
quit

Or if you like me and use a USB 2 Serial converter it would be something like this:


#!/usr/bin/kermit
set modem type none
set carrier-watch off
set line /dev/ttyUSB0
set speed 9600
set line /dev/ttyUSB0
set speed 9600
set terminal bytesize 8
set parity none
set stop-bits 1
set flow none
connect
quit

$ chmod 755 dbox.tty
$ sudo ./dbox.tty

hit enter and you will have access to your dbox via serial.

--me

NeilJay
19-02-2008, 10:46 PM
I prefer to use minicom instead of kermit
in ubuntu(debian)


sudo apt-get install minicom
sudo minicom /dev/ttyS0

Configuration menu can be brought up by pressing CTRL-A Z
it should be available on other packet mangers as well eg synaptic (Red Hat)
enjoy