Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
OPNsense under bhyve
« previous
next »
Print
Pages: [
1
]
Author
Topic: OPNsense under bhyve (Read 3432 times)
Maurizio
Newbie
Posts: 1
Karma: 0
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
Logged
weust
Hero Member
Posts: 650
Karma: 57
Re: OPNsense under bhyve
«
Reply #1 on:
November 12, 2018, 11:17:56 pm »
I had the same thing tonight, except I don't use iohyve or nmdm for serial console.
I do notice you only have one NIC? Perhaps becasuse you use VLANs?
Mine was just to test installation so I only added one tap device to do an installation, which I couldn't...
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.
lattera
Full Member
Posts: 207
Karma: 82
Re: OPNsense under bhyve
«
Reply #2 on:
November 13, 2018, 03:59:43 pm »
Did you put OPNsense in serial mode?
Logged
weust
Hero Member
Posts: 650
Karma: 57
Re: OPNsense under bhyve
«
Reply #3 on:
November 13, 2018, 07:47:21 pm »
Quote from: lattera on November 13, 2018, 03:59:43 pm
Did you put OPNsense in serial mode?
I did not. Also no VNC, just plain output in my Putty SSH session.
Apart from that, exactly what the OP encounters.
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
OPNsense under bhyve