[Auto-Tuning PYNQ solved] Using Ubuntu on WSL to connect to PYNQ?

Hi everyone,
Have you used WSL to connect the PYNQ board? :face_with_monocle:
I get a PYNQ board and it works well.
Iโ€™m just going through the tutorial Auto-tuning a convolutional network on VTA, trying to connect the PYNQ board from Ubuntu in WSL (that is WIndows Subsystem for Linux).
Sadly, I failed to access PYNQ via Ubuntu on WSL, though I tried many ways. :joy:
Definitely, the Ubuntu on WSL is different from the real Ubuntu.
So, is it possible to connect PYNQ board from Ubuntu on WSL? :thinking:

After trying a lot methods, I find that WSL2 canโ€™t connect to PYNQ board due to the network mechanism of itself. :sleepy:
Then I happend to know that WSL1 shares IP address with Windows(maybe not accurate description, but something like this), so I downgrade the version of WSL from 2 to 1, using this command in Windows PowerShell,

 wsl --set-version Ubuntu-18.04 1

The process should take several minutes.
Finally, I succeed to connect to the PYNQ board from Ubuntu on WSL.


It works!
Hhhhhhhh :rofl: :joy: :relaxed: