How to setup wifi in Qubes OS 4.3.0-rc1?

Hi everyone,
I just installed Qubes-4.3-rc1
after install I got no way to setup Wifi on the laptop.
there is no way I can only use wired ethernet.
and documentation on how to setup wifi is not easy to find on the main site.
So please, can someone point me to the initial setup, so I can at least learn online how to setup the whole system.
my laptop is HP inc AMD ryzen 14s-fq1000nf

Hi @dominix and welcome here!

There is a missing piece of information in your post. Were you able to setup wifi on this laptop with Qubes OS r4.2?

If so, are you able to start sys-net, try to open a terminal in this qube and to start network-manager if there is no widget?

Hi,

Which template are you using for sys-net? It’s certainly that the template is missing firmwares for your device (fedora templates have them all by default, except if minimal template), or that your Wi-Fi card is not supported by Linux.

1 Like

I was not able to install Qubes 4.2, it hang forever on a package install during install process, So I installed directly 4.3-rc1

I kept the default that was proposed, I guess its Whonix.
how do I return to the template choice ?

(thanks you all for your support btw)

my network card is a rtw8821ce (seems a common hardware for laptop, well suported on other distro)

Hi dominix - and welcome to the forum! :slight_smile:

Do you have some temporal/alternate internet access on the machine? – like a wired ethernet or a USB network card?

I have issues with a “Qualcomm Wi-Fi 6E NFA725A”, so while I debug, I add a (old) Wireless USB netcard to fetch updates and test stuff …

:slight_smile:

I would strongly suggest you to try again to install Qubes OS R4.2.4, because the 4.3-rc1 is a unstable release candidate. Maybe someone could help you with the R4.2 installation?

Default is Fedora for sys-net :slight_smile:

I’ll try this

how do I return to the template choice ?
I only have it at first start.
I mean this one => Installation guide | Qubes OS
at this screen > https://www.qubes-os.org/attachment/doc/initial-setup-menu-configuration-4.2.png

before you reinstall Qubes you could check the template used for sys-net in the Qube Manager. What does it say in the template column?

My network card - rtl8111/8168/8211/8411 and it is not supported in Fedora template 42. I had to buy a USB Wi-Fi adapter.

can anyone direct me to the right console I had to use so I can change some low-level drivers. I am no yet used of all the concept in Qubes. I got “Vault” other untrusted or personal/works, I guess there are not here for configuring base networks, but just for usage/trust purpose. Which one should I use if I want to install and compile the right drivers ? or should I login as root ?

Ok, I was able to connect an ethernet adapter with DHCP & internet acces that has a USB-C port to my laptop.
how do I allow the network to any VM or container using the adapter ?

ok, thanks to this video => https://www.youtube.com/watch?v=p1BMG8uFyuE
I got the sys-net working with my USB-ethernet adapter.
SO if I got it correctly, I am supposed to be able to install the source of my drivers into sys-net, compile it and make my wifi works …
i’m on my way …
finger crossed.

… "into sys-net’s template, right?

no, I just modified sys-net and I got fu****d up.
I learn by doing (the hard way). So I am reinstalling, once again.
I will try again to install a drivers into sys-net “template” this time, cause I got now the one that is right for this laptop which is rtw_8821ce in place of rtw88_8821ce. … or may is there another way to reset sys-net in case of crash (I did not backup everyting just before, but next time I will. )

you will need to tell us what you did exactly so we can help you doing the right thing, or explain what happened.

It’s actually really hard to “crash” qubes in Qubes OS as they are based on templates you should not touch.

1 Like

the thing is that I’ve tried to add some kernel modules.
but when I install these kernel modules the template do not work anymore.
So I am looking for a way to add some kernel modules in a way that it is usable.
rtw88_8821ce provided by fedora do not works for my laptop, but rtw_8821ce does. how could I use this one in the template for sys-net so my sys-net has wifi…

I take the kernel modules from GitHub - lwfinger/rtw88: A backport of the Realtek Wifi 5 drivers from the wireless-next repo. it works well on my laptop on some other OS like ubuntu or pop-os and I would like to use these ones on qubes-4.3

do you have some direction for me ? at this time I am experimenting with the qubes concept, but I am far from mastering …