You are not logged in.

#26 2022-02-26 16:25:32

seth
Member
Registered: 2012-09-03
Posts: 58,296

Re: [SOLVED] Broadcom Wifi network card not working

BTW, output #21 is archiso again.

Sounds like a bug in the install iso that would explain pretty  much everything.
Please check the output of the command in #24 on the iso.

If Garuda Linux is Arch-based, and driver works on Garuda Linux, by using the same logic, shouldn't the drivers also work on Arch Linux?

https://en.wikipedia.org/wiki/Syllogistic_fallacy
The kernel module cannot work if it's not present itfp. and neither "garuda" nor "arch" is a thing (because the package and kernel versions would matter) and the driver works wrt the kernel, not some distro.
And broadcom-wl isn't an AUR package, btw.

Online

#27 2022-02-26 16:58:43

ShamUsesArch
Member
Registered: 2022-02-22
Posts: 20

Re: [SOLVED] Broadcom Wifi network card not working

Sounds like a bug in the install iso that would explain pretty  much everything.

Shouldn't it have solved if I were to install it from another server?
I tried using different servers to download the iso.

During the live boot, which kernel does Arch Linux use? Is it the LTS version? The zen version?

Thanks for everything up until now, man. Really appreciate it if you could solve my problem.

Hope you have a good day =)

Offline

#28 2022-02-26 17:00:31

seth
Member
Registered: 2012-09-03
Posts: 58,296

Re: [SOLVED] Broadcom Wifi network card not working

Shouldn't it have solved if I were to install it from another server?

No. It'd be the iso, not your copy of it.
Please post the output of the command in #24.

Online

#29 2022-02-27 08:51:37

ShamUsesArch
Member
Registered: 2022-02-22
Posts: 20

Re: [SOLVED] Broadcom Wifi network card not working

Output of the command in #24:

broadcom-wl /usr/
broadcom-wl /usr/lib/
broadcom-wl /usr/lib/modprobe.d/
broadcom-wl /usr/lib/modprobe.d/broadcom-wl.conf
broadcom-wl /usr/lib/modules/
broadcom-wl /usr/lib/modules/5.16.11-arch1-1/
broadcom-wl /usr/lib/modules/5.16.11-arch1-1/extramodules/
broadcom-wl /usr/lib/modules/5.16.11-arch1-1/extramodules/wl.ko.xz
broadcom-wl /usr/share/
broadcom-wl /usr/share/licenses/
broadcom-wl /usr/share/licenses/broadcom-wl/
broadcom-wl /usr/share/licenses/broadcom-wl/LICENSE
broadcom-wl: 12 total files, 0 altered files

Hope you have a good day =)

It is as it is, after all its the live installation.

Offline

#30 2022-02-27 09:16:10

seth
Member
Registered: 2012-09-03
Posts: 58,296

Re: [SOLVED] Broadcom Wifi network card not working

/usr/lib/modules/5.16.11-arch1-1/extramodules/wl.ko.xz

Linux archiso 5.16.4-arch1-1 #1 SMP PREEMPT Sat, 29 Jan 2022 19:08:13 +0000 x86_64 GNU/Linux

local/linux 5.16.11.arch1-1
    The Linux kernel and modules

If this is all still on the iso, running the 5.16.4 kernel, but the only wl module is installed for 5.16.11, matching the installed but not the running kernel, it's no wonder that it's not working.

This all kinda doesn't add up - I'm sorry, but I'm totally confused about the circumstances you're running these commands under.
Do you somehow chroot into an installed system?
Why is the kernel package on the iso 5.16.11 but the booted kernel is 5.16.4???

Online

#31 2022-02-27 15:14:58

ShamUsesArch
Member
Registered: 2022-02-22
Posts: 20

Re: [SOLVED] Broadcom Wifi network card not working

Oh, I see, let me explain. I had the older arch linux installed, of which the grub was broken, so I could not boot in. What I usually do is use the older installation (which does not have the grub installation) for my convenience to be able to store the output. I mount the partition and then chroot to the system. After chrooting, I run pacman -S broadcom-wl to install the drivers. The live installation is fairly new.

For now, I have deleted all the OSes present on the PC. What would you like me to do? I can do any of them.

I could install arch linux using USB ethernet or stay on the live installation.

Thanks for your time smile

Last edited by ShamUsesArch (2022-02-27 15:21:08)

Offline

#32 2022-02-27 15:25:12

seth
Member
Registered: 2012-09-03
Posts: 58,296

Re: [SOLVED] Broadcom Wifi network card not working

Boot the iso.
Do *NOT* chroot anywhere.

Obtain the outputs of

uname -a
pacman -Qs 'linux|broadcom'
pacman -Qlkk broadcom-wl
modinfo wl | head
lsmod
lspci -k
modprobe -v wl
ip a

In that order.
You can still create/mount some partition filesystem (or attach a second usb key or whatever) to store the data, but do *NOT* chroot away from the iso.

