userdoc:tt_serial_console_speed_tty

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
Last revision Both sides next revision
userdoc:tt_serial_console_speed_tty [2012/06/04 12:27]
abelbeck
userdoc:tt_serial_console_speed_tty [2017/06/11 08:40]
abelbeck
Line 1: Line 1:
 ====== Serial Console speed/tty ====== ====== Serial Console speed/tty ======
  
-The AstLinux board type of "geni586-serial" assumes a serial console of 19200 baud on /dev/ttyS0 .  Described here is a method to change the serial console speed/tty, not only currently but also automatically after upgrades.+!!Note ->!! For AstLinux 1.3.0 and later, all serial consoles are ''115200 baud 8N1''.
  
-This applies to the board type of "geni586-serialand all other serial console board types, "net5501", "alix", etc. .+!!Note ->!! For AstLinux 1.2.10 and earlier, all serial consoles are ''19200 baud 8N1'', unless otherwise noted. 
 + 
 +Described here is a method to change the serial console speed/tty, not only currently but also automatically after upgrades. 
 + 
 +This applies to the board types of ''geni586-serial'' and ''genx86_64-serial''.
  
 !!Note: AstLinux 1.0.4 or later is required!! !!Note: AstLinux 1.0.4 or later is required!!
  
-After setting-up AstLinux and creating the persistent storage, the ''setconsole-speed-tty'' command is used to make changes to the serial console speed/tty settings.+After setting-up AstLinux and creating the persistent storage, the ''setconsole-speed-tty'' command is used to make persistent changes to the serial console speed/tty settings.
  
 Usage: Usage:
Line 14: Line 18:
  
 \\ \\
-Set console speed to 38400 baudusing default ttyS0+To issue this command you must either SSH into the AstLinux boxor use the CLI tab in the web interface with the "CLI Proxy Server" enabled in the Network tab.  Some example command arguments are:
  
-  setconsole-speed-tty 38400+Set console speed to 19200 baud, using default ttyS0 
 + 
 +  setconsole-speed-tty 19200
  
 Set console speed to 115200 baud, using /dev/ttyS1 Set console speed to 115200 baud, using /dev/ttyS1
Line 28: Line 34:
 Reset /etc/inittab to default factory state with matching kernel console= values Reset /etc/inittab to default factory state with matching kernel console= values
   setconsole-speed-tty reset   setconsole-speed-tty reset
 +
 +\\
 +While this ''setconsole-speed-tty'' command is mostly intended for the board type of "geni586-serial" so as to support additional hardware without requiring new board types, this command may also be useful for other board types.  For example, suppose you have both Soekris net5501 (19200 baud default) and PC Engines alix (38400 baud default) hardware and want a common terminal to act as a console.  The net5501 can have it's default console speed easily changed via it's BIOS to 38400 baud, and then issue ''setconsole-speed-tty 38400'' on the net5501.  Now both the net5501 and alix boxes will use serial consoles at 38400 baud.
  
  
  
  • userdoc/tt_serial_console_speed_tty.txt
  • Last modified: 2017/06/11 08:41
  • by abelbeck