+4 votes
68 views
Ubuntu not connecting to WiFi

in Linux/Unix by (552k points)
reopened | 68 views

1 Answer

+5 votes
Best answer

Fix error Ubuntu does not connect to Wi-Fi

Choosing our operating system well is important so that we feel comfortable during its use on a day-to-day basis. One of the operating systems best known by users is Linux, which has different distributions. Ubuntu gives us the opportunity to connect to the Ethernet network (cable) or through Wi-Fi, either with an integrated local card or with an external adapter..

 

 

The network access is ideal for multiple tasks in Ubuntu such as system updates, installation of applications and programs and many more. For various reasons it is possible that our Ubuntu system does not connect to the Wi-Fi network for multiple reasons.

 

First of all we must check how the modem or router is located, that it is connected, that the Wi-Fi network is configured correctly and that we have access to it. TechnoWikis will explain how to correct this Wi-Fi access error in Ubuntu and thus connect normally..

 

 

To stay up to date, remember to subscribe to our YouTube channel!
SUBSCRIBE ON YOUTUBE

 

 

Fix error Ubuntu does not connect to Wi-Fi

 

Step 1

We open the terminal and there we list the properties of the network:
 sudo lshw -class network 
image

 

Step 2

There we find details of the Wi-Fi adapter but we will focus on the main one, we copy the product name located at the top:

 

image

 

Step 3

The lshw command gives us the possibility of accessing detailed information about the computer's hardware, we have used the -class parameter to specify the type of information but it is also possible to use -C, the usage options are:
  • lshw -C processor: display processor information
  • lshw -C disk: output disk information
  • lshw -C memory: display memory information
  • lshw -C sound gives us information about the sound card
  • lshw -C network generates information about network devices

 

We access the following path:

 cd /etc/pm/sleep.d 
image

 

Step 4

We list the content:
 ls 
image

 

step 5

We will create a configuration file with the command:
 sudotouch config 
image

 

step 6

Confirm that it was created using "ls":

 

image

 

step 7

We open the file with the desired editor or by executing:
 sudo gedit config 
image

 

step 8

Note. If you do not have Gedit, you can install it by running:
 sudo apt install gedit 
In the deployed file we enter:
 SUSPEND_MODULES="#product" 

image

 

Apply the changes.

 

step 9

Now we execute the following in the terminal:
 sudo echo "options (product) fwlps=N" | sudo tee /etc/modprobe.d/(product).conf 
image

 

The fwlps (FirmWare Link Power Save) command gives us the option to manage the power for the adapter, it is possible that by using the power saving function the adapter is turned off, to disable it we enter N so that it does not execute the function..

 

step 10

Note: we must enter the product of the network adapter that we have seen previously in the respective fields.
Restart Ubuntu:

 

image

 

step 11

It will restart Ubuntu:

 

image

 

step 12

Once we log in, we validate that the Wi-Fi works correctly:

 

image

 

step 13

We will be able to see the networks available in our coverage range:

 

image

 

With this method we have managed to make Ubuntu detect the networks and with this we have access to the network where we are authorized to use everything that the network offers us.

 


by (3.5m points)
edited

Related questions

+3 votes
1 answer
+3 votes
1 answer
asked Apr 12, 2023 in Linux/Unix by backtothefuture (552k points) | 74 views
+4 votes
1 answer
asked Jan 11, 2023 in Linux/Unix by backtothefuture (552k points) | 75 views
+5 votes
1 answer
asked Dec 12, 2022 in Linux/Unix by backtothefuture (552k points) | 226 views
+4 votes
1 answer
asked Dec 1, 2022 in Linux/Unix by backtothefuture (552k points) | 147 views
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users