LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-22-2004, 08:36 PM   #1
alice95089
Member
 
Registered: Dec 2004
Location: hong kong
Posts: 44

Rep: Reputation: 15
Where can i find the serial configure file?


Hi all,
There is such a thing like " stty -F /"your serialdevice" -a" to view your serial setting
for example:

[root@localhost root]# stty -F /dev/ttyS0 -a
speed 9600 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
[root@localhost root]#


I would like to ask, how can i find the "configuer" of the serial port so that i don't need to modify the setting everytimes i reboot my computer?
e.g stty -F /dev/ttyS0 57600 ( how to save that setting)
 
Old 12-22-2004, 08:38 PM   #2
curious_srk
LQ Newbie
 
Registered: Nov 2004
Location: Bangalore
Distribution: RH9.0
Posts: 14

Rep: Reputation: 0
I think it wud be easy to configure for u if u use minicom...
give minicom -s in command line
 
Old 12-22-2004, 08:55 PM   #3
alice95089
Member
 
Registered: Dec 2004
Location: hong kong
Posts: 44

Original Poster
Rep: Reputation: 15
Hi curious_srk,
I know using minicom is sometimes much convenient that the /dev/ttyS0
But i don't know how to send test file over minicom on 2 linux machine to check where there are loss over the serial cable. would you give me some hints on how to transfer file over minicom? as what i need to do in /dev/ttyS0 is using "cat" command.

Thanks
 
  


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
How Do I configure a serial port printer? Maldain Mandriva 3 01-31-2005 03:35 PM
serial port configure sms043 Debian 1 06-12-2004 02:26 PM
Delilinux: Can't configure serial mouse Nukem Linux - General 4 03-15-2004 12:23 PM
configure can't find a file gkemper Linux - Software 4 03-07-2004 08:31 PM
Using serial port to configure Cisco router rfc634 Linux - Networking 5 08-03-2003 10:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:05 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