Score:0

wlp4s0 Wifi on Ubuntu server

pm flag

I currently got Ubuntu Desktop up and working on my laptop with Wifi networking enabled. What I really intend to do is run a minimal Ubuntu Server 20.04 within a KVM container and assign all hardware networks to it. This is partly working - the WIFI shutdown on my main system as soon as I start the VM, the wifi network card is detected within the VM, however, the Ubuntu Server does not setup the drivers for my Wifi card.

I have already installed the packages wpasuppliant, wireless-tools and libiw30, but even though the wireless network card is detected during boot-up in dmesg, the card is NOT listed under /sys/class/net. The wireless network card is auto-detected under Ubuntu Desktop 20.04 with the following from dmesg:

rtw_8821ce 0000:04:00.0: Firmware version 24.8.0, H2C version 12
rtw_8821ce 0000:04:00.0 wlp4s0: renamed from wlan0
rtw_8821ce 0000:04:00.0: start vif ..:..:..:..:..:.. on port 0

Under Software and Updates --> additional drivers on the desktop, an alternative driver: Realtek Semiconductor Co, RTL8821CE 802.11ac is listed inactive as "Do not use the device", so at least on the desktop its unneeded.

Am I missing some particular software, or is the reason this is not working that the sever kernel might be missing some options present in the desktop kernel?

What is the best way to get this wifi network working for me under Ubuntu Server 20.04?

ChanganAuto avatar
us flag
*Realtek Semiconductor Co, RTL8821CE 802.11ac is listed inactive* So, select it and apply. Reboot. Very likely this is all you need.
pm flag
Well - it was listed in the Desktop 20.04 where it was working while that device was listed as inactive. But I do not have list in the Ubuntu Server 20.04. On Ubuntu Server I am understanding WIFI in general have been disabled, so I had to manually install such as wpasuppliant. I did install that, but the Wifi network is not listed as a network device despite the hardware showing up according to dmesg
pm flag
Also - that the RTL8821CE device was listed as inactive was that the proprietary driver was not needed - a open source version had made the WIFI work anyway. I thus expect I do not need the proprietary driver for the Ubuntu Server neither.
ChanganAuto avatar
us flag
You do need to install `rtl8821ce-dkms`
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.