Jump toUpdate content
How to use the serial console
Some Dedibox server models do not have KVM over IP, but do allow the visualization of a video output on a serial console. This allows you to interact with the server even if you have locked yourself out, for example by a malicious network configuration.
From the console, click Server > Server list on the top menu. A list of your servers displays.
Click Manage next to the relevant server.
Click Serial Console. The connection information displays.
Click Access to access the serial console of your server.
On certain installations, the serial console may not be activated by default. These steps show you how to activate it from the command line of your server.
To activate it on each reboot:
systemctl enable getty@ttyS1.service
To activate it on an already booted server:
systemctl start getty@ttyS1.service
Create the folder
# ttyS1 - getty
# This service maintains a getty on ttyS1 from the point the system is
# started until it is shut down again.
start on stopped rc RUNLEVEL=
stop on runlevel [!12345]
exec /sbin/getty -L 9600 ttyS1 vt102
After a reboot of the server, the serial console will be activated.
Edit the file
Uncomment the following line:
T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100
To put the changes into effect type:
In certain cases, GRUB may not be configured to show the serial console.
/etc/default/grub, to add/change the following lines:
GRUB_SERIAL_COMMAND="serial --unit=1 --speed=9600 --word=8 --parity=no --stop=1"
Save the changes
Update your GRUB:
update-grub or update-grub2.
Directly from the vSphere client:
Enter the Configuration tab (1). In the Software section click on Advanced Settings (2)
A new window will open.
Go to VMKernel and open it by clicking on the small + icon on the left.
Click on Boot (1).
On the right side of the window, look for the VMKernel.Boot.com2_baud option
Enter 9600 (2) as value
Look for the VMKernel.Boot.tty2Port value
Enter com2 as value
Reboot the ESXi host. You can now use the serial console of your server.
This will activate the console during the boot process of your server.
/etc/ttysfile to add the following information at the ttyu1 line
ttyu1 "/usr/libexec/getty std.9600" vt100 on secure
Reboot your server to access the serial console.