sebanc / brioche

An alternative to Crostini / Crouton for devices running brunch
GNU General Public License v3.0
72 stars 8 forks source link

Wifi/internet stops working after starting container #29

Open hambergerpls opened 2 years ago

hambergerpls commented 2 years ago

Hi!

I managed to create a Ubuntu container using brioche ubuntu create and selected Ubuntu as my distro. However, my problem starts when I noticed that I couldn't run brioche ubuntu cmd sudo apt update and getting a connection error to Ubuntu servers. Then I realised that although my Wifi is still connected to my AP, I could not access the internet even in Chrome OS. I had to use my ethernet cable to be able to access the internet.

The wifi works after rebooting but stops working after running the container. I suspect that it has to do with the NetworkManager after I inspect the Ubuntu function in brioche code?

Any help will be appreciated, thanks!

My wifi card is RTL8821CE. Using latest brunch framework (r91 20210620). Using latest zork image (R92) CPU: Ryzen 3500U

hambergerpls commented 2 years ago

UPDATE:

After reading https://github.com/tomaspinho/rtl8821ce#wi-fi-not-working-for-kernel--59, I added blacklist rtw88_8821ce to /etc/modprobe.d/blacklist.conf and shutdown my laptop for 5 minutes. Rebooted and tried brioche ubuntu cmd sudo apt update and was able to update successfully.

So it probably has to do with the Ubuntu wifi driver that messed up with rtl8821ce driver.

Mark this as solved, for now.

hambergerpls commented 2 years ago

I am reopening this issue because I realised that when I reboot, the same issue happens. After playing around, I noticed that the internet connection came back when I plug and unplug my ethernet cable while connecting to my AP. Compared to before I blacklist rtw88_8821ce, the internet connection does not come back when I re-plug the ethernet cable.

srThibaultP commented 2 years ago

I have the same problem with a RTL8723DE, Brunch r91 20210620, rammus R91 & R93 and a Intel i5-7200U. Tried your blacklist and didn't work. I can only make wifi work if I disable and enable again wifi.

vinberg88 commented 1 year ago

I hade to reboot computer - then it works!