LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to use stty to set serial port speed (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-use-stty-to-set-serial-port-speed-455851/)

Cara25 06-17-2006 11:18 PM

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

zhangmaike 06-18-2006 12:46 AM

To set the baud rate of a specified terminal to 115200:
Code:

stty -F /dev/YOUR_TERMINAL_DEVICE 115200
Always helpful:

Code:

man stty


All times are GMT -5. The time now is 01:48 PM.