Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides
https://forum.ivorde.com/

FreeBSD virsh console hangs in "Escape character is ^]" \w KVM hypervisor any text console provider
https://forum.ivorde.com/freebsd-virsh-console-hangs-in-escape-character-is-w-kvm-hypervisor-any-text-console-provider-t16231.html
Page 1 of 1

Author:  mandrei99 [ Fri Jan 31, 2014 5:35 am ]
Post subject:  FreeBSD virsh console hangs in "Escape character is ^]" \w KVM hypervisor any text console provider

Installing FreeBSD under KVM requires a little tick to access the serial console (text) from KVM virsh because FreeBSD redirects output to video if using graphic installation (vidconsole).
Code:
# virsh console VM2
Connected to domain VM2
Escape character is ^]

After the box is installed and running configure the "comconsole" under /boot/loader.conf and configure the serial con
Code:
# cat /boot/loader.conf
console="comconsole"
# grep ttyu0 /etc/ttys
ttyu0   "/usr/libexec/getty std.9600"   vt100   on  secure



Now reboot the box and enjoy the console:
Code:
...
Fri Jan 31 10:35:45 CET 2014

FreeBSD/amd64 (VM2) (ttyu0)

login:

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/