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 Sun 20 Apr 2014, 01:25
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to install Broadcom STA driver on Puppy 5
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 4 [50 Posts]   Goto page: 1, 2, 3, 4 Next
Author Message
piratesmack


Joined: 16 Sep 2009
Posts: 100

PostPosted: Fri 21 May 2010, 01:45    Post subject:  How to install Broadcom STA driver on Puppy 5
Subject description: kernel 2.6.33.2
 

Update: You can use the precompiled driver attached to the post below

I had some trouble getting this to build with the 2.6.33.2 kernel and thought maybe others are having trouble, too.

These instructions assume you have a 'frugal' install.


    First, download the devx and kernel source SFS modules. You can connect to the internet wired or download the files from another computer

    Add them to boot by going to Setup...Configure startup of Puppy...Choose which extra SFS files to load at boot up

    Now reboot...

    It seems the kernel source wasn't properly prepared for building extra modules, so do that with:
    Code:

    ( cd /usr/src/linux && make prepare )


    Download the latest broadcom sta driver from here
    http://www.broadcom.com/support/802.11/linux_sta.php

    Now extract it:
    Code:

    mkdir broadcom-sta && cd broadcom-sta
    tar xvf ../hybrid-portsrc-*.tar.gz


    Build the module:
    Code:

    make


    Install it:
    Code:

    make install
    depmod


    Now you need to blacklist b43 and ssb, you can do that by going to Setup...Configure startup of Puppy...Blacklist a module

    For some reason, the ssb module was still loading. So I had to add this to /etc/rc.d/rc.local:
    Code:

    rmmod ssb
    modprobe -r wl
    modprobe wl



And reboot once more

The end

Last edited by piratesmack on Sun 19 Dec 2010, 19:19; edited 5 times in total
Back to top
View user's profile Send private message 
jameskinds

Joined: 20 Oct 2008
Posts: 8

PostPosted: Tue 25 May 2010, 04:08    Post subject:  

Would it be possible to post a compiled version of the drive?

Thanks in advance. Smile
Back to top
View user's profile Send private message 
piratesmack


Joined: 16 Sep 2009
Posts: 100

PostPosted: Tue 25 May 2010, 19:48    Post subject:  

A pet package is attached

Instructions:
1) Install package
2) Blacklist b43/ssb
3) Restart computer

Tested/working for me on LupQ 511

Edit:

The following are delta patches that can be applied to the original lupu-XXX.iso to add Broadcom STA. These should work better than the pet package, but will need to be created for each new Puppy release. I will try to create them shortly after every release.

Latest version::
lupu-525.iso___lupu-525_bcmwlmod.iso.delta (MD5)
Apply to Lucid 5.2.5

Older versions:
lupu-520.iso___lupu-520_bcmwlmod.iso.delta (MD5)
Apply to Lucid 5.2

Instructions (for Puppy Linux):
-Download one of the delta files above and the corresponding "lupu-XXX.iso"
-Place both the delta and ISO file in the same folder
-Open the delta file and choose 'generate'
-Burn the generated 'lupu-XXX_bcmwlmod.iso' to a CD or install to a USB drive
broadcom_sta-5.6.48.36-i486.pet
Description  Broadcom STA driver for kernel 2.6.33.2
pet

 Download 
Filename  broadcom_sta-5.6.48.36-i486.pet 
Filesize  805.36 KB 
Downloaded  5306 Time(s) 

Last edited by piratesmack on Sun 03 Apr 2011, 11:40; edited 6 times in total
Back to top
View user's profile Send private message 
pzkfwg

Joined: 11 Aug 2010
Posts: 5

PostPosted: Thu 12 Aug 2010, 20:08    Post subject:  Fantastic how-to!  

I searched days long how to compile the drivers but somehow, the keywords were not the proper one so I found your guide after quite some days.

The replacement of "linux" by "generated" in "#include <linux/autoconf.h>" was all but evident for a newbie like me. How did you find out? Also, removing the b43 and ssb module was important for me too, but I had ohci_hcd that was depending on ssb, so I had to add it too to your loop in rc.local.

My WPC600N / Broadcom BCM4321 / BCM43XX / 4321 is now working great (adding some keywords here for Google Wink )
Back to top
View user's profile Send private message 
piratesmack


Joined: 16 Sep 2009
Posts: 100

PostPosted: Thu 19 Aug 2010, 05:25    Post subject: Re: Fantastic how-to!  

I later figured out that the reason ssb still gets loaded even if you blacklist it is because it is loaded very early inside the initrd.

I also ran into the problem with ohci_hcd depending on ssb. A little annoying on my brother's laptop because his USB mouse doesn't work without ochi_hcd, but wl doesn't work when ssb is loaded.

pzkfwg wrote:
The replacement of "linux" by "generated" in "#include <linux/autoconf.h>" was all but evident for a newbie like me. How did you find out?


'make' complained that it couldn't find 'linux/autoconf.h', so I looked at my kernel headers and noticed that autoconf.h was moved in the newer kernels. Broadcom actually has a patch on their site that fixes the header path now
http://www.broadcom.com/docs/linux_sta/sta_5.60.48.36_2.6.33_kernel_patch.zip

Last edited by piratesmack on Sun 19 Dec 2010, 19:30; edited 1 time in total
Back to top
View user's profile Send private message 
arfis

Joined: 24 Aug 2010
Posts: 2

PostPosted: Wed 25 Aug 2010, 09:45    Post subject:  

you can find it in http://www.chinaexpatforum.com/
Back to top
View user's profile Send private message 
piratesmack


Joined: 16 Sep 2009
Posts: 100

PostPosted: Sat 06 Nov 2010, 11:37    Post subject:  

I've rebuilt my pet package (see post above)

If you were having problems with the old package, you should try the new one.
Back to top
View user's profile Send private message 
Ed C.

Joined: 17 Dec 2010
Posts: 1

PostPosted: Fri 17 Dec 2010, 14:06    Post subject: Works for Acer Aspire One 533  

Thanks for this .pet solution! It worked perfectly for my new netbook, an Acer Aspire One 533, which comes with a Broadcom 4313 wireless. A lot of posts all over the net seem to think this hardware works with the older "43xx" or "b43Legacy" drivers, but it does not!

I was almost ready to give up on using my Puppy (my favorite linux) version 5.11 because neither the wired nor the wireless driver worked out of the box.

I copied it to a thumb drive and double-clicked it, and the driver loaded flawlessly from the "Connect" tool. (I had tried what I believe was an older version that failed, but this one worked.)

Thank you again for making me a happy puppy user.
Back to top
View user's profile Send private message 
piratesmack


Joined: 16 Sep 2009
Posts: 100

PostPosted: Sun 19 Dec 2010, 19:27    Post subject:  

Thanks for testing.

I was unsure if the pet was working for anybody but me Smile
Back to top
View user's profile Send private message 
dansole

Joined: 08 Feb 2009
Posts: 2
Location: Ravenshoe, QLD

PostPosted: Sun 02 Jan 2011, 19:41    Post subject: quirky nop 1.2  

That's great work!
just what i needed.
installed seamlessly on puppy nop 1.2
thanks,
dan
Back to top
View user's profile Send private message 
edisonl

Joined: 17 Jan 2011
Posts: 11

PostPosted: Sat 22 Jan 2011, 08:22    Post subject:  

Hi piratesmack,

Someone recommended this post as a 'remedy' for my issues with wireless connection to download browser using puppy linux 5.2.

I gotten stuck till the steps of 'unTAR'

mkdir broadcom-sta && cd broadcom-sta
tar xvf ../hybrid-portsrc-*.tar.gz

Error Message: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now.

What I did was follow the link provided to download Broadcom driver in a pc that work for connection and transfered via thumb drive to the receving pc.

Not sure if I should go to the USB directory to Untar it, and have no idea how to go about it. hopefully you may want to provide some help. Smile
Back to top
View user's profile Send private message 
DaDrivel

Joined: 02 Oct 2010
Posts: 8

PostPosted: Sat 22 Jan 2011, 21:28    Post subject:  

The .pet file workes fine for me on Lupu 5.11 =)
I had issues to get it working on 5.2.. though I'm not sure, where exactly the problem was. Anyways, thanks for providing the package Very Happy

@edisonl:

Im not sure, if this helps, but:
Make sure, you downloaded the file at the parent directory of "broadcom-sta". And, when i downloaded the sourcecode, i recognized that the package isnt called "hybrid-portsrc-*.tar.gz" but "hybrid-portsrc_*.tar.gz"

Thanks again,
Greetings,
DaDrivel
Back to top
View user's profile Send private message 
edisonl

Joined: 17 Jan 2011
Posts: 11

PostPosted: Sat 22 Jan 2011, 22:59    Post subject:  

DaDrivel wrote:
The .pet file workes fine for me on Lupu 5.11 =)
I had issues to get it working on 5.2.. though I'm not sure, where exactly the problem was. Anyways, thanks for providing the package Very Happy

@edisonl:

Im not sure, if this helps, but:
Make sure, you downloaded the file at the parent directory of "broadcom-sta". And, when i downloaded the sourcecode, i recognized that the package isnt called "hybrid-portsrc-*.tar.gz" but "hybrid-portsrc_*.tar.gz"

Thanks again,
Greetings,
DaDrivel


hi DaDrivel,

Base on the instructions provided >> http://www.murga-linux.com/puppy/viewtopic.php?t=55792, the installation failed Rolling Eyes

Instructions:
1) Install package
2) Blacklist b43/ssb
3) Restart computer


Step 1: Install Package
sdb1>> click on>> "Click Ok to Confirm...blaa bla bla">> Network Setup wizard>> under Wireless wl module, Device Description: Broadcom 802.11b/g WLAN

Step 1 Outcome:
DONE Razz

Step 2: Blacklist b43/ ssb
2.1) Setup>> Configure Startup for puppy>> Click here to blacklist>> Look for B43/ SSB on the right lists click remove if found one (SSB/B43)
2.2) Manually run following command to remove ssb
rmmod ssb
modprobe -r wl
modprobe wl

Step2 Outcome:
DONE Laughing

Step3:Restart computer

Step3 Outcome:
DONE Very Happy

PS: I check my kernal version by running uname -r & confirm its version 2.6.33.2


Regards, Edison
Back to top
View user's profile Send private message 
DaDrivel

Joined: 02 Oct 2010
Posts: 8

PostPosted: Mon 24 Jan 2011, 15:04    Post subject:  

Ah, you used the .pet file now?
Well, another way to solve the problem Wink

I got this right.. You got it working now?
Just interested... Where was your problem compiling the module?
Im happy its working now Smile

Bye,
DaDrivel
Back to top
View user's profile Send private message 
The.Scarecrow

Joined: 24 Jan 2011
Posts: 1

PostPosted: Mon 24 Jan 2011, 18:03    Post subject:  

With thanks to piratesmack and this thread my first attempt at using Puppy is a success. Due to an annoying bank problem I needed to change my Linux banking Distro and Puppy on a 2GB SD card seems an excellent solution. Once I am happy with the configuration I can use it with the “write protect switch lock” on, securing my Puppy OS from attack.

The snag is that I use two Laptops, one new with Broadcom BCM4312 WiFi that wouldn’t work! Being a Newbee I tried following from the first post but “cd /usr/src/linux && make prepare” came up with no such directory and “make” no such command so I reverted to downloading “broadcom_sta-5.6.48.36-i486.pet” (third post) to my Home directory on the SD card, left click on the file and it installed.

Then I went to menu>System>BootManager configure bootup
Click here to “blacklist” a module button
Find b43 in the left window, click on it then click Add
b43 moves to the right window. Do the same for ssb. Click OK, then QUIT BootManager.

Reboot to save the changes to the SD card and you will then be using driver “wl pci: Broadcom 802.11b/g”. Which is working perfectly on my new Dell Laptop.

Its useful to know this is how you access the WiFi setup:
menu>setup>Internet Connection Wizard
Click Internet by wired of wireless LAN:
Click Network Wizard button to launch “Puppy Network Wizard” that lets you see what is going on.

Thanks again to all the contributors in this thread. Sorry for the long post but as a complete Newbee I found the advice in this thread hard to follow and I hope this may help others that have the same problem just after installing Puppy on a SD or USB stick for the first time.
Puppy 5.2 2.6.33.2
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 4 [50 Posts]   Goto page: 1, 2, 3, 4 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
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.0829s ][ Queries: 12 (0.0051s) ][ GZIP on ]