userdoc:usbtty_serial_login

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
userdoc:usbtty_serial_login [2017/04/28 18:13]
abelbeck
userdoc:usbtty_serial_login [2017/04/29 08:09] (current)
abelbeck
Line 1: Line 1:
 ====== USB TTY Serial Login ====== ====== USB TTY Serial Login ======
  
-Many **Generic x86 Boards and Appliances** provide a DB9-RS232 serial port for console access, and since modern PC's / Notebooks / Chromebooks do not have a serial port, a USB to serial cable adapter must be used.  You probably already knew that.+Many **Generic x86 Boards and Appliances** provide a DB9-RS232 serial port for console access, and since modern PC's / Notebooks / Chromebooks do not have a serial port, a USB-to-Serial cable adapter must be used.  You probably already knew that.
  
-What is new is the ability to connect a second USB to serial cable adapter, back-to-back, to a USB port on your AstLinux box and automatically spawn getty to establish a login.  This is particularly useful for **Generic x86 Boards and Appliances** that only have a VGA video console, or to establish one or more serial logins in addition to a serial console.  The USB TTY serial baudrate and terminal type can be specified independently from the system console configuration.+What is new is the ability to connect a second USB-to-Serial cable adapter (USB-to-Serial <-> Serial-to-USB) to a USB port on your AstLinux box and automatically spawn getty to establish a login.  This is particularly useful for **Generic x86 Boards and Appliances** that only have a VGA video console, or to establish one or more serial logins in addition to a serial console.  The USB TTY serial baudrate and terminal type can be specified independently from the system console configuration.
  
 !!Note: AstLinux 1.2.10 or later is required!! !!Note: AstLinux 1.2.10 or later is required!!
Line 25: Line 25:
 **Equipment:** **Equipment:**
  
-It is recommended to use a USB-to-Serial adapter containing a FTDI chipset, this is supported in AstLinux and is built-in to most modern OS's including Chromebooks.  The older PL2303 Prolific Chipset will also work if you already have one.+It is recommended to use a USB-to-Serial adapter containing a FTDI chipset, which is supported in AstLinux and is built-in to most modern OS's including Chromebooks.  The older PL2303 Prolific Chipset adapter will also work if you already have one.
  
-To be clear, the back-to-back USB-to-Serial adapters do not have to be same chipset or brand, as long as internal driver support exists at the USB end.+The two USB-to-Serial adapters are connected together with a DB9 [[wp>Null_modem|Null Modem]] cable or mini adapter.  A crossover connection, **not** straight through. 
 + 
 +To be clear, the back-to-back USB-to-Serial adapters do not have to use the same chipset or brand, as long as internal driver support exists for each USB end, respectively. 
 + 
 +**Operation:** 
 + 
 +Join the two USB-to-Serial adapters together using a DB9 Null Modem cable or adapter. 
 + 
 +Plug one USB connector into your PC / Notebook / Chromebook, start a terminal emulator (screen, minicom, etc.) at 115200 baud (unless changed). 
 + 
 +!!Tip ->!! ''screen /dev/ttyUSB0 115200'' 
 + 
 +!!Tip ->!! ''minicom -D /dev/ttyUSB0 -b 115200'' 
 + 
 +Plug the other USB connector into your AstLinux box. 
 +You should immediately see a login prompt on your terminal emulator screen.
  
 **Photos:** **Photos:**
  • userdoc/usbtty_serial_login.1493421226.txt.gz
  • Last modified: 2017/04/28 18:13
  • by abelbeck