Online

#33 2022-02-27 15:29:22

ShamUsesArch
Member
Registered: 2022-02-22
Posts: 20

Re: [SOLVED] Broadcom Wifi network card not working

No installing/updating broadcom-wl drivers?

Offline

#34 2022-02-27 15:38:04

seth
Member
Registered: 2012-09-03
Posts: 58,296

Re: [SOLVED] Broadcom Wifi network card not working

They're supposed to be on the iso and I want to see the vanilla status.

Online

#35 2022-02-27 16:30:51

ShamUsesArch
Member
Registered: 2022-02-22
Posts: 20

Re: [SOLVED] Broadcom Wifi network card not working

 uname -a 
Linux archiso 5.16.4-arch1-1 #1 SMP PREEMPT Sat, 29 Jan 2022 19:08:13 +0000 x86_64 GNU/Linux

----

 pacman -Qs 'linux|broadcom' 
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'community' does not exist (use '-Sy' to download)
local/alsa-lib 1.2.6.1-1
    An alternative implementation of Linux sound support
local/alsa-utils 1.2.6-1
    Advanced Linux Sound Architecture - Utilities
local/arch-install-scripts 24-2
    Scripts to aid in installing Arch Linux
local/archinstall 2.3.1-1
    Just another guided/automated Arch Linux installer with a twist
local/archlinux-keyring 20220125-1
    Arch Linux PGP keyring
local/avahi 0.8+22+gfd482a7-3
    Service Discovery for Linux using mDNS/DNS-SD -- compatible with Bonjour
local/base 2-2
    Minimal package set to define a basic Arch Linux installation
local/brltty 6.4-8
    Braille display driver for Linux/Unix
local/broadcom-wl 6.30.223.271-359
    Broadcom 802.11 Linux STA wireless driver
local/drbl 2.30.5-1
    Diskless Remote Boot in Linux: manage the deployment of the GNU/Linux operating system across many clients
local/ecryptfs-utils 111-5
    Enterprise-class stacked cryptographic filesystem for Linux
local/efibootmgr 17-2
    Linux user-space application to modify the EFI Boot Manager
local/ell 0.48-1
    Embedded Linux library
local/exfatprogs 1.1.3-1
    exFAT filesystem userspace utilities for the Linux Kernel exfat driver
local/filesystem 2021.12.07-1
    Base Arch Linux files
local/hdparm 9.63-2
    A shell utility for manipulating Linux IDE drive/driver parameters
local/iptables 1:1.8.7-1
    Linux kernel packet control tool (using legacy interface)
local/keyutils 1.6.3-1
    Linux Key Management Utilities
local/kmod 29-1
    Linux kernel module management tools and library
local/libaio 0.3.112-2
    The Linux-native asynchronous I/O facility (aio) library
local/libcap-ng 0.8.2-6
    A library for Linux that makes using posix capabilities easy
local/libimobiledevice 1.3.0-5
    Library that talks the protocols to support iPhone and iPod Touch devices on Linux
local/liburing 2.1-1
    Linux-native io_uring I/O access library
local/linux 5.16.4.arch1-1
    The Linux kernel and modules
local/linux-api-headers 5.12.3-1
    Kernel headers sanitized for use in userspace
local/linux-atm 2.5.2-7
    Drivers and tools to support ATM networking under Linux.
local/linux-firmware 20220119.0c6a7b3-2
    Firmware files for Linux
local/linux-firmware-marvell 20220119.0c6a7b3-2
    Firmware files for Linux - marvell / Firmware for Marvell devices
local/linux-firmware-whence 20220119.0c6a7b3-2
    Firmware files for Linux
local/man-pages 5.13-1
    Linux man pages
local/mdadm 4.2-1
    A tool for managing/monitoring Linux md device arrays, also known as Software RAID
local/nvme-cli 1.16-2
    NVM-Express user space tooling for Linux
local/pacman-mirrorlist 20220116-1
    Arch Linux mirror list for use by pacman
local/squashfs-tools 4.5-1
    Tools for squashfs, a highly compressed read-only filesystem for Linux.
local/stoken 0.92-4
    RSA SecurID-compatible software token for Linux/UNIX systems
local/syslinux 6.04.pre2.r11.gbf6db5b4-3
    Collection of boot loaders that boot from FAT, ext2/3/4 and btrfs filesystems, from CDs and via PXE
local/udftools 2.3-1
    Linux tools for UDF filesystems and DVD/CD-R(W) drives
local/usb_modeswitch 2.6.1-1
    Activating switchable USB devices on Linux.
local/util-linux 2.37.3-1
    Miscellaneous system utilities for Linux
local/util-linux-libs 2.37.3-1
    util-linux runtime libraries

