My laptop has a BCM4313 WLAN adaptor.
Here's the manufacturer link :
https://www.broadcom.com/products/wireless/wireless-lan-bluetooth/bcm4313#overview .
And I'm following this guide on how to install it:
https://onpub.com/install-broadcom-linux-wi-fi-driver-on-fedora-23-s7-a192
There's also the manufacturer driver here:
https://www.broadcom.com/products/wireless/wireless-lan-bluetooth/bcm4313#downloads
The instructions on How to Install are here:
https://docs.broadcom.com/docs/1211168561592
I managed to download and extract the driver. I also managed to "make" it.
The problem is when I try to "make install" it.
Here's the error message:
[user@fedora-23 hybrid_wl_f23]$ sudo make install
install -D -m 755 wl.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless
install: cannot create regular file ‘/lib/modules/4.4.31-11.pvops.qubes.x86_64/kernel/drivers/net/wireless/wl.ko’: Read-only file system
Makefile:168: recipe for target 'install' failed
make: *** [install] Error 1
So the problem is that the file system is read-only.
In the following link:
https://groups.google.com/d/msg/qubes-users/5pGA68aTb-4/IFuk0wTJBQAJ
Marek Marczykowski-Górecki gives the following solution:
**************************************
/lib/modules/(kernel version) is mounted read-only, so you can't modify
it. You can either switch to in-VM kernel[1], or keep that module
(`wl.ko`) in some other directory and load it using `insmod
/path/to/wl.ko`. The former method will require somehow more work, but
will be easier to maintain later.
**************************************
I do not know what "In-VM" kernel is. I tried a few things. I opened the "VM-Settings" for fedora-23 template and saw the "Kernel" option.
Here are the possibilities:
default(4.4.31-11)(current)
4.4.31-11
4.4.14-11
none
Additionally, "qvm-prefs my-appvm -s kernel" command describes how "none" means "kernels subdir in VM". So I set the "kernel" option to "none" using "qvm-prefs fedora-23 -s kernel none"
But Now I can't start the Template.
I get the following error message:
Error while starting the 'fedora-23' VM:VM kernel does not exist: /var/lib/qubes/vm-templates/fedora-23/kernels/vmlinuz
After that I tried Marek Marczykowski-Górecki's second solution. i.e. to insmod the wl.ko file in.
But again I get this error:
[user@fedora-23 hybrid_wl_f23]$ sudo insmod wl.ko
insmod: ERROR: could not insert module wl.ko: Unknown symbol in module
Some one please help me.