On Sunday, 2 May 2021 at 11:49:06 UTC, Andrei Alexandrescu wrote:
On 5/1/21 4:51 PM, Petar Kirov [ZombineDev] wrote:
On Saturday, 1 May 2021 at 01:07:33 UTC, Andrei Alexandrescu wrote:
WSL2 running Ubuntu under Windows.
Something is definitely wrong with your computer.
Thanks to all who tested - the problem is indeed with WSL (or my installation thereof).
Happy to help ;)
For some reason, network connectivity from within WSL (at least on my machine) becomes really bad after a while and I need to shutdown and restart WSL in order to restore speed. At one point I couldn't push to git anymore.
Because of that, the download performed by the installation script was not finished. When I tried to manually run make, the system was not provisioned properly.
I haven't experienced this myself (though I haven't used WSL regularly since about 1-2 years - I just rebooted to Windows to try out the setup.sh script), but looking for similar issues online it seems your computer is likely not an exception:
From what I gather, it may have something to do with Large Send Offload, with some people reporting that disabling this feature fixed the problem for them (but it seems that you have to disable it after every reboot).
You can try if that works for you like this:
- Go to Control Panel -> Network and Internet -> Network Connections
- Right click vEthernet (WSL) -> Properties
- Click 'Configure'
- Click 'Advanced' tab
- Disable both 'Large Send Offload Version 2'
If that fixes the issue, but you want to automate it, this PowerShell cmdlet should do the trick: https://docs.microsoft.com/en-us/powershell/module/netadapter/disable-netadapterlso?view=windowsserver2019-ps
There would be the argument that that code should belong in the makefile as opposed to the installation script (as it was before) but no matter.
As far as I can see, the
AUTO_BOOTSTRAP logic is still part of the
Sebastian did factor it out to a separate
bootstrap.sh script, but other than that I think it should work the same as it did before.