----

 pacman -Qlkk broadcom-wl 
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'community' does not exist (use '-Sy' to download)
broadcom-wl /usr/
broadcom-wl /usr/lib/
broadcom-wl /usr/lib/modprobe.d/
broadcom-wl /usr/lib/modprobe.d/broadcom-wl.conf
broadcom-wl /usr/lib/modules/
broadcom-wl /usr/lib/modules/5.16.4-arch1-1/
broadcom-wl /usr/lib/modules/5.16.4-arch1-1/extramodules/
broadcom-wl /usr/lib/modules/5.16.4-arch1-1/extramodules/wl.ko.xz
broadcom-wl /usr/share/
broadcom-wl /usr/share/licenses/
broadcom-wl /usr/share/licenses/broadcom-wl/
broadcom-wl /usr/share/licenses/broadcom-wl/LICENSE
broadcom-wl: 12 total files, 0 altered files

----

 modinfo wl | head 
filename:       /lib/modules/5.16.4-arch1-1/extramodules/wl.ko.xz
license:        MIXED/Proprietary
srcversion:     82717C37D209C7605FE2F16
alias:          pci:v*d*sv*sd*bc02sc80i*
depends:        cfg80211
retpoline:      Y
name:           wl
vermagic:       5.16.4-arch1-1 SMP preempt mod_unload 
parm:           passivemode:int
parm:           wl_txq_thresh:int

----

 lsmod 
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
	Subsystem: Dell Device 068e
	Kernel driver in use: hsw_uncore
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
	Subsystem: Dell Device 068e
	Kernel driver in use: i915
	Kernel modules: i915
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
	Subsystem: Dell Device 068e
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:04.0 Signal processing controller: Intel Corporation Haswell-ULT Thermal Subsystem (rev 09)
	Subsystem: Dell Device 068e
	Kernel driver in use: proc_thermal
	Kernel modules: processor_thermal_device_pci_legacy
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
	Subsystem: Dell Device 068e
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
	Subsystem: Dell Device 068e
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
	Subsystem: Dell Device 068e
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
	Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
	Subsystem: Dell Device 068e
	Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
	Subsystem: Dell Device 068e
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
	Subsystem: Dell Device 068e
	Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
	Subsystem: Dell Device 068e
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
00:1f.6 Signal processing controller: Intel Corporation 8 Series Thermal (rev 04)
	Subsystem: Dell Device 068e
	Kernel driver in use: intel_pch_thermal
	Kernel modules: intel_pch_thermal
01:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)
	Subsystem: Dell Device 0018
	Kernel driver in use: bcma-pci-bridge
	Kernel modules: bcma, wl

----

 modprobe -v wl 

Does not show any output.
----

 ip a 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever

Thanks for your time, hope you have a good day smile

Offline

#36 2022-02-27 16:45:53

seth
Member
Registered: 2012-09-03
Posts: 58,296

Re: [SOLVED] Broadcom Wifi network card not working

The package is there and intact and the kernel module therefore available, but not used for the chip (though considered)
You didn't post the output of "lsmod" but the empty "modprobe -v" output at least *suggests* that the module is already loaded.

Boot the iso, do *not* chroot anywhere but

modprobe -rv bcma wl # unload bcma and wl
modprobe -v wl # load the wl module
rfkill
ip a

Online

#37 2022-02-28 03:23:08

ShamUsesArch
Member
Registered: 2022-02-22
Posts: 20

Re: [SOLVED] Broadcom Wifi network card not working

Rfkill initial output:

ID TYPE      DEVICE      SOFT      HARD
 0 bluetooth hci0   unblocked unblocked

----

 modprobe -rv bcma wl 
rmmod bcma
rmmod wl
rmmod cfg80211

----

 modprobe -v wl 
insmod /lib/modules/5.16.4-arch1-1/kernel/net/wireless/cfg80211.ko.zst 
insmod /lib/modules/5.16.4-arch1-1/extramodules/wl.ko.xz 

----
Final Rkill output:

ID TYPE      DEVICE      SOFT      HARD
 0 bluetooth hci0   unblocked unblocked
 1 wlan      phy0   unblocked unblocked

----

 ip a 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/ether 9c:ad:97:de:1b:e1 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::9ead:97ff:fede:1be1/64 scope link 
       valid_lft forever preferred_lft forever

Man, I really appreciate helping me out and sticking with me all this while. I did try unloading and loading the modules even before I posted this but to no avail. Seems like I would update the broadcom-wl package everytime.

The rest is just to connect to the internet using wpa_supplicant, right?
Please correct me if I am wrong :D

Hope you have an awesome day =)

Offline

#38 2022-02-28 06:59:38

seth
Member
Registered: 2012-09-03
Posts: 58,296

Re: [SOLVED] Broadcom Wifi network card not working

I guess you were simply trying to reload the modules after chrooting into the existing system.
In case that's still an open question: I think the iso now uses iwd by default but assume wpa_supplicant is still available and will get the job done as well.

Online

Board footer

Powered by FluxBB