i.e $HOME/.myminirc would become /home/dustfinger/.minirc._home_dustfinger_.myminirc. If you provide a path to the configuration, all instances of the path separator will be replaced by an underscore and the resulting string will be used as the.Custom configuration names will be saved as.If, on the other hand, you navigate to the configuration menu after having started minicom without the -s flag, then minicom will save the configuration files to your home directory. If you pass the optional flag -s which starts minicom directly in the configuration menu, then Minicom’s behaviour is to save the configuration to the compiled in directory only, regardless of whether or not you are running as root.Minicom has some quirks when it comes to saving and loading configuration files. The configuration directory for the access file and the configurations We can look up the required group membership using the ls command. This is achieved by adding the correct group membership to our user account. Our user account requires rw permissions to initiate a connection with the device.
#Minicom example serial
The rest of this blog post will simply use ttyUSB0 as the name of the serial port, but you must use the correctly named serial port assigned to your connected device if you are following along. The device name for a serial connection is properly referred to as a serial port. Also, the index number at the end of the name is determined by the devices minor number and may not be 0. There are more serial port names than I mention here. If your system architecture is ARM, you might see a name like this ttyAMA0 and if it is a Samsung, then the device might be named ttySAC0. In my case the TTY device name was ttyUSB0 however, if your cable is not a USB converter, then it might be named ttyS0 instead. usb 1-2: FTDI USB Serial Device converter now attached to ttyUSB0 ftdi_sio 1-2:1.0: FTDI USB Serial Device converter detected This will facilitate connectivity with a multitude of devices, including a simple VT220.Usb 1-2: Manufacturer: FTDI For overall interoperability, it is best to set the baud rate of your TNC to 9600, with 8-n-1 for parity. Minicom has a much smaller set of connection speeds.
![minicom example minicom example](https://isaraffee.files.wordpress.com/2010/10/minicom3.jpg)
When you are done, A then Z will bring up the help menu and you TNC cmd: prompt and you should now have control of the TNC. Press once or twice if you do not get the Settings and then select Exit to enter minicom. The serial device and the Bps/par/bits (8/N/1 and whatever the speed Select "Serial port set up" from the list with the cursor keys and set Note that minicom requires root privileges. To start minicom then (assuming you have not configured it, but you In this case, the converter is attached to ttyUSB0, you when youĬonfigure minicom, you want to use /dev/ttyUSB0 as the serial port usb 2-2: pl2303 converter now attached to ttyUSB0 You should get something like this dmesg | grep tty So, plug it in, give it a minute and then type at a console port: It is a serial terminal program that runs from the command line, but can sometimes be a little fussy to get working, and I will admit that I have not used minicom with a USB/Serial converter.įirst, you have to know what tty port your USB/Serial converter is
#Minicom example install
The good news: it is in all the repositories, so you can pull it down and install it quickly. Minicom is an old school program that is available for most of the distributions but may not be installed by default.
![minicom example minicom example](https://i.ytimg.com/vi/vUp9TergyhQ/maxresdefault.jpg)
So, in the interest of helping save you some time, here is a quick write up on using minicom with a USB/Serial adapter to talk to your TNC, specifically, a KPC. It was at this point that I realized I had forgotten more about Linux (and minicom) than I had about the commands needed to control the TNC.
![minicom example minicom example](https://www.poftut.com/wp-content/uploads/2017/11/img_5a1d3cbfefeb1.png)
![minicom example minicom example](https://pcmicro.com/netmodem/minicom-small.gif)
Over the weekend, I was showing Linux and Packet radio and for some reason I could not talk to my TNC, a KPC 3+.