Ultimate WiFi tutorial, what to do after reinstalling or formatting your Linux computer

If you have decided to format your Slimbook, you may have overlooked these settings so that the WiFi in your Slimbook is 100% functional. As we offer many distributions, it is possible that some step you can not perform on your operating system, pay attention.

Before we start, what we do next are improvements to the WiFi, if your WiFi does not show networks or do not connect the first thing you would have to make sure is that the network hardware has not been disabled. To activate / deactivate the network hardware you must press FN + F4 if you have the traditional Style in the BIOS or only F4 if you use the MAC style (if you are not sure which one you have, try pressing FN + F5 if that changes between the different levels of backlighting of the keyboard you have traditional style, otherwise you have MAC Style).

If your distribution is Ubuntu or some based on this, you should be able to follow all the steps of the tutorial. Otherwise, you must jump directly to points 4 and 5.

1st step

The first thing you have to do is install Slimbook Essentials

You will need to apply all these improvements in Slimbook Essentials:

Update distro

Update Wi-fi driver

Increase Wifi at low signal

Coexisting Bluetooth ON

Don't start bluetooth on startup

If you are unable to install Slimbook Essentials, you will need to do the following.

Open a terminal (Ctrl+Alt+T) and type:

sudo nano /etc/modprobe.d/iwlwifi.conf

And at the end of the file, by default we will not have options parameters, so we add:

options iwlwifi 11n_disable=8 power_save=0 power_level=5 bt_coex_active=1

Now save and close the file. Changes will not be applied until we restart, but do not need to do so now, we will do so at the end of the tutorial.

Note: In some router models, it is better to have the parameter 11n_disable = 1, but only in some cases, since it can limit our connection speed to 25mbps, although more stable. One way to test this is to see packet loss away from the router (ping 8.8.8.8).

 

2nd step: 5 points.

In some distributions point 1 will give an error, this will be if you are in an older version of the kernel.

In distributions that do not have Network Manager, point 2 will give error.

If your distro gives errors in these first 2 points, do not worry and try the following ones.

Open a terminal and enter the following commands:

1- Update the driver manually:

cd /tmp

wget https://raw.githubusercontent.com/slimbook/linux-firmware/master/install-for-dummies.sh

sudo sh ./install-for-dummies.sh

2- Reduce NetworkManager power management:

sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

3- Set region Iceland:

sudo nano /etc/default/crda

We will open a text editor in the terminal (if you open an empty file directly with Control + X, since your system does not allow this step), move the cursor with the arrows on the keyboard, select the line that says " REGDOMAIN "and type" REGDOMAIN = IS ". To save press Control + X, confirm with the S key and only press enter to save the changes.

4-Add region to the cfg80211 file:

echo "options cfg80211 ieee80211_regdom=IS" | sudo tee -a /etc/modprobe.d/cfg80211.conf

We would only have to restart the operating system for the changes to take effect

5- Force 2.4Ghz to 20Mhz and disable 40Mhz:

echo "options cfg80211 cfg80211_disable_40mhz_24ghz=Y" | sudo tee -a /etc/modprobe.d/cfg80211.conf

Finally, we only have to restart the computer.

 

Other guides:

Actualizar driver Intel Wireless (WiFi) 3160 / 7265 en Linux

 

 

Ultimate WiFi tutorial, what to do after reinstalling or formatting your Linux computer
Eusebio Giner Slimbook
7 May, 2017
share
archive