Re: [lfs-support] bcmwl-kernel-source

2017-07-07 Thread Andrew Dance
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 

Re: [lfs-support] Configuration files -/etc/bashrc, /etc/dircolors, or /etc/profile in LFS-version7.10-systemd

2017-07-07 Thread gmoore606

> On Jul 7, 2017, at 2:29 PM, Dr. George E. Moore  wrote:
> 
> On Tue, 2017-07-04 at 21:07 -0500, Bruce Dubbs wrote:
>> Dr. George E. Moore wrote:
>>> I've successfully built LFS version 7.10-systemd. In section 9.3 it
>>> indicate that a review of the configuration files is appropriate. It
>>> references /etc/bashrc, /etc/dircolors and /etc/profile. yet at no time
>>> in the book are these files configured. Is this an oversight, i.e.,
>>> should there be configuration instructions for these file as well?
>> 
>> See http://www.linuxfromscratch.org/blfs/view/systemd/postlfs/profile.html
>> 
>> Perhaps we should put that link on the Rebooting page.
>> 
>>> Once the system is booted, I'm able to "useradd" yet the HOME directory,
>>> though indicated in the /etc/passwd is not the directory for the user at
>>> login.
>> 
>> When you used useradd, did you use the -m option ?
> 
> I did not. 

Forgot about the -m option. Thanks
>> 
>>  -- Bruce
>> 
>> 
> 
> -- 
> Dr. George E. Moore Ph.D
> 
> -- 
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
> 
> Do not top post on this list.
> 
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
> 
> http://en.wikipedia.org/wiki/Posting_style




Dr. George E. Moore Ph.D.
gmoore...@gmail.com



-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Configuration files -/etc/bashrc, /etc/dircolors, or /etc/profile in LFS-version7.10-systemd

2017-07-07 Thread Dr. George E. Moore
On Tue, 2017-07-04 at 21:07 -0500, Bruce Dubbs wrote:
> Dr. George E. Moore wrote:
> > I've successfully built LFS version 7.10-systemd. In section 9.3 it
> > indicate that a review of the configuration files is appropriate. It
> > references /etc/bashrc, /etc/dircolors and /etc/profile. yet at no time
> > in the book are these files configured. Is this an oversight, i.e.,
> > should there be configuration instructions for these file as well?
> 
> See http://www.linuxfromscratch.org/blfs/view/systemd/postlfs/profile.html
> 
> Perhaps we should put that link on the Rebooting page.
> 
> > Once the system is booted, I'm able to "useradd" yet the HOME directory,
> > though indicated in the /etc/passwd is not the directory for the user at
> > login.
> 
> When you used useradd, did you use the -m option ?

I did not. 
> 
>-- Bruce
> 
> 

-- 
Dr. George E. Moore Ph.D

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style