Broadcom-STA "wl" wifi drivers

Message
Author
ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

#201 Post by ozsouth »

Broadcom module for Xenialpup64 7.0.8.5 k 4.9.15 available via link below.
Need to skiplist b43, bcma, brcmsmac, ssb (in /etc/rc.d/MODULESCONFIG). Then copy wl.ko to /lib/modules/4.9.15/kernel/drivers/net/wireless.
Then run depmod in terminal & reboot. Connect via SNS. Will show as wlan0 (most likely).
http://s000.tinyupload.com/?file_id=978 ... 1942023666

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

#202 Post by belham2 »

ozsouth wrote:Broadcom module for Xenialpup64 7.0.8.5 k 4.9.15 available via link below.
Need to skiplist b43, bcma, brcmsmac, ssb (in /etc/rc.d/MODULESCONFIG). Then copy wl.ko to /lib/modules/4.9.15/kernel/drivers/net/wireless.
Then run depmod in terminal & reboot. Connect via SNS. Will show as wlan0 (most likely).
http://s000.tinyupload.com/?file_id=978 ... 1942023666
:shock:


:D You are the "wireless Broadcom man", Ozsouth. This is much appreciated (also thank you for the Slacko one previous msg). I'll test them out over the next few days and see how they work. Then I need to post about both of these in the Xenial64 and Slacko64 threads & link them to you here. Others will be interested, that's for sure.

Thanks again! :wink:

ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

#203 Post by ozsouth »

Glad to be useful, belham2.

ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

#204 Post by ozsouth »

Broadcom module for Slacko64 6.9.9.9 k 4.4.70 (new src) available via link below.
Need to skiplist b43, bcma, brcmsmac, ssb (in /etc/rc.d/MODULESCONFIG). Then copy wl.ko to /lib/modules/4.4.70/kernel/drivers/net/wireless.
Then run depmod in terminal & reboot. Connect via SNS. Will show as wlan0 (most likely).
http://s000.tinyupload.com/?file_id=811 ... 6036858202

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

Re: SUCCESS

#205 Post by belham2 »

ozsouth wrote:Ok, I've got updated source (July 2017) for 64bit wl driver - can now create newer modules. Must have kernel sources & devx for desired puppy loaded.
Then cd / and expand (tar -zxvf) source file attached. Then cd /hybrid_wl & run make.
http://s000.tinyupload.com/?file_id=043 ... 6757166267
Hi Ozsouth,

Ok, I decided I'd try to do one of these, follow what you wrote, and see what happens. Can you give me any tips what my stupid brain is not getting right? Much thanks.

I am in Barry's EasyLinux 0.6, I have his devx loaded, and also loaded his kernel-sources-patched-k4.13.2 (which is the kernel in easy). I performed all this in your extracted folder, via opened terminal, of the updated broadcom 64 wl driver. Here's the pics, they show what happened as it (terminal) stopped & exited itself right there, at the beginning (last pic is just the binutils, to make sure PPM showed they were installed given what the terminal error was saying):
Attachments
Screenshot(3).png
(25.12 KiB) Downloaded 620 times
Screenshot(4).png
(6.68 KiB) Downloaded 620 times
Screenshot(2).png
(225.75 KiB) Downloaded 624 times

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#206 Post by perdido »

hi belham, tell me to butt out and i will

is your extracted source in a directory named hybrid_wl ?

also, not sure if its important but you might try building from system root /hybrid_wl/ (your extracted source here)

ok butting out mode.....

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

#207 Post by belham2 »

perdido wrote:hi belham, tell me to butt out and i will

is your extracted source in a directory named hybrid_wl ?

also, not sure if its important but you might try building from system root /hybrid_wl/ (your extracted source here)

ok butting out mode.....

Yes, by all means, butt in, which is/was better than me stuck with my head up my butt wondering what to do. :lol: The result? You are running for Prez, Perdido. I'm going back to D.C. myself & throwing our twittering goofball out & installing your "butt" :wink:

This is where Barry's voodoo EasyLinux mystifies me (as a poor user) at times. Look at this pic below---how in blueblazes he!! am I supposed to know which root is root and which root is NOT root? Is not "root" the same thing as "~"?? And I was in "hybrid_wl" folder for the "root" one that failed, yet in "~" it worked. Dang, it's dam# voodoo is what it is. Heck, I didn't/don't even have any of those crazy Containers going in Easy at the moment so..... (p.s. thank you, as you can see it worked dragging "hybrid_wl" from "root" to "~", and running 'make' again).
Attachments
EasyLinux-voodoo-which-root-am-I-now.jpg
(101.59 KiB) Downloaded 611 times

User avatar
Pete22
Posts: 264
Joined: Fri 08 May 2009, 22:59
Location: Utah, USA

