Elementary 6 and Ubuntu 20.04 LTS appear to load the same Realtek driver for my card RTL8821CE. On the same laptop, WiFi with Ubuntu works without issue but with Elementary it soon disconnects.
There isn't quite enough information here to hazard an accurate guess, however, as of this moment in time, Ubuntu 20.04 is using the
5.11.0-37-generic kernel and Elementary OS 6 is using
5.11.0-36-generic. One difference may be stock Ubuntu's implementation of device discovery.
- Open Terminal (if it's not already open)
ubuntu-driversto list already installed devices:
Alternatively, you can show devices that may need drivers like this:
sudo ubuntu-drivers list
sudo ubuntu-drivers devices
- If you see a list of items, you may be able to auto-install any missing drivers like this:
sudo ubuntu-drivers install
If this does not resolve the issue with your network device, then we'll need to look through your
/var/log/syslog file to see why the network may be unstable on Elementary OS 👍🏻