Every time I upgrade Linux.4.4.* past 4.4.1, my wifi stops working, how do I upgrade the linux package without losing wifi?
So as the title says, my wifi on my Macbook Air (mid 2013) keeps disappearing after I upgrade, and the only way I can fix it is to downgrade to Linux-4.4.1 using pacman -U in the /var/cache/pacman folder. Network-Manager says no interfaces exist until i downgrade and reboot. Is there any way to get past 4.4.1 or am I missing something critical for updating? I would prefer not to blacklist it or add it to an ignore list if I can help it.
About this post
- Posted
- Archived
- Score
- 23 · 100% up
- Kind
- Text
- ID
- 4awlda
18 comments
You need to reinstall the broadcom-wl package. Or, alternatively, install dkms and broadcom-wl-dkms, then it will automatically reinstall each kernel upgrade.
Don't forget to enable the dkms service. Or if you want the rebuild to happen before you restart the computer, manually install this hook: https://www.reddit.com/r/archlinux/comments/45ao5b/pacman_hooks_for_dkms/
and install linux-headers package, otherwise "dkms autoinstall" will run and exit with no error, but build nothing.
https://projects.archlinux.org/svntogit/packages.git/tree/trunk/dkms.install?h=packages/dkms&id=bc0d20281e0503243d3debcfcf7ed60d67916162 it seems like the dkms systemd service was removed and hook building was included in the mainline package.
One way to avoid this broadcom headache, is to use a supported USB wifi dongle.
They are inexpensive, especially if you value your time and sanity.
Script I use to reinstall driver :)
https://github.com/aldc123/bwlScript
Why don't you just use the DKMS package from the AUR instead? Then you don't need a script or an out of band way to manage it. It has a hook built right in.
https://aur.archlinux.org/packages/broadcom-wl-dkms/
Dkms is an option but it has it's own cons, I choose not to use it and run this script instead, works fine.
Some Broadcom chips are only supported on certain kernels. But if it worked on 4.4, I find it strange that it would break. So all I can really do for you is post this worthless comment. Best of luck. Wireless drivers are the worst.
This is somewhat misleading info. Because no chip loses compatibility going forward. Only backward. And since this user is going forward, this info, the way it is being presented, is technically bad.
Very likely. But I was looking at Broadcoms support site (or some site, don't really know) for drivers and it said it supported 2 and 3 but 4 wasn't listed. It could have just not been updated though. But yeah, I honestly don't know. I guess my comment was worse than uselss and actually detrimental. Thanks for the correction.
Deleted before we saved it.
In addition to
broadcom-wlanddkms, make sure you also have your kernel headers installed, via thelinux-headerspackage (otherwise dkms might fail to apply the driver to your kernel).