Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 20 Nov 2018, 21:33
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Networking » Wireless
Broadcom-STA "wl" wifi drivers
Post new topic   Reply to topic View previous topic :: View next topic
Page 15 of 16 [231 Posts]   Goto page: Previous 1, 2, 3, ..., 13, 14, 15, 16 Next
Author Message
Ed Howdershelt

Joined: 16 Apr 2011
Posts: 73
Location: Spring Hill, FL

PostPosted: Fri 03 Nov 2017, 01:00    Post subject: Dell XT3 and Broadcom BCM43228-my solution
Subject description: Battle with wireless hardware
 

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/05/20/dell-latitude-xt3-wireless-wwan-card-removal-and-installation/
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?action=item&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)
Back to top
View user's profile Send private message Visit poster's website 
lisek


Joined: 14 Feb 2008
Posts: 80
Location: PL

PostPosted: Wed 08 Nov 2017, 16:18    Post subject:  

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?
Back to top
View user's profile Send private message 
ozsouth

Joined: 01 Jan 2010
Posts: 394
Location: S.E Australia

PostPosted: Thu 09 Nov 2017, 00:42    Post subject:  

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.php?t=76495&start=198
Back to top
View user's profile Send private message 
lisek


Joined: 14 Feb 2008
Posts: 80
Location: PL

PostPosted: Thu 09 Nov 2017, 13:46    Post subject:  

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:)
Back to top
View user's profile Send private message 
jppuppy

Joined: 09 Jan 2018
Posts: 3

PostPosted: Thu 18 Jan 2018, 17:23    Post subject: Re: How-to  

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 Embarassed )

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/broadcom-sta/6.30.223.271-7
(try upping the last number to get latest) get
https://launchpad.net/ubuntu/+archive/primary/+files/broadcom-sta_6.30.223.271.orig.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:
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:
make ARCH=x86_64

but with no luck.

Do you guys have any ideas?
Back to top
View user's profile Send private message 
ozsouth

Joined: 01 Jan 2010
Posts: 394
Location: S.E Australia

PostPosted: Thu 18 Jan 2018, 18:45    Post subject:  

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.
Back to top
View user's profile Send private message 
jppuppy

Joined: 09 Jan 2018
Posts: 3

PostPosted: Tue 23 Jan 2018, 16:23    Post subject:  

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:

# 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/primary/+files/broadcom-sta_6.30.223.271.orig.tar.xz)
have two directories: amd64 and i386.
I run make inside amd64
Back to top
View user's profile Send private message 
ozsouth

Joined: 01 Jan 2010
Posts: 394
Location: S.E Australia

PostPosted: Tue 23 Jan 2018, 18:53    Post subject: Re: wl driver for Tahrpup64 6.0.6 k 3.14.79  

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=04330085826757166267


Tahr64 driver:

ozsouth wrote:
Broadcom module for Tahrpup64 k3.14.79 available via link
http://s000.tinyupload.com/?file_id=67170278768141797896

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).
Back to top
View user's profile Send private message 
jppuppy

Joined: 09 Jan 2018
Posts: 3

PostPosted: Thu 25 Jan 2018, 15:04    Post subject:  

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:
make mrproper
make oldconfig
make modules_prepare


That created proper config files with architecture variables etc.

Then compilation of the driver finished successfully.
Back to top
View user's profile Send private message 
ozsouth

Joined: 01 Jan 2010
Posts: 394
Location: S.E Australia

PostPosted: Thu 25 Jan 2018, 18:59    Post subject:  

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.
Back to top
View user's profile Send private message 
ozsouth

Joined: 01 Jan 2010
Posts: 394
Location: S.E Australia

PostPosted: Sat 03 Mar 2018, 06:45    Post subject: No longer doing broadcom wireless  

I have replaced the bcm43132 card in my laptop (with an Atheros) so can no longer test & will not be making any more wl drivers.

Update: I tried to make a driver for the new LxpupSc64 18.03, just as a last hurrah, but the July 2017 source wouldn't compile.
Back to top
View user's profile Send private message 
ozsouth

Joined: 01 Jan 2010
Posts: 394
Location: S.E Australia

PostPosted: Fri 27 Apr 2018, 09:44    Post subject:  

Well, I compiled a 64bit kernel 4.9.94, and whilst testing, found I could make a wl driver for it. I can't test it, but it compiled & loaded ok.
Edit: found a nearly-dead machine to test - am posting from it - module works.
http://s000.tinyupload.com/?file_id=08725749204323648854

Need to first swap in the new kernel (has Spectre/Meltdown mitigation) - see here:
http://murga-linux.com/puppy/viewtopic.php?p=989954#989954
Back to top
View user's profile Send private message 
ozsouth

Joined: 01 Jan 2010
Posts: 394
Location: S.E Australia

PostPosted: Mon 30 Apr 2018, 08:38    Post subject:  

I made a wl driver for Slacko64 kernel 4.4.126 (by Sailor Enceladus). I can't test it, but it compiled & loaded ok. Driver from above post using same source was briefly able to be tested - ok, so this one should work too. http://s000.tinyupload.com/?file_id=25202825508037883008

Edit: now confirmed working
.

Last edited by ozsouth on Thu 03 May 2018, 02:07; edited 1 time in total
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 2273
Location: In The Way

PostPosted: Mon 30 Apr 2018, 15:42    Post subject:  

Please build the module for 4.16.5 x86_64!

Could you post your source package and method text file?
Back to top
View user's profile Send private message MSN Messenger 
ozsouth

Joined: 01 Jan 2010
Posts: 394
Location: S.E Australia

PostPosted: Mon 30 Apr 2018, 19:51    Post subject:  

Alas, the source (below) does not compile after kernel 4.9, hence then 4.9.94 64bit kernel I posted (see above).
Update: seems to work regardless.

The 64bit wl source is at http://s000.tinyupload.com/?file_id=04330085826757166267

Latest Method: Must have kernel sources & devx in desired puppy loaded. Then cd / and expand (tar -zxvf) source file attached.
Then cd /hybrid_wl & run 'make clean' then 'make'. Need to skiplist b43, bcma, brcmsmac, ssb (in /etc/rc.d/MODULESCONFIG).
Then copy wl.ko to /lib/modules/(kernel no.)/kernel/drivers/net/wireless. Then run depmod in terminal. Reboot.
.

Last edited by ozsouth on Thu 03 May 2018, 02:13; edited 2 times in total
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 15 of 16 [231 Posts]   Goto page: Previous 1, 2, 3, ..., 13, 14, 15, 16 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Networking » Wireless
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0855s ][ Queries: 13 (0.0351s) ][ GZIP on ]