LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 11-02-2007, 03:02 PM   #1
fnixon
LQ Newbie
 
Registered: Nov 2007
Posts: 1

Rep: Reputation: 0
Question RHEL WS Ver. 3, Set ttyS# baud rate.


I have been searching around for the answer to this for quite a few hours and never really seem to get the results I need.

I have been able to send data across the ttyS0 & ttyS1 from the Linux station to my laptop (XP Pro) in Hyper-Term by ls -l > /dev/ttyS0 (or S1) and it works fine at 9600-8-N-1. Then as root I try: setserial /dev/ttyS0 uart 16550A port 0x03f8 irq 4 baud_rate 19200, but when I set Hyper-Term to 19200-8-N-1, I get nothing performing ls -l > /dev/ttyS0. I reboot and then perform setserial -G /dev/ttyS0 to verify my baud rate and I see that the baud_base value has gone back to 115200. I have also tried stty 19200 > /dev/ttyS0 and get the same results.

I am sure it must be a simple flag or option I am missing. Any help you can offer will be greatly appreciated.
 
Old 11-04-2007, 12:46 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I don't see baud_rate as an option.. however baud_base is listed.. http://linux.die.net/man/8/setserial

setserial /dev/ttyS0 baud_base 19200
 
  


Reply



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
[help]how to set baud rate up to 230400 in linux? uni_apollo Programming 1 10-25-2007 07:58 AM
SF Thinstation redirected com port baud rate JoDee Linux - Software 0 09-11-2006 12:25 PM
Change the network baud rate zaheer031 Linux - Software 1 05-15-2006 11:37 PM
How do I change ttyS port baud rate? joe_dejesus Linux - General 1 09-27-2001 09:50 PM
rs232 at non-standard baud rate possible? scgadgets Programming 1 09-14-2001 08:27 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 11:17 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration