Improve the signal of your wireless network with the following tips

Wireless

This time I will take the opportunity to share with you some small tips on how to improve our Wi-Fi signal I am sure that more than one will serve. Yes OK It is one of the most common problems that you can find among the Linux community. are the problems with the network.

Several issues can be attributed to this type of complicationsAmong the most common are the distance they have between their equipment and the router, in addition to not taking the walls into account, another is that not everyone takes into account the power of their Wi-Fi card since not all are equal and finally the another is that they are not using the proper driver.

Find out tu driver and search the network for the driver  

To solve these problems the first step is to find out what is the chipset of the Wifi card that we are occupying and search for the appropriate driverDue to the large number of chipsets that exist, I will only give you the command to identify what you have and use your web browser a bit to find the drivers.

lspci | grep Wireless

In my case I throw something like this:

05:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter

Where RTL8723BE is the chipset that my computer has.

Install the Linux Headers  

Now another solution that has worked for me is the following, we open a terminal and execute the following:

sudo apt-get install linux-headers-generic build-essential

Disable unsupported protocols  

On the other hand, We also cannot put aside our router since it may be possible that the conflict is there and not in our team. Personally, I have come across some from years ago and they do not support the 802.11n protocol, so even though it offers us many improvements in terms of connectivity, they simply do not have the support and this is a cause of the problem we have.

To deactivate this protocol in our equipment we must open a terminal and execute the following commands. We must know the controller we have for this we type:

lshw -C network

We must locate within what the following section "description: Wireless interface" gives us, right at "drive = *" the controller will tell us, it is the one we are going to write down.

Now we are going to execute the following command substituting NAME-OF-DRIVER for the one of your controller that you just wrote down a few moments ago.

echo "options NOMBRE-DEL-DRIVER 11n_disable=1" >> /etc/modprobe.d/NOMBRE-DEL-DRIVER.conf

Now you just have to restart your computer for the changes to take effect.

Configure the values ​​of your card 

On the other hand, also our Wifi may not be configured optimally, so this other method can work for you. It is true that you will not notice a 100% improvement but it will be noticeably better.

We will proceed to modify the «rate» and «Tx-power» values of our network interface, how does this work? You may be wondering, well I'll explain a little.

The value of Tx-power basically gives us the range that our card has, It is regularly at a low value due to the energy expenditure it represents, so we have the option of increasing it ourselves.

The value of rate represents the transfer speed of our Wifi so we can also modify it, although increasing this value slightly reduces the range of our network card.

To do this we must open a terminal and execute the following command:

sudo iwconfig

It will display something like this, in my case it gives me the following:

Wifi intensity

Where my interface is wlp0s18u1u1 and it throws me the values ​​that you see in the image, as you will notice in the values ​​I have are the following Bit Rate = 54 Mb / s and Tx-Power = 20 dBm, now in my case I am only going to modify TX-Power. The command is as follows:

sudo iwconfig INTERFAZ txpower 60

Where interface I will have to replace it with wlp0s18u1u1 and in your case it is different. With the iwconfig command that I previously provided you there you will see your interface.

Now to modify the rate value it will be as follows where you will substitute number for the speed that you think is optimal

sudo iwconfig INTERFAZ rate NUMEROMo

It would look something like this, in my case:

sudo iwconfig wlp0s18u1u1 rate 20Mo

Without further ado, I hope this can be of use to you.


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Sergio RosCo said

    Hans Godinez what we talked about. Not only is it harmful but also they even try to increase the power ...

  2.   Ivan said

    Hello. I have not started the testing phase yet, but I have a query on this topic: do these settings overlap or affect the operation of, for example, TLP (Linux Advanced Power Management)? Thanks for the article!

  3.   yino said

    Hello very good and greetings to all, I am new in the world of Linux, I installed Linux Mint 19 and it already gave me the first problem and I would like to know if you can help me, I need to create an access point or better known as a hotspot, but repeat the signal and capture it with the same wifi card that the laptop has, that is, without a wired network because it did very well with windows without installing any other usb tp-link or anything, I would like to know how I can achieve it please, because it allows me to create the host pot very well but not when connecting to the wireless network to capture internet signal, the hotspot is disconnected. I appreciate the help they can give me. Greetings to all.

  4.   hphsanchez said

    Thank you very much, for years I accepted that Ubuntu was very slow on the internet believing that it was because it was so robust, just installing the linux headers improves 100%, thanks for your work

  5.   Chito said

    Before the changes:

    Bit Rate = 72.2 Mb / s Tx-Power = 20 dBm

    I did as stated:

    sudo iwconfig wlo1 txpower 60
    sudo iwconfig wlo1 rate 20Mo

    And the iwconfig output gives me the following:

    Bit Rate = 1 Mb / s Tx-Power = 20 dBm

    Is it correct to reduce the bit rate? and that the tx-power does not change?

    How to return to the previous values?