From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pop-scotia.atl.sa.earthlink.net ([207.69.195.65]) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1E5FPp-0007Cd-00 for ; Wed, 17 Aug 2005 00:20:37 -0400 Received: from h-68-166-89-140.chcgilgm.covad.net ([68.166.89.140] helo=linserver.romuald.net.eu.org) by pop-scotia.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1E5FPp-0005Hm-00 for speakup@braille.uwo.ca; Wed, 17 Aug 2005 00:20:37 -0400 Received: (qmail 32629 invoked by uid 1023); 17 Aug 2005 04:20:32 -0000 Date: Tue, 16 Aug 2005 23:20:32 -0500 From: Gregory Nowak To: "Speakup is a screen review system for Linux." Message-ID: <20050817042032.GA32564@romuald.net.eu.org> References: <000601c5a2cf$395551f0$090a0a0a@arthuruk7ikc0m> Mime-Version: 1.0 Content-Type: text/plain; x-action=pgp-signed; charset=us-ascii Content-Disposition: inline In-Reply-To: <000601c5a2cf$395551f0$090a0a0a@arthuruk7ikc0m> User-Agent: Mutt/1.4.2i X-PGP-Key: http://www.romuald.net.eu.org/pubkey.asc Subject: Re: Questions on using serial console X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2005 04:20:38 -0000 -----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-----