I just installed Dietpi on Hyper-V. (Windows 11)
After days of trying to setup a proper backup solution for my Raspis, I finally
installed a NFS Server as Backup Server for my Dietpi Raspberrys.
After not beeing able to reach the NFS Server, I thought to ask for help here.
Connection via SSH was also not possible so I thought I start LXDE and connect via VNC.
I installed LXDE and configured it to run on startup.
This is where I stuck now. The system does not boot anymore.
So you have some RPi’s and you want to backup to the virtual machine via LAN?
I think you don’t need ssh or VNC, you could just use the terminal from the VM to manage the backup server.
But the main problem is, that you can’t connect to the VM from your network? Seems like some config issue of the VM. I personally only used Virtual Box, where you have to use a virtual network bridge, to get access from LAN to the VM.
No, my local network is 192.168.0.0/24.
Do I need to configure something to route between the network?
Thought this is done automatically through the VM bridge, but I read now, that seems to be the issue.
Problem now is, that the VM is completely unusable. It just stucks at this screen above after I installed LXDE and set it to auto start at boot.
SSH should work ootb. Can you try a new VM with correct network interface within HyperV settings? Usually the VM should get a IP address from your local network address range and you should be able to connect.
hmm ok still not working. Just messed up the IP and thought it works but was the other Dietpi system.
Now I even can’t login anymore. It does not accept the newly set password
Oh man, after days of fight with NFS, EXT4 on Windows, Samba and Linux permissions I finally have an easy solution.
Hope this works now as intended
I disabled/enabled Hyper-V.
Created new VM.
Added external adapter.
Assigned static IP and gateway.
The VM can finally also access the Host. As I read this is normally done trough the default (internal) swtich.
No idea why it did not work before.