Serial admin console program (minicom)

Michael ODonnell michael.odonnell at comcast.net
Tue Sep 23 17:32:34 EDT 2008



minicom works great and is not by nature modem-specific,
though the default config does have lots of modem init strings
all helpfully rigged to spew a bunch of stuff down the wire
to confuse hell out of whatever it is you're talking to.

Hand editing of minicom config files is generally not
recommended but if you write the following file (there should
be no blank lines in the file and don't include the SNIP lines)
into /etc/minirc.dfl you will end up with minicom rigged by
default to communicate via /dev/ttyS0 at 115200 baud 8-N-1
with no HW handshake and no modem init strings:

##########SNIP#########
# Machine-generated file - use "minicom -s" to change parameters.
pr port             /dev/ttyS0
pu baudrate         115200
pu bits             8
pu parity           N
pu stopbits         1
pu minit
pu mreset
pu mdialpre
pu mdialsuf
pu mdialpre2
pu mdialsuf2
pu mdialpre3
pu mdialsuf3
pu mconnect
pu mnocon1
pu mnocon2
pu mnocon3
pu mnocon4
pu mhangup
pu mdialcan
pu rtscts           No
##########SNIP#########


Alternatively, you could write that to /etc/minirc.fubar and
then start minicom as:

   minicom fubar

...to get the same result with out changing the default config.



More information about the gnhlug-discuss mailing list