crawfishos icon indicating copy to clipboard operation
crawfishos copied to clipboard

Update breaks WiFi

Open selfthinker opened this issue 3 years ago • 6 comments

I installed the latest release image on my Asus C100 today. And everything worked well, the WiFi was working. But when I updated (via sudo apt update && sudo apt upgrade) I got a message about a kernel rebuilt (don't remember the exact words) and after a reboot the WiFi was broken. I assume it reverted back to the original PrawnOS version in that respect? Is there a way to update and keep the WiFi working?

selfthinker avatar Jun 04 '21 21:06 selfthinker

I've re-installed and then tried to update again. This time I could make note of the message:

Caution! This will flash a new kernel image onto the running device's kernel partition: [then some info about partition, boot device and model] Do you want to continue? [y/N]

This time I said No to continuing. And after rebooting the WiFi was still working. It would be good to add something to the documentation to warn people.

I wonder if the update undid other CrawfishOS changes? (deb.prawnos.com is in one of the source.list.d files.)

selfthinker avatar Jun 05 '21 08:06 selfthinker

@selfthinker I am not using crawfishos at the moment but crucial for wifi is the source of kernel and firmware, as prawnos prefers kernel without support for broadcom wifi built into c100 motherboard(libre). If you want to keep wifi running just mark kernel package hold in apt list (lock version) and this should be sufficient. Or in case of problems just make a backup of current kernel partition with modules and 2 firmware files and copy back if needed

cracket avatar Jun 05 '21 18:06 cracket

Thanks for the report.

I noticed this as well, and pinned the kernel locally to avoid. I'll likely do the same for CrawfishOS (or maybe disable the prawnos repo entirely, haven't decided).

I'm currently travelling though, so it'll be a few weeks before I do anything (though if someone sends a PR, I'll review it before then ;)).

austin987 avatar Jun 09 '21 19:06 austin987

I ran into the same problem. Luckily I hadn't customised the c201 much, so I did a fresh install then: apt-mark hold prawnos-linux-image-armhf will prevent a newer kernel being installed until you're ready for it (eg when a newer blobby version is available).

johnbrox avatar Feb 21 '23 14:02 johnbrox

is there a way to install non-free firmware to more recent kernel after kernel upgrade?

lazyest avatar Feb 06 '24 18:02 lazyest

Not that I'm aware of, at least not easily. If you can compile yourself, you could try building a newer kernel and installing that manually.

Unfortunately I don't have access to this hardware anymore, so I can't help much.

austin987 avatar Feb 07 '24 19:02 austin987