Solved No IP and strange characters when vm console to bhyve linux guest

After some time trying, I managed to install a Devuan bhyve guest.

Now, I'd like to have access to it through a vm console devuanvm command or via VNC.

As can be seen in the screenshot, strange characters begin to appear that the bottom, below that command and then started to show up at the top.
Have not been able to use the bhyve's VNC. The guest doesn't seem to create an IP address.

With no console, no IP for ssh, no VNC, I'm stuck.

Code:
# vm list
NAME      DATASTORE  LOADER  CPU  MEMORY  VNC  AUTOSTART  STATE
devuanvm  default    grub    2    1024M   -    No         Running (16526)


Code:
# vm info devuanvm
------------------------
Virtual Machine: devuanvm
------------------------
  state: running (16526)
  datastore: default
  loader: grub
  uuid: 6155e222-ffa3-11eb-9d11-d45d64050ded
  uefi: default
  cpu: 2
  memory: 1024M
  memory-resident: 276340736 (263.539M)

  console-ports
    com1: /dev/nmdm-devuanvm.1B

  network-interface
    number: 0
    emulation: virtio-net
    virtual-switch: public
    fixed-mac-address: 58:9c:fc:0c:34:2a
    fixed-device: -
    active-device: tap1
    desc: vmnet-devuanvm-0-public
    mtu: 1500
    bridge: vm-public
    bytes-in: 27877 (27.223K)
    bytes-out: 15067 (14.713K)

  virtual-disk
    number: 0
    device-type: zvol
    emulation: virtio-blk
    options: -
    system-path: /dev/zvol/zroot/bhyve/devuanvm/disk0
    bytes-size: 21474836480 (20.000G)
    bytes-used: 4868542464 (4.534G)

The template I've build for the Devuan guest is:
Code:
# vm info devuanvm
------------------------
Virtual Machine: devuanvm
------------------------
  state: running (16526)
  datastore: default
  loader: grub
  uuid: 6155e222-ffa3-11eb-9d11-d45d64050ded
  uefi: default
  cpu: 2
  memory: 1024M
  memory-resident: 276340736 (263.539M)

  console-ports
    com1: /dev/nmdm-devuanvm.1B

  network-interface
    number: 0
    emulation: virtio-net
    virtual-switch: public
    fixed-mac-address: 58:9c:fc:0c:34:2a
    fixed-device: -
    active-device: tap1
    desc: vmnet-devuanvm-0-public
    mtu: 1500
    bridge: vm-public
    bytes-in: 27877 (27.223K)
    bytes-out: 15067 (14.713K)

  virtual-disk
    number: 0
    device-type: zvol
    emulation: virtio-blk
    options: -
    system-path: /dev/zvol/zroot/bhyve/devuanvm/disk0
    bytes-size: 21474836480 (20.000G)
    bytes-used: 4868542464 (4.534G)

Something must be wrong or missing, but can't find what.

Screenshot_20210818_001621.png
 
A new day, a reboot, and the console is able to show characters correctly.
As I chose the runit init system for Devuan and something was preventing it from finishing the initialization.
 
Back
Top