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 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,166 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,312 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,096 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