l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
October 7: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2002 Mar 12 20:38

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] stopping serial console
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] stopping serial console



On Tue, 12 Mar 2002, eric nelson wrote:

> I built a kernel today, and checked 'support console on serial port'.  Then, 
> I wanted to set up minicom between the pc and another box, and I got a login 
> (duh, that's what I set up).  But, I don't really want a login, I just want 
> to use the port, and don't want to recompile the kernel.
> 
> Anyway to stop this behavior?

I haven't done this myself, but I have seen explanations before. Kernel
recompilation with "support console on serial port" is only needed in
order to be able to see boot messages on a serial terminal.

A serial port driver must be installed in order to use a serial
port.  Almost all kernels are compiled with serial support enabled, either
compiled-in or as a module.

With a serial driver installed, you can specify the corresponding serial
port devices to software that uses serial ports.  One such program is
getty, controlled by the "init" process according to the settings in
/etc/inittab.

If you don't want boot messages to be spit out the serial port, then you
don't want to enable "console on serial port" in the kernel.  (remove
bootloader "append=/dev/ttyS0").

If you don't want to see login messages on the serial port, then you want
to disable getty on that port in inittab.  I am not clear on how the
append kernel option affects this, but I think it is related to
redefinition of /dev/console by the kernel.

Look at the Serial howto and the Text terminal howto at
http://www.linuxdog.org, and
/usr/src/linux/Documentation/serial-console.txt.

---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil@dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...2k
---------------------------------------------------------------------------

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.