WSL Network Problem

Caner TOPAÇ 0 Reputation points
2023-05-22T12:57:31.0233333+00:00

Hi , we are producing an application to test our servers. Hping3 is an application that we are running, however we have a problem while processing this tool at WSL (Windows subsystem for linux) , there is no problem to see actual bandwidth which is produced by hping but this power is looking so low at Windows Wi-Fi network interface. How can we solve this problem. Could you please help us if you have an idea on it ?

Windows for business Windows Client for IT Pros Networking Network connectivity and file sharing
Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,746 Reputation points
    2023-05-23T11:38:25.0933333+00:00

    Hello Caner TOPAÇ,

    Thank you for your question and for reaching out with your question today.

    To resolve this issue, follow the following steps:

    1. Locate the resolv.conf file by running the following command:

    sudo nano /etc/resolv.conf

    You will see the following in the file:

    This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/resolv.conf

    [network]

    generateResolvConf = false

    nameserver xxx.xx.xx

    1. Change the nameserver value to 8.8.8.8 and save the file. You should now have a faster connection.

    If the reply was helpful, please don’t forget to upvote or accept as answer.

    Best regards.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.