LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-17-2006, 11:18 PM   #1
Cara25
Member
 
Registered: Mar 2006
Location: Nashville, Tennessee
Distribution: Salix 13.37 with KDE
Posts: 255

Rep: Reputation: 36
How to use stty to set serial port speed


I think my serial port that I have my modem connected to defaults to a 38400 speed port. How can I fix the speed of the port to 115200 using the stty console. What command should I use ?
Thanks,
Scott Nash
 
Old 06-18-2006, 12:46 AM   #2
zhangmaike
Member
 
Registered: Oct 2004
Distribution: Slackware
Posts: 376

Rep: Reputation: 31
To set the baud rate of a specified terminal to 115200:
Code:
stty -F /dev/YOUR_TERMINAL_DEVICE 115200
Always helpful:

Code:
man stty
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
linux serial port to router console port connection? frankie_fix Linux - General 3 02-26-2007 09:32 PM
How do I set USB serial speed > 38400 ? PeteRossi Linux - Hardware 0 03-28-2006 06:37 PM
Using serial port card(PCMCIA) with IPAQ running Linux, can't find ttyS0 port d2army Linux - Laptop and Netbook 0 11-12-2005 08:07 PM
using Stty to change serial port settings dkarnad Linux - General 1 12-21-2004 07:47 AM
speed/specs for ttyS0 or some other standard serial port? BigDawg Programming 3 01-23-2004 11:47 AM


All times are GMT -5. The time now is 09:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration