LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-02-2001, 11:51 AM   #1
svaujin
LQ Newbie
 
Registered: Apr 2001
Location: Ann Arbor, MI
Distribution: rh7.1
Posts: 5

Rep: Reputation: 0
Question


I have a RH7 linux box next to a phone switch. The switch outputs serial data (9600 8n1) every time a call is made or recieved. If I run Minicom, I see the data. What I need to do is have the linux box capture that data to a file. Something on the order of cat /dev/ttyS0 | /home/svauj/foo
(which doesn't work). This should be something that I can put in initab to auto-start. I thought it would be easy, but I'm drawing a blank. Any suggestions or thoughts on this would be appreciated.

Steve
 
Old 04-02-2001, 03:28 PM   #2
killjoy
Member
 
Registered: Mar 2001
Location: Atlanta,GA
Distribution: Red Hat, Mandrake
Posts: 66

Rep: Reputation: 15
something on the order of
'cat /dev/ttyS0 > /home/svauj/foo'maybe?
maybe your syntax was bad in your post, but it would need a redirector, not a pipe right?
 
Old 04-03-2001, 09:53 AM   #3
svaujin
LQ Newbie
 
Registered: Apr 2001
Location: Ann Arbor, MI
Distribution: rh7.1
Posts: 5

Original Poster
Rep: Reputation: 0
Yes, you're right. That was dumb. Thanks,

Steve
 
  


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
iwlist vs tethereal in capturing 802.11 wifi ESSID and data rates powah Linux - Wireless Networking 0 11-07-2005 10:21 AM
Little app for Capturing sound card stream to file. teckk Linux - Software 0 05-15-2005 11:54 AM
Capturing FTP data on wireless ravigupta Linux - Wireless Networking 0 04-17-2005 07:24 AM
Capturing raw mouse data pld Linux - Software 4 04-11-2004 08:13 PM
capturing STDOUT to file. tn1681 Programming 5 11-01-2002 11:51 AM


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

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