Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always lost IP address with LAN or WiFi #11655

Open
1 of 2 tasks
YiHui-Liu opened this issue Jun 5, 2024 · 7 comments
Open
1 of 2 tasks

Always lost IP address with LAN or WiFi #11655

YiHui-Liu opened this issue Jun 5, 2024 · 7 comments
Labels

Comments

@YiHui-Liu
Copy link

YiHui-Liu commented Jun 5, 2024

Windows Version

Microsoft Windows [Version 10.0.22631.3593]

WSL Version

2.1.1.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.146.1

Distro Version

Ubuntu 22.04

Other Software

No response

Repro Steps

Connect to the network. When the amount of data used reaches a certain threshold, the IP is lost.

Expected Behavior

normal

Actual Behavior

image

Diagnostic Logs

WslLogs-2024-05-31_12-07-19.zip

@YiHui-Liu YiHui-Liu changed the title Always loses IP address with LAN or WiFi Always lost IP address with LAN or WiFi Jun 5, 2024
@YiHui-Liu
Copy link
Author

[wsl2]
networkingMode=mirrored
dnsTunneling=true
firewall=true
autoProxy=true

Copy link

github-actions bot commented Jun 5, 2024

View similar issues

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Diagnostic information
.wslconfig found
Detected appx version: 2.1.1.0

Copy link

github-actions bot commented Jun 5, 2024

View similar issues

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Diagnostic information
.wslconfig found
Detected appx version: 2.1.1.0

@YiHui-Liu
Copy link
Author

Copy link

github-actions bot commented Jun 5, 2024

Diagnostic information
.wslconfig found
Detected appx version: 2.1.1.0
optional-components.txt not found

@CatalinFetoiu
Copy link
Collaborator

thanks for sending the logs

the logs show that before the repro the Linux eth0 interface has an IPv4 address assigned and multiple IPv6 addresses, but after the repro those are missing. The logs don't show WSL deleting those addresses

this points to either Linux itself deleting the addresses or some Linux agent/process deleting them
sorry, unfortunately the current traces don't give us visibility into what in Linux deleted the addresses

@YiHui-Liu , you mentioned "When the amount of data used reaches a certain threshold" - is there a particular network traffic test you are doing or does this happen after regular WSL usage?

thanks

@alex-klimov
Copy link

For my case the problem seemed to come from cloud-init tool, which was included in Ubuntu 20 distribution in my case.

This fixed the connectivity issue for me:

sudo touch /etc/cloud/cloud-init.disabled

and then restart WSL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants