April 18, 2019

The Serial Console: A Front Door Worth Leaving Open - page 3

Foregoing Direct Neural Implants

  • August 19, 2004
  • By Carla Schroder

Now go to the "terminal" machine, your trusty laptop or whatever, and set up Minicom. You'll see this beautiful ASCII menu:

# minicom -s

| Filenames and paths      
| File transfer protocols 
| Serial port setup        
| Modem and dialing       
| Screen and keyboard   
| Save setup as dfl 
| Save setup as..         
| Exit          
| Exit from Minicom 

Select "serial port setup". Modern modems are pretty good at auto-negotiating connection speeds. Start out conservatively, then you can bump it up if you like and see what happens. Select the letter of the option you want to change, then hit return to get back to "Change which setting?":

| A -    Serial Device      : /dev/ttyS0 
| B - Lockfile Location     : /var/lock 
| C -   Callin Program      :      
| D -  Callout Program      : 
| E -    Bps/Par/Bits       : 9600 8N1
| F - Hardware Flow Control : No
| G - Software Flow Control : No 
|    Change which setting? 

Next, select the "Modem and dialing" option, and make sure the "Init string" and "Reset string" settings are blank. Finally, select "Save setup as dfl" to make this the default, and then "Exit" from Minicom.

Now take your nice new null-modem cable and connect the two machines. Then fire up Minicom on the "terminal":

# minicom

Welcome to minicom 2.1

OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n
Compiled on Nov 12 2003, 19:21:57

Press CTRL-A Z for help on special keys

headless login:

Login, and there you are. What can you do? Anything that you can do from any Linux command shell.

To exit, hit Ctrl+A, Z, X.

Most Popular LinuxPlanet Stories