openhwgroup / riscv_vm

Instructions to import Ubuntu guest Virtual Machine for RISC-V development for the VEGA board
Apache License 2.0
14 stars 2 forks source link

Cannot ssh to the VM from Windows host #11

Open MMI opened 5 years ago

MMI commented 5 years ago

The VM appears to create the host only interface with an IP of 192.168.56.101. However, ssh simply hangs and there's no evidence that VirtualBox set up an interface/route/whatever on the Windows side on that network.

Windows ipconfig tells me:

`Ethernet adapter VirtualBox Host-Only Network:

Connection-specific DNS Suffix . : Autoconfiguration IPv4 Address. . : 169.254.156.233 Subnet Mask . . . . . . . . . . . : 255.255.0.0 Default Gateway . . . . . . . . . :`

Solution:

The problem here is that I had VirtualBox misconfigured... to fix, in the virtualbox manager GUI:

File->Host Network Manager...

Then change the properties for the VirtualBox Host-Only Ethernet Adapter to "Configure Adapter Automatically"

All good for me after that

alfredoh1234 commented 4 years ago

Planning to address in February 2020 update