My wifi not working. Broadcom 43142

[android@localhost ~]$ sudo dnf install broadcom-wl
[sudo] password for android: 
determining the fastest mirror (2 hosts).. done.===                     ] ---  B/s |   0  B     --:-- ETA
Fedora - Modular Rawhide - Developmental packages for the next Fedora rel 650  B/s | 4.1 kB     00:06    
Fedora - Rawhide - Developmental packages for the next Fedora release      11 kB/s | 4.1 kB     00:00    
Package broadcom-wl-6.30.223.271-14.fc32.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[android@localhost ~]$ sudo modprobe wl
modprobe: FATAL: Module wl not found in directory /lib/modules/5.7.0-0.rc3.20200501gitc45e8bccecaf.1.fc33.x86_64
[android@localhost ~]$ sudo depmod -a
[android@localhost ~]$ sudo modprobe wl
modprobe: FATAL: Module wl not found in directory /lib/modules/5.7.0-0.rc3.20200501gitc45e8bccecaf.1.fc33.x86_64
[android@localhost ~]$ modinfo wl
modinfo: ERROR: Module wl not found.
[android@localhost ~]$ ifconfig
enp0s20u2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.42.229  netmask 255.255.255.0  broadcast 192.168.42.255
        inet6 fe80::3c73:a6f1:15c2:cc1  prefixlen 64  scopeid 0x20<link>
        ether ca:66:ac:f4:62:c0  txqueuelen 1000  (Ethernet)
        RX packets 14876  bytes 15080142 (14.3 MiB)
        RX errors 4  dropped 0  overruns 0  frame 4
        TX packets 11394  bytes 1873771 (1.7 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp9s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether e0:db:55:a6:39:99  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 3172  bytes 273029 (266.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3172  bytes 273029 (266.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[android@localhost ~]$ lspci -nnk | grep -iA3 net
06:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n [14e4:4365] (rev 01)
	Subsystem: Dell Wireless 1704 802.11n + BT 4.0 [1028:0016]
	Kernel modules: bcma
09:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller [10ec:8136] (rev 05)
	Subsystem: Dell Device [1028:0591]
	Kernel driver in use: r8169
	Kernel modules: r8169
[android@localhost ~]$ sudo modprobe -r bcma
[android@localhost ~]$ sudo modprobe wl
modprobe: FATAL: Module wl not found in directory /lib/modules/5.7.0-0.rc3.20200501gitc45e8bccecaf.1.fc33.x86_64


[android@localhost broadcom-wl]$ lsb_release -a
LSB Version:	:core-4.1-amd64:core-4.1-noarch
Distributor ID:	Fedora
Description:	Fedora release 33 (Rawhide)
Release:	33
Codename:	Rawhide
[android@localhost broadcom-wl]$
[android@localhost ~]$ uname -a
Linux localhost.localdomain 5.7.0-0.rc3.20200501gitc45e8bccecaf.1.fc33.x86_64 #1 SMP Fri May 1 16:41:54 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[android@localhost ~]$

Two things of note:

  • you are using Rawhide, this is not meant for daily use. Please use a stable release instead: Rawhide :: Fedora Docs

This is why the repository says:

Fedora - Rawhide - Developmental packages for the next Fedora release 
  • Your driver, which RPMFusion provides is a Fedora 32 package, while you are on rawhide, which is Fedora 33. I don’t know when the driver for your F33 kernel will be pushed in RPMFusion.

So, in summary, please use a stable release. Rawhide is for development, and such issues are expected there because of how fast we push updates to rawhide.

[android@localhost ~]$ lspci | grep -i broadcom
06:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)
[android@localhost ~]$ dnf install kernel-devel-$(uname -r) akmod-wl
Error: This command has to be run with superuser privileges (under the root user on most systems).
[android@localhost ~]$ sudo dnf install kernel-devel-$(uname -r) akmod-wl
[sudo] password for android: 
Last metadata expiration check: 2:48:27 ago on Sun 03 May 2020 01:00:38 PM +0545.
Package kernel-devel-5.7.0-0.rc3.20200501gitc45e8bccecaf.1.fc33.x86_64 is already installed.
Package akmod-wl-6.30.223.271-32.fc33.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[android@localhost ~]$ sudo -i
[root@localhost ~]# modprobe wl
modprobe: FATAL: Module wl not found in directory /lib/modules/5.7.0-0.rc3.20200501gitc45e8bccecaf.1.fc33.x86_64
[root@localhost ~]# akmods --force
Checking kmods exist for 5.7.0-0.rc3.20200501gitc45e8bcceca[  OK  ].x86_64
Building and installing wl-kmod                            [FAILED]
Building rpms failed; see /var/cache/akmods/wl/6.30.223.271-32-for-5.7.0-0.rc3.20200501gitc45e8bccecaf.1.fc33.x86_64.failed.log for details

Hint: Some kmods were ignored or failed to build or install.
You can try to rebuild and install them by by calling
'/usr/sbin/akmods --force' as root.

[root@localhost ~]#

last installation of fedora rawhide was ok with driver. Can i freeze my kernel to fedora 32 and broadcom-wl as well of that fedora 32 and rest use as rawhide?

[android@localhost ~]$ cd broadcom-wl/
[android@localhost broadcom-wl]$ ls
built-in.a  dkms.conf  lib  Makefile  modules.order  README.md  src  wl.mod  wl.o
[android@localhost broadcom-wl]$ make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory '/usr/src/kernels/5.7.0-0.rc3.20200501gitc45e8bccecaf.1.fc33.x86_64'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  MODPOST 1 modules
FATAL: modpost: GPL-incompatible module wl.ko uses GPL-only symbol 'lockdep_init_map_waits'
make[2]: *** [scripts/Makefile.modpost:94: __modpost] Error 1
make[1]: *** [Makefile:1645: modules] Error 2
make[1]: Leaving directory '/usr/src/kernels/5.7.0-0.rc3.20200501gitc45e8bccecaf.1.fc33.x86_64'
make: *** [Makefile:159: all] Error 2
[android@localhost broadcom-wl]$ 

how to compile it?

Yes, but that does not mean that it will always be OK. Rawhide does not go through the same QA process as stable releases.

Is there a specific reason you want to use Rawhide? It should only be used by community members for testing—is that what you are doing?

https://fedoraproject.org/wiki/Kernel_Vanilla_Repositories

stable kernel from here.

kernel 5.7.0? No yet supported. Vanilla stable repositories is a option in rawhide…

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.