My wifi is connected but has a question mark on the wifi icon

My wifi is connected but not working ..a question mark is always on the wifi icon...I keep turning my wifi off then on it again and again

The question mark means that connectivity could not be verified.

Can you please post the terminal output of

sudo lshw -C network

There are three different options supplied in this thread here:

You will need to be connected either by ethernet or phone hotspot to run the commands.

wifi is working currently but disconnects automatically

In that case try disabling the powersave on wifi to prevent the computer from disabling wifi to conserve power.

sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

Change the value from 3 to 2 as shown here:

wifi.powersave = 2

Tap ctrl+o to overwrite, then enter to save current configuration. Tap ctrl+x to exit the editor.

sometimes it gets connected and sometimes it doesnt . when i try to connect it shows a mark like this(look at top right portion)

error :

Your terminal shows that you have sudo apt install placed in front of a separate CLI operation: git clone.

The git command is a program of its own and not related to apt.

The proper command would be just as you see it in the page:

git clone

You can just highlight the line, copy, then right click and paste it into the terminal.

Next command is cd which is Change Directory. It is telling the terminal to change directory into the path you specify:

cd rtl8821ce

The make command calls on the program named Make which is also a different program from apt or git. The last one is modprobe which is the Module Prober.

Let's catch two birds with one stone:

sudo apt install git build-essential

Once that is installed, try the git clone command.

1 Like

i did that , still the wifi is not working

did.. what?
The full series of commands? The make, sudo make install and modprobe and a reboot after?
Let's take this step by step.

getting some errors

Ok, you notice that a fatal error was recorded. At that point, you know that the following commands of the series need not be run - the error must be resolved first.

That being said - the error shown is due to that packages installer seeking a necessary file within itself, that it does not include.
There is not a lot we can do with that.

Let's discard that driver.
Instead, please open a terminal and run:

sudo apt-get install rtl8821ce-dkms

and relay the output or post a screenshot of the output here.

You can Right Click and trash the file that we git cloned that is in your home folder now...

Ok so... What we see above is that the Correct Driver is installed and is installed with DKMS (Dynamic Kernel Module Support) already.
It does connect - but is intermittent.

Had you already disabled powersave as covered above?

I do not think that the driver is the issue at this time.

yes i have disabled it(powersave as you said)

Have you checked your Modem and Modem settings?

Also, in your network settings, are you set to using ipv4 or ipv6?

how can i do it (my wifi is not being connected to pc)