by matt.stevenson » Wed Jul 28, 2010 11:25 pm
by matt.stevenson
Wed Jul 28, 2010 11:25 pm
Hi snest,
I'm glad to hear you've got things running now.
I'm running Debian on the RB-100, but I doubt things are too different.
For serial communication you need to do 2 things.
First you need to edit you /etc/inittab to allow serial port login.
I have mine set to automatically log me in. Just add this line to the bottom of the file:
- Code: Select all
T0:23:respawn:/bin/login -f you_username ttyS0 115200 vt100 </dev> /dev/ttyS0 2>&1
Edit: Ok this is pissing me off. in the "<" ">" brackets it should be "<"/dev/ttyS0 ">" not </dev> but the forum won't let me post that ... O_o
Second you need to edit /boot/grub/menu.lst to redirect the console to serial
Find the line for the kernel you boot into and add "console=ttyS0,115200n8" to the end. Mine looks like this:
- Code: Select all
kernel /boot/vmlinuz-2.6.30-vortex86dx root=/dev/hda1 ro console=ttyS0,115200n8
You can edit the grub menu on boot up before changing it, just to make sure everything works fine.
115200 is the baud rate I'm using
Hi snest,
I'm glad to hear you've got things running now.
I'm running Debian on the RB-100, but I doubt things are too different.
For serial communication you need to do 2 things.
First you need to edit you /etc/inittab to allow serial port login.
I have mine set to automatically log me in. Just add this line to the bottom of the file:
- Code: Select all
T0:23:respawn:/bin/login -f you_username ttyS0 115200 vt100 </dev> /dev/ttyS0 2>&1
Edit: Ok this is pissing me off. in the "<" ">" brackets it should be "<"/dev/ttyS0 ">" not </dev> but the forum won't let me post that ... O_o
Second you need to edit /boot/grub/menu.lst to redirect the console to serial
Find the line for the kernel you boot into and add "console=ttyS0,115200n8" to the end. Mine looks like this:
- Code: Select all
kernel /boot/vmlinuz-2.6.30-vortex86dx root=/dev/hda1 ro console=ttyS0,115200n8
You can edit the grub menu on boot up before changing it, just to make sure everything works fine.
115200 is the baud rate I'm using