{"id":16655197,"url":"https://github.com/franckferman/fix_wsl2_networking","last_synced_at":"2025-04-09T18:12:45.109Z","repository":{"id":155562454,"uuid":"469403906","full_name":"franckferman/fix_wsl2_networking","owner":"franckferman","description":"Solve connection problems related to WSL2. ","archived":false,"fork":false,"pushed_at":"2025-03-08T19:14:46.000Z","size":315,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"stable","last_synced_at":"2025-04-09T18:12:35.244Z","etag":null,"topics":["bash-prompt","bash-scripts","debian-linux","dns","networkingtool","networks","shell-scripting","shell-scripts","windows-10","windows-11","windows10","windows11","wsl-debian","wsl-fix","wsl-kali","wsl-network","wsl-ubuntu","wsl2","wsl2-fix","wsl2-network"],"latest_commit_sha":null,"homepage":"https://github.com/franckferman/fix_wsl2_networking/blob/main/README.md","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/franckferman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-13T14:58:34.000Z","updated_at":"2025-04-02T14:22:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"bedf955c-2b61-43a7-a5a8-ac15846a228b","html_url":"https://github.com/franckferman/fix_wsl2_networking","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franckferman%2Ffix_wsl2_networking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franckferman%2Ffix_wsl2_networking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franckferman%2Ffix_wsl2_networking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franckferman%2Ffix_wsl2_networking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/franckferman","download_url":"https://codeload.github.com/franckferman/fix_wsl2_networking/tar.gz/refs/heads/stable","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248085327,"owners_count":21045139,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash-prompt","bash-scripts","debian-linux","dns","networkingtool","networks","shell-scripting","shell-scripts","windows-10","windows-11","windows10","windows11","wsl-debian","wsl-fix","wsl-kali","wsl-network","wsl-ubuntu","wsl2","wsl2-fix","wsl2-network"],"created_at":"2024-10-12T09:52:14.239Z","updated_at":"2025-04-09T18:12:45.104Z","avatar_url":"https://github.com/franckferman.png","language":"Shell","readme":"\u003cdiv id=\"top\" align=\"center\"\u003e\n\n\u003c!-- Shields Header --\u003e\n[![Contributors][contributors-shield]](https://github.com/franckferman/fix_wsl2_networking/graphs/contributors)\n[![Stargazers][stars-shield]](https://github.com/franckferman/fix_wsl2_networking/stargazers)\n[![License][license-shield]](https://github.com/franckferman/fix_wsl2_networking/blob/stable/LICENSE)\n\n\u003c!-- Logo --\u003e\n\u003ca href=\"https://github.com/franckferman/fix_wsl2_networking\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/franckferman/fix_wsl2_networking/stable/docs/github/graphical_resources/banner-fix_wsl2_networking.jpg\" alt=\"banner-fix_wsl2_networking\" width=\"auto\" height=\"auto\"\u003e\n\u003c/a\u003e\n\n\u003c!-- Title \u0026 Tagline --\u003e\n\u003ch3 align=\"center\"\u003efix_wsl2_networking\u003c/h3\u003e\n\u003cp align=\"center\"\u003e\n    \u003cem\u003eSolve connection problems related to WSL2.\u003c/em\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\n\u003c/div\u003e\n\n## 📜 Table of Contents\n\n\u003cdetails open\u003e\n  \u003csummary\u003e\u003cstrong\u003eClick to collapse/expand\u003c/strong\u003e\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\u003ca href=\"#-about\"\u003e📖 About\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#-getting-started\"\u003e🎮 Getting Started\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#-license\"\u003e📜 License\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#-contact\"\u003e📞 Contact\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n## 📖 About\n\nThis script provides a permanent fix for a persistent issue affecting WSL2 users on various Linux distributions, including Debian, Ubuntu, and Kali.\n\nMany users attempt temporary configuration tweaks, only to find the problem recurring. This script eliminates the hassle by offering a reliable, long-term solution that works seamlessly.\n\nIf you've been struggling with this issue, or know someone who is, this script is the definitive fix you've been looking for.\n\n### Tested On\n\nThis script has been successfully tested on multiple WSL2 environments, including:\n\n* - [x] [Debian](https://www.microsoft.com/en-us/p/debian/9msvkqc78pk6)\n* - [x] [Ubuntu](https://www.microsoft.com/en-us/p/ubuntu/9pdxgncfsczv)\n* - [x] [Kali Linux](https://www.microsoft.com/en-us/p/kali-linux/9pkr34tncv07)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## 🎮 Getting Started\n\nThis repository is dedicated to fixing Internet connectivity issues in WSL2 when using a Linux distribution.\n\n📌 Note: This guide does not cover WSL2 installation or setup—only the networking fix.\n\nMy goal is to provide a reliable and efficient solution to help WSL2 users restore network connectivity and optimize their workflow.\n\n### Prerequisites\n\nDownload the script directly via PowerShell:\n\n```PowerShell\nInvoke-WebRequest -Uri \"https://raw.githubusercontent.com/franckferman/fix_wsl2_networking/stable/fix_wsl2_networking.sh\" -OutFile \"C:\\Users\\$env:UserName\\fix_wsl2_networking.sh\"\n```\n\n## Usage\n\n1️⃣ Move \u0026 execute the script from your Linux terminal in WSL2:\n\n```sh\ncd ~\u0026\u0026mv /mnt/c/Users/Your_Windows_UserName/fix_wsl2_networking.sh .\u0026\u0026chmod +x ./fix_wsl2_networking.sh\u0026\u0026sudo ./fix_wsl2_networking.sh\n```\n\n2️⃣ Once the script completes, your connectivity issues should be resolved.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## 📜 License\n\nThis project is licensed under the GNU Affero General Public License, Version 3.0. For more details, please refer to the LICENSE file in the repository: [Read the license on GitHub](https://github.com/franckferman/fix_wsl2_networking/blob/stable/LICENSE)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## 📞 Contact\n\n[![ProtonMail][protonmail-shield]](mailto:contact@franckferman.fr)  [![LinkedIn][linkedin-shield]](https://www.linkedin.com/in/franckferman)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- MARKDOWN LINKS \u0026 IMAGES --\u003e\n\u003c!-- https://www.markdownguide.org/basic-syntax/#reference-style-links --\u003e\n[contributors-shield]: https://img.shields.io/github/contributors/franckferman/fix_wsl2_networking.svg?style=for-the-badge\n[contributors-url]: https://github.com/franckferman/fix_wsl2_networking/graphs/contributors\n[stars-shield]: https://img.shields.io/github/stars/franckferman/fix_wsl2_networking.svg?style=for-the-badge\n[stars-url]: https://github.com/franckferman/fix_wsl2_networking/stargazers\n[license-shield]: https://img.shields.io/github/license/franckferman/fix_wsl2_networking.svg?style=for-the-badge\n[license-url]: https://github.com/franckferman/fix_wsl2_networking/blob/stable/LICENSE\n[protonmail-shield]: https://img.shields.io/badge/ProtonMail-8B89CC?style=for-the-badge\u0026logo=protonmail\u0026logoColor=blueviolet\n[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge\u0026logo=linkedin\u0026colorB=blue\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffranckferman%2Ffix_wsl2_networking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffranckferman%2Ffix_wsl2_networking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffranckferman%2Ffix_wsl2_networking/lists"}