Metta
Posts: 5
Joined: Tue Dec 12, 2017 2:03 am

[workaround] modprobe: FATAL: Module wl not found in directory /lib/modules/4.14.4-38.current

Tue Dec 12, 2017 12:07 pm

I let DoFlicky choose to install broadcom-sta-current

Code: Select all

$ sudo eopkg info -F broadcom-sta-current 
/lib/modules/4.14.4-38.current/kernel/drivers/net/wireless/wl.ko
Package found in Solus repository:
Name                : broadcom-sta-current, version: 6.30.223.271, release: 155
Summary             : broadcom-sta for linux-current kernel
Description         : Broadcoms IEEE 802.11a/b/g/n hybrid Linux device driver
Licenses            : Distributable
Component           : kernel.drivers
Dependencies        : linux-current broadcom-sta-common 
Distribution        : Solus, Dist. Release: 1
Architecture        : x86_64, Installed Size: 7.11 MB, Package Size: 1.38 MB
Reverse Dependencies: 

broadcom-sta-current package is not found in source repositories
However despite the wl.ko being in the file system, modprobe can't find it.

Code: Select all

$ ls -l /lib/modules/4.14.4-38.current/kernel/drivers/net/wireless/wl.ko
-rwxr-xr-x 1 root root 7453152 Dec  6 10:07 /lib/modules/4.14.4-38.current/kernel/drivers/net/wireless/wl.ko

$ file /lib/modules/4.14.4-38.current/kernel/drivers/net/wireless/wl.ko
/lib/modules/4.14.4-38.current/kernel/drivers/net/wireless/wl.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), BuildID[sha1]=ff36550f6ae88d13c8fe3dbb2fb7d5f506f12c79, not stripped

$ uname -r
4.14.4-38.current

$ sudo modprobe wl
Password: 
modprobe: FATAL: Module wl not found in directory /lib/modules/4.14.4-38.current
Any ideas?
Last edited by Metta on Tue Dec 12, 2017 1:02 pm, edited 1 time in total.

Metta
Posts: 5
Joined: Tue Dec 12, 2017 2:03 am

Re: modprobe: FATAL: Module wl not found in directory /lib/modules/4.14.4-38.current

Tue Dec 12, 2017 12:17 pm

This works but it's not good enough

Code: Select all

sudo modprobe cfg80211
sudo insmod /lib/modules/4.14.4-38.current/kernel/drivers/net/wireless/wl.ko
$ ip link show dev wls3
3: wls3: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state DORMANT mode DORMANT group default qlen 1000
    link/ether 00:23:6c:xx:xx:xx brd ff:ff:ff:ff:ff:ff
$ nmcli d
DEVICE   TYPE      STATE         CONNECTION         
enp0s10  ethernet  connected     Wired connection 1 
wls3     wifi      disconnected  --                 
lo       loopback  unmanaged     --    
At this point I can use the Network Manager GUI to bring up Wi-Fi but after a reboot my changes are not persistent.

It's just hax. I want the real thing :)
Thanks

Metta
Posts: 5
Joined: Tue Dec 12, 2017 2:03 am

Re: modprobe: FATAL: Module wl not found in directory /lib/modules/4.14.4-38.current

Tue Dec 12, 2017 1:01 pm

2 more hax and it just works. At least I didn't have to write an rc.local

Code: Select all

$ cat /etc/modprobe.d/hackboot.conf 
install wl /sbin/modprobe cfg80211; /sbin/insmod /lib/modules/$(/bin/uname -r)/kernel/drivers/net/wireless/wl.ko
$ cat /etc/modules-load.d/wl.conf 
wl
I looked at Ubuntu and Fedora solutions and they just say "use DKMS".

I changed the title to [workaround] because I don't call this [solved].

Return to “Installation”