updated broadcom wifi drives

#208 Post by Pete22 »

ozsouth:

Thank you for making updated broadcom wifi files. I would love to use them, I tried to follow the instructions,
but I could not find the sbin file that I was to modify. I guess am not geeky enough to understand the directions.

Can you or someone else make packages for the preinstall and/or post install directions so I could use these pets?


Pete

ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

#209 Post by ozsouth »

A few pages back, I said I was a tinkerer who's had some success. belham2 showed above that my compile method needed tweaking for his system.
@Pete22, I'm struggling to understand where sbin is needed. My wl.ko modules, when downloaded, go in
/lib/modules/(insert your kernel no. here)/kernel/drivers/net/wireless
Then in a terminal, run depmod. Then modify /etc/rc.d/MODULESCONFIG in a text editor by adding to the line which begins SKIPLIST=
Remember to have a space either side of each entry, i.e. SKIPLIST=" arcfb b43 bcma brcmsmac ssb
then save and reboot.

ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

#210 Post by ozsouth »

For XenialPup64 7.0.8.6 wl driver: http://murga-linux.com/puppy/viewtopic. ... &start=412


Edit: I actually made a working driver from the source I provided earlier on this page just as a test.

Ed Howdershelt
Posts: 70
Joined: Sat 16 Apr 2011, 04:18
Location: Spring Hill, FL
Contact:

Dell XT3 and Broadcom BCM43228-my solution

#211 Post by Ed Howdershelt »

Dell XT3 and Broadcom BCM43228-my solution
Battle with wireless hardware
Short story: I won, and I offer a possible quick and easy solution to all others fighting with proprietary cards like the BCM43228.

I'm a long-time user of Linux, not a total noob, and I'm not afraid of CLI stuff. I switched completely away from Windows to Mint in 2005 and Puppy's been my boot default since 2009 or so. I'm currently running Puppy Tahr on 4 lappies and a desktop in dual boots with Mint 18.2.

BUT... after a few hours of combing the net (and this forum in particular) for some reasonably simple way to make the XT3's wifi work, I got sick of trying to adjust and/or create drivers and just removed the BCM43228 card.

Having had no problems at all with wifi in a Dell 2110, a Toshiba Portege 750M, and a bunch of other older Dell lappies that have passed through my hands over the last few years, I went here:

https://www.parts-people.com/blog/2015/ ... tallation/
and matched up card numbers from lappies that hadn't had problems with Puppy or Mint.
One of their techs spent some time on the phone with me verifying my findings and I ended up buying one of these for ten bucks:

https://www.parts-people.com/index.php? ... em&id=9299 - a Dell Wireless 1501 Draft N Wireless WiFi 802.11 a/b/g/n Half-Height Mini-PCI Express Card - #K5Y6D

When I booted up after swapping out the cards, both Linuxes found and loved the new card. Problem solved.

The next time I sell one of these lappies, it'll very likely go to a Windows user, so I can put the Broadcom card in it and be rid of it.

This note isn't meant to be a promo for my website or parts-people's, but it IS a recommendation to check out their database. Thorough infos and pictures and FREE to browse.

Hope this helps someone else get past a proprietary card,
Ed
Ed Howdershelt - Abintra Press
Science Fiction & Semi-Fiction
http://abintrapress.com (blog)

User avatar
lisek
Posts: 80
Joined: Thu 14 Feb 2008, 09:05
Location: PL

#212 Post by lisek »

Hi!
Could someone guru wifi put drivers for broadcom 43142 into slako64 or tahr64 so I could try wifi connection in live session without installing puppy to hd.
Is it stupid question / petition?

ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

#213 Post by ozsouth »

See previous page(14).

If you have Slacko64 6.9.9.9 kernel 4.9.30, you can load the wl driver from the link below, by downloading the .pet file & clicking on it in Rox-Filer.

http://murga-linux.com/puppy/viewtopic. ... &start=198

User avatar
lisek
Posts: 80
Joined: Thu 14 Feb 2008, 09:05
Location: PL

#214 Post by lisek »

Where can I download Slacko64 6.9.9.9 with kernel 4.9.30?
Here is:
http://puppylinux.com/
Slackware64 14.1 64-bit Slacko64 Puppy 6.3.2

edit:
ok, got it already:)

jppuppy
Posts: 3
Joined: Tue 09 Jan 2018, 19:16

Re: How-to

#215 Post by jppuppy »

peebee wrote:
mavrothal wrote:Anyone has wl module for slacko64-6.3.0. (k 4.1.11) or Tahr64-6.0.5 (k 3.14.54)?
If not, can someone point to the sources, patches and any special module making instructions? (long thread to search :oops: )
Hi Mav

Check current version (currently 6.30.223.271) from:
http://www.broadcom.com/support/802.11

Get the most recent patched source from ubuntu or debian - e.g. from:
https://launchpad.net/ubuntu/+source/br ... .223.271-7
(try upping the last number to get latest) get
https://launchpad.net/ubuntu/+archive/p ... rig.tar.xz

Extract the sources for the required arch - i386 or amd64 and have a look in broadcom-sta-6.30.223.271/amd64/src/wl/sys and check the latest kernel mentioned LINUX_VERSION in:
wl_cfg80211_hybrid.c
wl_linux.c

(Currently = 4.2.0 so 4.1.11 and 3.14.54 should be ok)

patch wl_linux.c at about line #220 - change eth% to wlan%

In a system with devx and kernel sources installed, open a terminal in the extracted sources folder and type:
make

Result if compilation finishes without errors is wl.ko in the folder

If the compilation fails and your kernel is later than the one above, search the web for suitable patches!!

Package as a .pet for the particular kernel (i.e. correct name for /lib/modules/xxxx/kernel/drivers/net/wireless) with a pinstall.sh that just calls depmod -a

Test - install the .pet, then:
modprobe wl
lsmod
dmesg

to check that the new module loads without errors

then in a running system, blacklist whatever drivers were claiming the wifi device

upload to a repository and share....

Cheers
peebee
Hi guys,
I've been struggling with compiling broadcom-wl driver for some time.
I'm using broadcom-sta-6.30.223.271 amd64.

I've got stuck at compilation error

Code: Select all

ld: Relocatable linking with relocations from format elf64-x86-64 (/root/Downloads/broadcom-sta-6.30.223.271/amd64/lib/wlc_hybrid.o_shipped) to format elf32-i386 (/root/Downloads/broadcom-sta-6.30.223.271/amd64/wl.o) is not supported
I do it on amd 64 bit processor and wonder how to set up any make parameter to sort it out.

I've tried so far sth like:

Code: Select all

make ARCH=x86_64
but with no luck.

Do you guys have any ideas?

ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

#216 Post by ozsouth »

Which Puppy are you using to do this (version no., kernel and 32 or 64bit)? Looks like a 32/64bit mismatch between source used & Puppy used.

jppuppy
Posts: 3
Joined: Tue 09 Jan 2018, 19:16

#217 Post by jppuppy »

Hi, I'm using:

puppy_tahr64_6.0.6.sfs
kernel_sources-3.14.79-tahr.sfs
devx_tahr64_6.0.6.sfs
kernel version: 3.14.79

My laptop has 64 bit amd processor.

Code: Select all

# uname -a
Linux puppypc30702 3.14.79 #1 SMP PREEMPT Sat Dec 10 14:04:42 GMT 2016 x86_64 x86_64 x86_64 GNU/Linux
Driver sources (https://launchpad.net/ubuntu/+archive/p ... rig.tar.xz)
have two directories: amd64 and i386.
I run make inside amd64

ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

Re: wl driver for Tahrpup64 6.0.6 k 3.14.79

#218 Post by ozsouth »

You are using 32bit source with a 64bit puppy - previous few pages have links to 64 bit source & a working driver for your Tahrpup - see quotes below.

64bit source:
ozsouth wrote:Ok, I've got updated source (July 2017) for 64bit wl driver - can now create newer modules. Must have kernel sources & devx for desired puppy loaded. Then cd / and expand (tar -zxvf) source file attached. Then cd /hybrid_wl & run make.
http://s000.tinyupload.com/?file_id=043 ... 6757166267
Tahr64 driver:
ozsouth wrote:Broadcom module for Tahrpup64 k3.14.79 available via link
http://s000.tinyupload.com/?file_id=671 ... 8141797896

Need to skiplist b43, bcma, brcmsmac, ssb (in /etc/rc.d/MODULESCONFIG). Then copy wl.ko to /lib/modules/3.14.79/kernel/drivers/net/wireless.
Then run depmod in terminal & reboot. Connect via SNS. Will show as eth1 (most likely).

jppuppy
Posts: 3
Joined: Tue 09 Jan 2018, 19:16

#219 Post by jppuppy »

Yes, it works!
Thank you for the help!

Directly downloaded wl.ko worked immediately, however compiling still threw errors about architecture.

Finally I've run in /usr/src/linux

Code: Select all

make mrproper
make oldconfig
make modules_prepare
That created proper config files with architecture variables etc.

Then compilation of the driver finished successfully.

ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

#220 Post by ozsouth »

Excellent. When I've messed around in /usr/src/linux, with each failed attempt I run 'make clean', which restores the original config. If you don't do it each time, it needs recreating.

Post Reply