Closed Kinmarui closed 4 years ago
Thanks for the detailed post. Similar symptom #5336 #5286 #4731.
The ioctl(SIOCGIFADDR): Address not available
at startup is novel though. And unusual, because presumably that is coming from WSL-brand /init
, and /init
is usually silent about its errors. Or maybe that text is coming from wsl.exe
. Grab a screencap of that if you can.
Please follow collect network logs over in contributing.
Uninstalling third-party things (TAP-NordVPN and whatever else) is sometimes a good place to start.
thanks for your reply. I tried to follow instructions but it appears that I might have at some point (long ago) uninstalled FeedbackApp when everything was working smoothly. Tried to install it again but I don't see it on the list.
Is there manual way of uploading diagnostic data?
FWIW screenshot from terminal
tied to follow manual configuration from https://github.com/microsoft/WSL/issues/5286 but with no success (I may be calculating addresses in wrong way)
#win
Ethernet adapter vEthernet (WSL):
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 172.30.240.1
Subnet Mask . . . . . . . . . . . : 255.255.240.0
Default Gateway . . . . . . . . . :
#linux
sudo ip address add 172.30.240.10/20 broadcast 172.30.255.255 dev eth0
...
5: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 00:15:5d:11:b0:13 brd ff:ff:ff:ff:ff:ff
inet 172.30.240.10/20 brd 172.30.255.255 scope global eth0
valid_lft forever preferred_lft forever
root@KinL:~# sudo ip route add default via 172.30.240.1
Error: Nexthop has invalid gateway.
going to bed. It's 4:44 here.
Feedback hub is here. Those linked instructions appear to be pretty ancient.
Thanks, probably to tired yesterday. Installed app and send feedback.
@therealkenc Do you have any idea if this is currently worked on or is it high priority in backlog? Is there chance it will be fixed soon (I mean day-three days) or should I try to go back to previous version of windows? (little bit afraid it will break more things)
FWIW problem was fixed after recreating swap file following info in https://github.com/microsoft/WSL/issues/5437 which recommended disabling it
IMO it would help if there would be some kind of error msg if there is problem with swap file.
/dupe #5437
Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.
Thanks for your report!
Environment
Steps to reproduce
It was either after upgrading to 10.0.19041.0 or upgrading wsl-kernel.
Expected behavior
Should continue to have access to network interface
Actual behavior
both consoles (Arch and Ubuntu) starts with
ioctl(SIOCGIFADDR): Address not available
I don't have ifconfig on Ubuntu but Arch returns
not sure if this is same problem or related but when I wanted to reinstall wsl-kernel I got and then installer exited with error.
What I did already
Network for wsl 1 distro (Ubuntu-16) works correctly
Any help will be greatly appreciated as I'm out of options and looking at formatting system drive.