home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 23858 < prev    next >
Encoding:
Text File  |  1993-01-13  |  1.5 KB  |  43 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!think.com!enterpoop.mit.edu!bloom-picayune.mit.edu!daemon
  3. From: tytso@ATHENA.MIT.EDU (Theodore Ts'o)
  4. Subject: Re: Communications for 14.4k modem (kermit patch anyone?)
  5. Message-ID: <1993Jan13.051419.28683@athena.mit.edu>
  6. Sender: daemon@athena.mit.edu (Mr Background)
  7. Reply-To: tytso@ATHENA.MIT.EDU (Theodore Ts'o)
  8. Organization: The Internet
  9. Date: Wed, 13 Jan 1993 05:14:19 GMT
  10. Lines: 31
  11.  
  12.    From: sdh@po.CWRU.Edu (Scott D. Heavner)
  13.    Date: 12 Jan 1993 22:09:22 GMT
  14.  
  15.  
  16.        Are there any Communications programs out there for
  17.    linux which will let me set my modem speed to 57,600???  
  18.  
  19. Step 1)  Grab the "setserial.tar.Z" file from tsx-11, in 
  20.     /sources/sbin/setserial.tar.Z.  (this is a relatively new
  21.     version; if your version is more than a week or two old, grab
  22.     this one.  :-)
  23.  
  24. Step 2)  Either compile setserial.c, or extract the included binary.
  25.  
  26. Step 3)  run "setserial /dev/ttysXX SPD_HI"
  27.  
  28. Step 4) Run any communication program which supports 38400 bps, and set
  29.     the speed to 38400; the serial port will really be going at
  30.     57.6kb.
  31.  
  32. If you want to use 115kb, type "setserial /dev/ttysXX SPD_VHI".  To
  33. reset the serial port so that 38.4kb means 38.4kb, type "setserial
  34. /dev/ttysXX SPD_NORMAL".
  35.  
  36. To set 38.4kb to mean any serial rate you want, calculate the divisor
  37. for the uart as by dividing 1843200 by the desired baud rate, and then
  38. type (substituting the divisor for dddd) "setserial /dev/ttysXX SPD_CUST
  39. divisor dddd".
  40.  
  41.                         - Ted
  42.  
  43.