# The resolution used on graphical terminal GRUB_SERIAL_COMMAND="serial -speed=115200 -unit=0 -word=8 -parity=no -stop=1" # Uncomment to disable graphical terminal (grub-pc only) GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8" GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` # If you change this file, run 'update-grub' afterwards to update This section is optional if the user does not want grub interaction via the serial console port. This section details how to get grub talking via the serial port. T0:123:respawn:/sbin/getty -L ttyS0 115200 vt100Īt this point, a new login prompt should appear on the output of the serial console. # This service maintains a getty on ttyS0 from the point the system isĬreate a file called /etc/event.d/ttyS0 containing the following:Ĭonfiguring inittab (only Dapper and older !) You need to configure either an Upstart system or the older inittab, depending on Ubuntu version you are using.ġ) Create a file called /etc/init/nf containing the following: This section details how to configure the 'getty' process to enable a login via the console port. If you want to use a standard Ethernet/RJ-45 cable for serial connection you can buy a couple of Serial to Cat 5 adapters or make one yourself. If your not getting any output, a real serial port or other device might be using ttyS0. You have an available serial console on ttyS0.It is also possible to use a USB to Serial adaptor, but the tty* must be changed to reflect your hardware. You are using a serial (null modem) cable.You are comfortable editing critical system files such as /etc/inittab, /boot/grub/menu.lst. The serial connection is being made at 115200 baud 8n1, on first serial port, called /dev/ttyS0 in linux (9600 8n1 is the default fall back if your hardware does not support 115200 baud).You have enabled the serial console in your BIOS. The reader is referred to this document for any issues arising from using this HOWTO. This procedure was developed using the Remote Serial Console HOWTO (see "External links" below), and adapted to apply specifically to Ubuntu. (Minor changes have been added to improve performance.) Both server and client settings are included. This document presents (almost) the minimum amount of work required to enable a serial console login on an Ubuntu 6.06 and later versions. This article should be cleaned-up to follow the content standards in the Wiki Guide.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |