DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 10th January 2015
darktrym's Avatar
darktrym darktrym is offline
standard-bearer
 
Join Date: Feb 2011
Location: Düsseldorf
Posts: 106
Default capture serial communication with socat

Hello,
i tried to record the complete communication between my laptop and a serial device. NetBSD identies this as uslsa. I can connect via pyserial on ttyU0. Now i want to save the complete communication in both directions. So i use socat to create a pseudo device which connects to the real hardware over the tunnel. I use the following[1] command but nothing happens. Neither on the screen nor in log file.

[1]
Quote:
socat -d -lf /tmp/log.txt -v -x PTY,link=/tmp/serial,wait-slave,raw /dev/ttyU0,raw
Any ideas what igoes wrong?
Reply With Quote
 


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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pf interfering with local lan peer communication tomp OpenBSD Security 3 2nd September 2011 09:12 PM
Multiple serial consoles via null modem cable or serial console server J65nko General Hardware 0 16th January 2010 12:01 AM
Communication with su failed amandus OpenBSD Packages and Ports 7 17th July 2008 07:17 AM
Invalid capture filter: "not ip host "! ccc FreeBSD General 2 19th June 2008 08:12 PM
Mounting a second serial hd keyboard112 Other BSD and UNIX/UNIX-like 4 12th May 2008 08:06 AM


All times are GMT. The time now is 09:28 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick