1
General Discussion / OPNsense under bhyve
« on: November 03, 2018, 04:06:25 pm »
Hi, my first post
I have successfully installed OPNsense under bhyve on a FreeBSD server. I use iohyve for the VMs management and I can start the OPNsense VM with the command :
# iohyve start opnsense
that will be expanded to the two commands :
bhyveload -m 1G -d /dev/zvol/pool2tb/iohyve/opnsense/disk0 -c /dev/nmdm5A ioh-opnsense
bhyve -c 1 -A -H -P -m 1G -s 0,hostbridge -s 1,lpc -s 2,ahci-hd,/dev/zvol/pool2tb/iohyve/opnsense/disk0 -s 3,virtio-net,tap6 -lcom1,/dev/nmdm5A ioh-opnsense
The VM works and works well, but the problem is the console. If I start a console with the command :
# iohyve console opnsense
it will be expanded to :
cu -l /dev/nmdm5B -s 9600
but the console doesn’t work or more precisely: it works before the console menu is displayed. The last displayed lines are :
Root file system: /dev/gpt/rootfs
*** OPNsense.localdomain: OPNsense 18.7.6 (amd64/OpenSSL) ***
WAN (vtnet0) -> v4: 192.168.0.3/24
HTTPS: SHA256 45 9C E8 59 9C CD 05 8E 4E E3 2C 0A B2 43 26 49
FC 7B CF 1A 54 C0 3B 55 9D F0 00 C3 02 C7 1D A8
SSH: SHA256 teCsGRWXzd9rcDOIqO6bQS4HssTzTGgLn08ymQML66Q (ECDSA)
SSH: SHA256 nbPbtmjdb6yg0dpx0pp78Nd+JUAx/VYPdzcX8wQeBRg (ED25519)
SSH: SHA256 bkQoZUXoXA1E3/CbG6Kn3wMNNPioJym82ut+LJ+NTaI (RSA)
After this output the keyboard keys aren’t displayed. If I restart the VM I can even make a selection in the boot menu, but after booting the console is unusable.
Any idea ?
--
Thanks
Maurizio
I have successfully installed OPNsense under bhyve on a FreeBSD server. I use iohyve for the VMs management and I can start the OPNsense VM with the command :
# iohyve start opnsense
that will be expanded to the two commands :
bhyveload -m 1G -d /dev/zvol/pool2tb/iohyve/opnsense/disk0 -c /dev/nmdm5A ioh-opnsense
bhyve -c 1 -A -H -P -m 1G -s 0,hostbridge -s 1,lpc -s 2,ahci-hd,/dev/zvol/pool2tb/iohyve/opnsense/disk0 -s 3,virtio-net,tap6 -lcom1,/dev/nmdm5A ioh-opnsense
The VM works and works well, but the problem is the console. If I start a console with the command :
# iohyve console opnsense
it will be expanded to :
cu -l /dev/nmdm5B -s 9600
but the console doesn’t work or more precisely: it works before the console menu is displayed. The last displayed lines are :
Root file system: /dev/gpt/rootfs
*** OPNsense.localdomain: OPNsense 18.7.6 (amd64/OpenSSL) ***
WAN (vtnet0) -> v4: 192.168.0.3/24
HTTPS: SHA256 45 9C E8 59 9C CD 05 8E 4E E3 2C 0A B2 43 26 49
FC 7B CF 1A 54 C0 3B 55 9D F0 00 C3 02 C7 1D A8
SSH: SHA256 teCsGRWXzd9rcDOIqO6bQS4HssTzTGgLn08ymQML66Q (ECDSA)
SSH: SHA256 nbPbtmjdb6yg0dpx0pp78Nd+JUAx/VYPdzcX8wQeBRg (ED25519)
SSH: SHA256 bkQoZUXoXA1E3/CbG6Kn3wMNNPioJym82ut+LJ+NTaI (RSA)
After this output the keyboard keys aren’t displayed. If I restart the VM I can even make a selection in the boot menu, but after booting the console is unusable.
Any idea ?
--
Thanks
Maurizio