Free Serial Analyzer is a non-intrusive Serial Port sniffer and software RS-232/RS-422/RS-485 protocol analyzer for Windows. Using this freeware RS232/RS485/RS422 logic analyzer utility you'll be able to capture/display any data and commands transmitted via Serial Ports of your computer. How-To set up a serial console client 1 minute read In the 2 previous articles, I explained how to set up a serial console on Ubuntu and Debian. This tutorial will now show how to connect to those serial console using another machine using a software called minicom.
Nameslsnif - Serial line snifferSynopsisslsnif [-b] [-l logfile] [-i file] [-o file] [-s speed] [-t] [-x] [-p port2] [--colorcolor] [--timecolor color] [--bytescolor color] [-n] [-u] port1Descriptionslsnif is a serial line sniffer software. It listens to the specified serial port andwrites all data coming through it into either stdout (default) or a log file (if specified -- see option -l).
slsnif operates either by creating a pseudo tty (pty) and linking it to the serial port, or by linking two serial ports together. In order to set upa debug session one has either to start slsnif on a given port first, note the pty it had opened (also available from file /tmp/slsnif_pty whileslsnif is running), then configure the controlling software for the device being debugged to use this pty instead of the actual port, or, in case of twoports being used, simply start slsnif on two ports (see option -p) and watch the show :)
Note 1 : Slsnif will try to match port settings on pty and port (or on 1st and 2nd ports) as soon as it detects first chunk of data comingfrom the 'host side' (which is either pty or 2nd port). If it fails (in case of a braindead controlling software that doesn't set the baudrate correctly), onehas an ability to set baudrate by hand via option -s. Controlling software and slsnif should be set up to use the same baudrate, which in turnshould match the baudrate used by the device connected to the port.
Note 2 : If controlling software is running under vmware (www.vmware.com) and pty is used, port in question should be disconnected from vmwarebefore invoking slsnif, and connected to the opened pty after slsnif has been started.
Parametersslsnif accepts the following parameters:
Rc File
The following options can be specified via rc-file '.slsnifrc', which should be located in the user's home directory:
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |