Thanks for the replies.
I must admit I'm a bit a dummy when it comes to this stuff which is why I
wanted to go through the whole LFS process to try and learn a bit.
I've attached the tree of the bcmwl-kernel-source debian package.
Do I have to compile any files? Or do I just need to move them into the
right place in the file system?
I know is looking for something in /lib/modules/4.9.9/ called
"wl". Is it looking for a single file called "wl" or a directory, or...?
Could a rebuild my kernel and have it include a driver from list below? If
so which file?
Thanks
/mnt/lfs/sources/bcmwl-6.30.223.271+bdcom/
├── built-in.o
├── dkms.conf
├── lib
│ ├── LICENSE.txt
│ └── wlc_hybrid.o_shipped_x86_64
├── Makefile
├── patches
│ ├── 0001-MODULE_LICENSE.patch
│ ├── 0002-Makefile.patch
│ ├── 0003-Make-up-for-missing-init_MUTEX.patch
│ ├── 0004-Add-support-for-Linux-3.2.patch
│ ├── 0005-add-support-for-linux-3.4.0.patch
│ ├── 0006-add-support-for-linux-3.8.0.patch
│ ├── 0007-nl80211-move-scan-API-to-wdev.patch
│ ├── 0008-add-support-for-linux-3.9.0.patch
│ ├── 0009-add-support-for-linux-3.10.0.patch
│ ├── 0010-change-the-network-interface-name-from-eth-to-wlan.patch
│ ├── 0011-do-not-define-__devinit-as-__init-in-linux-3.8-as-__.patch
│ ├── 0012-add-support-for-Linux-3.15.patch
│ ├── 0013-gcc.patch
│ ├── 0014-add-support-for-Linux-3.17.patch
│ ├── 0015-add-support-for-Linux-3.18.patch
│ ├── 0016-repair-make-warnings.patch
│ ├── 0017-add-support-for-Linux-4.0.patch
│ ├── 0018-cfg80211_disconnected.patch
│ ├── 0019-broadcom-sta-6.30.223.248-3.18-null-pointer-fix.patch
│ ├── 0020-add-support-for-linux-4.3.patch
│ ├── 0021-add-support-for-Linux-4.7.patch
│ └── 0022-add-support-for-Linux-4.8.patch
└── src
├── common
│ └── include
│ └── proto
│ ├── 802.11.h
│ ├── 802.1d.h
│ ├── bcmeth.h
│ ├── bcmevent.h
│ ├── bcmip.h
│ ├── ethernet.h
│ ├── ieee80211_radiotap.h
│ └── wpa.h
├── include
│ ├── bcmcrypto
│ │ └── tkhash.h
│ ├── bcmdefs.h
│ ├── bcmendian.h
│ ├── bcmutils.h
│ ├── epivers.h
│ ├── linux_osl.h
│ ├── linuxver.h
│ ├── osl.h
│ ├── packed_section_end.h
│ ├── packed_section_start.h
│ ├── pcicfg.h
│ ├── siutils.h
│ ├── typedefs.h
│ └── wlioctl.h
├── shared
│ ├── bcmwifi
│ │ └── include
│ │ ├── bcmwifi_channels.h
│ │ └── bcmwifi_rates.h
│ ├── linux_osl.c
│ └── linux_osl.o
└── wl
└── sys
├── bcmdefs.h
├── bcmendian.h
├── bcmutils.h
├── epivers.h
├── include
│ ├── bcmcrypto
│ │ └── tkhash.h
│ ├── bcmdefs.h
│ ├── bcmendian.h
│ ├── bcmutils.h
│ ├── epivers.h
│ ├── linux_osl.h
│ ├── linuxver.h
│ ├── osl.h
│ ├── packed_section_end.h
│ ├── packed_section_start.h
│ ├── pcicfg.h
│ ├── siutils.h
│ ├── typedefs.h
│ └── wlioctl.h
├── linux_osl.h
├── linuxver.h
├── osl.h
├── packed_section_end.h
├── packed_section_start.h
├── pcicfg.h
├── siutils.h
├── typedefs.h
├── wlc_ethereal.h
├── wl_cfg80211_hybrid.c
├── wl_cfg80211_hybrid.h
├── wlc_key.h
├── wlc_pub.h
├── wlc_types.h
├── wlc_utils.h
├── wlc_wowl.h
├── wl_dbg.h
├── wl_export.h
├── wlioctl.h
├── wl_iw.c
├── wl_iw.h
├── wl_linux.c
└── wl_linux.h
15 directories, 94 files
Andrew Dance
n32...@gmail.com
(585)348-0928
On Thu, Jul 6, 2017 at 12:49 PM, Tim Tassonis wrote:
> On July 6, 2017 7:56:02 PM Andrew Dance wrote:
>
> > Hi all!
> >
> > I've been tinkering with LFS on my Macbook Pro Retina and have managed to
> > get it booted up. However, I'm having trouble getting my wifi card to
> work.
> >
> > It's a Broadcom bcm4360. There are 2 flavors, evidently. Standard b43
> > drivers don't work on mine, so I have to use something called 'wl'.
> >
> > On my Ubuntu installation, I did...
> >
> > *apt-get install bcmwl-kernel-source*
> >
> > and then followed with..
> >
> > *modprobe wl*
> >
> > This worked great for Ubuntu.
> >
> > Questions is; how do I replicate this process in LFS without a package
> > manager like 'dpkg'
> >
> > I tried unpacking the debian package but could make any sense of it.
>
> This is how you unpack a dpkg:
> mkdir tmp
> cd tmp
> ar xf ../your.pkg
> tar xf data.*
> tar xf control.*
>
> Then you get some dirs with files, where stuff under