public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* Questions on using serial console
@  Arthur Pirika
   ` Gregory Nowak
  0 siblings, 1 reply; 2+ messages in thread
From: Arthur Pirika @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Hi there, I have some questions about using a serial console with a separate pc or laptop to access linux.

First, how early in the boot process would it be possible to connect to the system?

second, if I connected to linux with say, hyperterminal on windows, would i be able to control linux from the laptop's keyboard?

btw, how do you tell linux to use a serial console?

tia,
Arthur.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Questions on using serial console
   Questions on using serial console Arthur Pirika
@  ` Gregory Nowak
  0 siblings, 0 replies; 2+ messages in thread
From: Gregory Nowak @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

On Wed, Aug 17, 2005 at 01:58:54PM +1200, Arthur Pirika wrote:
> Hi there, I have some questions about using a serial console with a separate pc or laptop to access linux.
> 
> First, how early in the boot process would it be possible to connect to the system?
> 

That depends on if you activate the serial console by passing a
parameter to the kernel via a boot loader, or if you edit /etc/inittab
and restart init once you've logged in. The first option is the faster
of the two. To start the serial console on the first serial port,
/dev/ttyS0 at 9600 baud, by simply passing a parameter to the kernel
at boot, put the following in lilo's append line, or use whatever
mechanism your boot loader of choice uses to pass boot parameters to
the kernel:

console=ttyS0,9600

. To use the second, and harder method, boot your distribution, and
login. Open /etc/inittab with your editor of choice, and put in the
following line, at the end should be good:

s1:12345:respawn:/sbin/agetty -L ttyS1 9600 vt100

I remember once reading about a way of doing this with the cat command in an
old emacspeak howto, but don't remember enough of the procedure to
feel comfortable that I'm giving you correct information.
Once you've edited /etc/inittab, you need to tell init to reread the
file by typing:

telinit q
.

> second, if I connected to linux with say, hyperterminal on windows, would i be able to control linux from the laptop's keyboard?
> 

The short answer is yes, though I personally feel more comfortable
doing this from minicom, rather then from hyperterminal.

> btw, how do you tell linux to use a serial console?

See my answer to question 1.

Greg



> 
> tia,
> Arthur.
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 
> 
> !DSPAM:430299ee323111263279661!
> 
> 

- -- 
web site: http://www.romuald.net.eu.org
gpg public key: http://www.romuald.net.eu.org/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

- --
Free domains: http://www.eu.org/ or mail dns-manager@EU.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFDArsQ7s9z/XlyUyARAqkMAJ9XAvAVhGNIid9mDHt33hsEuBpqywCgp5+M
PvwbF7pSm8ZR9jUvzaUAo7s=
=em+2
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 Questions on using serial console Arthur Pirika
 ` Gregory Nowak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).