[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: serial console



On Wed, Oct 05, 2005 at 11:06:16AM +0800, KokHow Teh wrote:
> If the init scripts don't set the tty speed it will probably default to
> 9600n8. Maybe adding an stty early on will help.
> 
>       I need more help on this. Do you refer to sbin/init or some scripts
> in /etc/ folder? Where should I set it?

I was thinking of a script in /etc/init.d that is run from rcS.d.
On my machine I have /etc/init.d/etc-setserial (linked from
/etc/rcS.d/S30etc-setserial), which where I would add something like:

stty /dev/tts/0 115200 -evenp

-- 
Martin



Reply to: