[H-GEN] Serial Port Speed

Christopher Biggs chris at stallion.oz.au
Wed Feb 24 23:33:28 EST 1999


"Marshall, Joshua" <MarshallJ at switch.aust.com> moved upon the face of the 'Net and spake thusly:

> Hi all,
> 
> I'm wanting to know how to change the default speed of a serial port -
> I've tried using setserial but it doesn't seem to do the job.  I've been
> able to change it by manually running mgetty and terminating it.  I
> don't really want to do this as this is for a server & I want it
> automated.
> 
> Can anyone help?  Maybe I'm using the setserial wrong - baudbase 115200

Almost always this is the job of the application.   In the rare
exceptions, try

	# stty speed 115200 </dev/ttySx

where 'x' is your port number.

Setserial is for configuring the device-driver at boot-time, and has
nothing to do with setting RS232 communication parameters for general
use.  For most standard COM ports, you should never need to use setserial.

cjb.

--
 chris at stallion.oz.au, when he visits the Real World, is Christopher J. Biggs
 Stallion Technologies, Australia.   Ph. +61-7-3270-4266 Fax. +61-7-3270-4245
 I dig PGP, MIME and Rush. Send mail with "Subject: sendpgpkey" for my pubkey
 ------------------ Power grows out of the barrel of a GNU ------------------


-
This is list (humbug) general handled by majordomo at humbug.org.au .  Postings
are accepted only from subscribed addresses of lists general or general-post.



More information about the General mailing list