Once you have created your first connection, open another terminal: tail -fn25 ~/minicom/IDENTIFIER.logīecause you have set minicom to capture output, by tailing the log/capture file you can scroll back as far as you need should you be running things with lengthy output, It can be useful for configuration files in routers/switches for example which can be thousands of lines long. Do what suits you but maybe use hyphens instead of spaces, I've not tested that but i would imagine they would cause issues such as only getting the name before the first space or worse, attempting to load multiple minicom.identifier files. a router or switch model, a device name or type. That's it now test the connection, double click your new shortcut.Ī note about the IDENTIFIER part, it can be anything. Make it executable chmod +x ~/Desktop/sktop nano ~/Desktop/sktopĬomment=Something relevant to your connection/device name maybeĮxec=minicom IDENTIFIER -C/home/USER/minicom/IDENTIFIER.log Pu logfname /home/USER/minicom/IDENTIFIER.logĬreate a desktop shortcut. You may create as many as you need along with the desktop shortcuts. Adapt the capitalised parts to fit your needs, baudrate may be set incorrectly if you get quirky characters or no output. If your cable uses an RS-232 chip such as some usb to mini usb console cables, your tty device will likely be on ttyACM* and not ttyUSB*Ĭreate the minicom configuration file using nano. Make a log file directory: You might choose to just log in /var/log but I want quick access to the log files. The configuration files will be saved to your home directory where minicom can find them. If this is something you could use, run these commands as a normal user from your terminal (not from minicom). All i need to do it make sure my devices are connected to my computer with the cables. The shortcuts give the correct configuration file as a parameter (identifier) as well as the capture file (-C). Using the shortcuts here means I don't need to manually reconfigure minicom every time I want to switch devices. I use this for switch and router connections, I have two different console cables, a USB to mini USB and also a db9 with USB A adapter to rj45.
Man minicom serial#
You might be interested in this if you frequently open up a serial connection to multiple devices. This is a little more than the scope of the question calls for but as it has already been answered, I thought somebody might like to do things a little user friendly.