I have installed the Kali Linux in Window 11 successfully, when i checked the network interface was up and running state but internet is not working and No internet connectivity from WSL2 Kali Linux
No internet connectivity from WSL2 Kali linux |
I have installed the WSL in my Laptop and it is internet source is LAN via DHCP
Checked the Interface:
ip a
I checked the resolv.conf
Looks like network issue
Solution:
I have perform below command to resolve this internet issue in my Kali linux ( WSL )
To shutdown WSL
wsl –shutdown
To reset WinSock, Interface IP, Proxy and flush DNS
netsh winsock reset
Press the Windows key and search for Network Reset, go to the setting and click Reset Now. Finally, restart Windows
I hope this topic gave you all the information you needed. If you have any further questions or would like more detailed directions feel free to contact us using any of the following sources.We look forward to talking to you.