LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 01-25-2021, 01:46 PM   #1
drjdmartin
LQ Newbie
 
Registered: Jan 2021
Posts: 2

Rep: Reputation: Disabled
LFS 10 Systemd: Broadcom Wifi not detected


Hi,

I have a fairly ancient laptop with a Broadcom BCM4318 wifi card which I'm using for Linux projects. I've recently built LFS 10 with systemd and it works fine with a wired connection, but I'm struggling with Wifi. I have a working Debian 10 XFCE installation to compare to.

I've attempted to extract the b43 firmware using the b43-fwcutter-019 package and the broadcom-wl-5.100.138 firmware. In /lib/firmware I can see a b43 directory with the expected files when compared to Debian's result after running firmware-b43-installer.

I've installed wpa_supplicant and dhcpcd to manage the connections but the wifi card doesn't seem to be loaded and available. iwconfig lists lo, enp6s8 and sit0 with no wireless extension. lsmod lists nothing. Running
Code:
modprobe b43
gives
Code:
modprobe: FATAL: Module b43 not found in directory /lib/modules/5.8.3
.

I feel like I've missed out something fundamental but as far as I can see the kernel compilation included the correct wireless settings. Any ideas what to check next?

Thanks,

James

Last edited by drjdmartin; 01-25-2021 at 01:47 PM.
 
Old 01-26-2021, 02:55 PM   #2
drjdmartin
LQ Newbie
 
Registered: Jan 2021
Posts: 2

Original Poster
Rep: Reputation: Disabled
OK I worked it out. I had made a number of errors some of which will seem quite obvious...

It seems I hadn't found the options needed in the make menuconfig stage of configuring the kernel, so I hadn't compiled the kernel properly. Under device drivers -> network device support -> wireless lan were all the listings of the drivers I needed. So I selected the Broadcom 43xx support and the 4 options below for ...-PHY (not sure whether those are needed). NB - I needed to compile the Broadcom 43xx support as a module, i.e. make sure it was selected with an M not a *. Compiling it as a module would mean that the 3rd party firmware needed could be loaded. So I recompiled the kernel and installed the new kernel and modules.

Once I had done this I rebooted and saw that dmesg | grep b43 showed there was some activity with loading the wifi interface. Issuing modprobe b43 brought the wifi device onto the ip link listing. So finally I created a file /etc/modules with the single entry b43.ko in order that the b43 module would load at boot time automatically.

From this point on using wpa-supplicant and DHCP worked fine as per the BLFS manual.

This is actually part of what I wanted to understand better by compiling a system from scratch as I had no idea why my wifi would work easily with some distributions and not others, and sometimes not even some variants of the same distribution! Now I at least know where to look...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] LFS 9.0 systemd: Does the LFS partition need to be a GPT or can it be msdos? davecan Linux From Scratch 3 01-08-2020 12:14 PM
[SOLVED] wlan/wifi/wireless/Broadcom not detected on CentOS6.8 guest(Oracle VM virtualbox) KavithaNM Linux - Virtualization and Cloud 6 06-09-2017 12:45 PM
Wifi is not detected in my desktop[using usb wifi adapater supporting RTL8192EU] saugata28 Linux - Networking 3 02-14-2017 04:28 PM
[SOLVED] LFS 6.7 : $LFS/sources and $LFS/tools folders missing prakashsince92 Linux From Scratch 5 12-09-2010 02:26 PM
broadcom wifi no longer detected after upgrade neo_cool_XIIK Fedora 2 12-17-2007 01:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration