Serial Console speed/tty

Note -> For AstLinux 1.3.0 and later, all serial consoles are 115200 baud 8N1.

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

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: setconsole-speed-tty [ show|reset|help ] 9600|19200|38400|57600|115200 [ ttySn ]


To issue this command you must either SSH into the AstLinux box, or use the CLI tab in the web interface with the “CLI Proxy Server” enabled in the Network tab. Some example command arguments are:

Set console speed to 19200 baud, using default ttyS0

setconsole-speed-tty 19200

Set console speed to 115200 baud, using /dev/ttyS1

setconsole-speed-tty 115200 ttyS1

Display current settings

setconsole-speed-tty show

Reset /etc/inittab to default factory state with matching kernel console= values

setconsole-speed-tty reset