LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-05-2016, 06:55 PM   #1
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 461

Rep: Reputation: 21
slackware live 1.0.1, Broadcom 4318


Slackware live 1.0.1 usb creation was a breeze, and during dmesg, it appears that the b43 / ssb drivers are loading.

However I can't get the wl0 device started.

It was not clear that I needed to do anything in /etc/pcmcia, either.

dmesg suggests going to kernel.org for the Broadcom drivers, but they appear to install during boot. When I google the B43xx I find stuff which references 3.5 kernels, which the slackware live is not.

Has anyone else looked at this?

The target machine is a compaq 2220, so I am using the 32 bit ISO.


addendum: found wirelesslinux.org, and reading there. I realize that this is the first wireless linux platform I have had after using slackware 1.0 years ago!
second addendum: so I found a slack wiki, and then wireless.wiki.kernel.org, which appears to be the most recent.
If I am interpreting things correctly, I have the b43 driver on the slacklive distribution, and apparently it is supposed to load the firmware into the Broadcom 4318 interface on the target laptop. I have not figured out what triggers or makes that happen. Also, I have not been able to determine if I need to get that firmware from Broadcom, or if it is distributed with slackware.

Last edited by linuxbird; 06-05-2016 at 08:06 PM. Reason: addendum
 
Old 06-05-2016, 08:01 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,438
Blog Entries: 31

Rep: Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607
Member response

Hi,

From AlienBob's email notification 05-31-2016;
Quote:
  • A module "broadcom_sta" was added to the "optional/" directory. You should try this one in case the kernel's support for your Broadcom wireless hardware is not sufficient and wireless does not activate. Use "load=broadcom_sta" on the boot commandline and then the "wl" kernel driver should load and enable your "wlan0" wireless interface.
BTW, you can subscribe to his notification at the blog; http://alien.slackbook.org/blog/slackware-live-edition/

Hope this helps.
Have fun & enjoy!

Last edited by onebuck; 06-06-2016 at 02:00 PM. Reason: typo correct module name
 
1 members found this post helpful.
Old 06-05-2016, 08:08 PM   #3
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 461

Original Poster
Rep: Reputation: 21
onebuck, that is helpful, and different from where I was going. Let me chase that down. Thanks.
 
Old 06-05-2016, 08:20 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,438
Blog Entries: 31

Rep: Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607
Member response

Hi,

Your welcome!

Another source to look at is; http://docs.slackware.com/slackware:liveslak

Hope this helps.
Have fun & enjoy!
 
Old 06-05-2016, 08:26 PM   #5
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 461

Original Poster
Rep: Reputation: 21
apparently, ucode5.fw is not on the distribution, and is sought by b43 at boot. I will have to see if I can find that, and find out how to insert it into the usb live file structure (if that is the right way).

I went to the blog and did not find the May 31st item you reference, but I tried it, and it appeared to fail for lack of the ucode5.fw file.

Life will be a little more complicated because the ethernet interface on the motherboard does not work.
 
Old 06-05-2016, 11:37 PM   #6
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 -current (started with 13.37(32))
Posts: 484

Rep: Reputation: 178Reputation: 178
There is a Broadcom firmware package in SlackBuildsOrg, it is needed
for b43 module, ucode5.fw is in that package.
Search for b43 in https://slackbuilds.org/
or 'sbopkg -g b43' if you have sbopkg installed.
Probably you need only the firmware package, not the firmware cutter.

Edit: I just realized that I'm using persistence, so this works
Without persistence you must install that package every time.

Last edited by Paulo2; 06-06-2016 at 11:48 AM.
 
Old 06-06-2016, 03:12 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,702

Rep: Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245
I'd very much like to hear if you get your wlan0 device to work after adding "load=broadcom-sta" on the boot commandline (either in syslinux or grub). What that does is install the "wl" kernel driver and blacklist all the regular broadcom kernel drivers.
Then hopefully the "wl" driver gets loaded automatically when your computer boots.
Since I do not own broadcom hardware it is difficult for me to test the truth of my assumptions...
 
Old 06-06-2016, 07:21 AM   #8
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 461

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by Alien Bob View Post
I'd very much like to hear if you get your wlan0 device to work after adding "load=broadcom-sta" on the boot commandline (either in syslinux or grub). What that does is install the "wl" kernel driver and blacklist all the regular broadcom kernel drivers.
Then hopefully the "wl" driver gets loaded automatically when your computer boots.
Since I do not own broadcom hardware it is difficult for me to test the truth of my assumptions...
Eric,
I did not get it to work after using load=broadcom-sta. It failed during the boot as not able to find ucode5.fw. I will look at it later today, but that was where I was at yesterday. That particular system does not have a working ethernet adapter, so I have to sneakernet to it with a USB drive for now. I will document what I find. My particular MB is recognized as having a Broadcom 4318, which I recall to be correct.
 
Old 06-06-2016, 07:43 AM   #9
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,702

Rep: Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245
Quote:
Originally Posted by linuxbird View Post
Eric,
I did not get it to work after using load=broadcom-sta. It failed during the boot as not able to find ucode5.fw. I will look at it later today, but that was where I was at yesterday. That particular system does not have a working ethernet adapter, so I have to sneakernet to it with a USB drive for now. I will document what I find. My particular MB is recognized as having a Broadcom 4318, which I recall to be correct.
As far as I understand, the "ucode5.fw" firmware is needed by the Broadcom drivers that are part of the Linux kernel. The "broadcom-sta" driver package which is downloaded from Broadcom's own web site, should not require an additional firmware download. At least, that is how I understand it.
 
Old 06-06-2016, 09:22 AM   #10
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 461

Original Poster
Rep: Reputation: 21
Eric, is broadcom-sta part of the distribution? I will investigate further, because perhaps it is not loading right, or I have done something else wrong.
 
Old 06-06-2016, 10:09 AM   #11
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 5,010

Rep: Reputation: Disabled
Quote:
Originally Posted by linuxbird View Post
Eric, is broadcom-sta part of the distribution? I will investigate further, because perhaps it is not loading right, or I have done something else wrong.
if you are talking about the standard stable Slackware distribution, no: for that broadcom-sta is available on SBo

https://slackbuilds.org/repository/1.../broadcom-sta/

if you are talking about Alien Bob's live isos, please see the last announcement (as onebuck wrote)

http://alien.slackbook.org/blog/upda...-live-edition/

Last edited by ponce; 06-06-2016 at 11:46 AM.
 
Old 06-06-2016, 11:38 AM   #12
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 -current (started with 13.37(32))
Posts: 484

Rep: Reputation: 178Reputation: 178
Quote:
Originally Posted by Alien Bob View Post
I'd very much like to hear if you get your wlan0 device to work after adding "load=broadcom-sta" on the boot commandline (either in syslinux or grub). What that does is install the "wl" kernel driver and blacklist all the regular broadcom kernel drivers.
Then hopefully the "wl" driver gets loaded automatically when your computer boots.
Since I do not own broadcom hardware it is difficult for me to test the truth of my assumptions...
I think it must be 'load=broadcom_sta' with underline, with dash the b43 is still loaded and not blacklisted.
With underline, b43 is blacklisted but wl isn't loaded, I had to ran 'modprobe wl' and the wireless nic was
promplty up with eth1 name. eth0 is the wired one.
In Slackware-stable with b43 and firmware package that same nic is named wlan0.


I just downloaded Mate Slackware live from Ryan's mirror and I can see the broadcom_sta file in the iso
(which I'm posting), but in Xfce Slackware live from your mirror (bear) I can't see the file.
I downloaded the Plasma iso (don't remember which mirror) and I can't see the file too.


Edit: My Broadcom wifi chipset isn't the same as the OP, but I think it is the same family.
Code:
02:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
	Subsystem: Hewlett-Packard Company BCM4312 802.11b/g Wireless LAN Controller
	Kernel driver in use: wl
	Kernel modules: ssb, wl

Last edited by Paulo2; 06-06-2016 at 11:42 AM. Reason: add more info
 
Old 06-06-2016, 01:56 PM   #13
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,702

Rep: Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245
Indeed it must be "load=broadcom_sta" with the underscore, my apologies.
So it seems like a "modprobe wl" command needs to be added somewhere during boot.
 
Old 06-06-2016, 02:10 PM   #14
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 -current (started with 13.37(32))
Posts: 484

Rep: Reputation: 178Reputation: 178
Quote:
Originally Posted by Alien Bob View Post
Indeed it must be "load=broadcom_sta" with the underscore, my apologies.
So it seems like a "modprobe wl" command needs to be added somewhere during boot.
I can confirm that is 'load=broadcom_sta' after a few reboots.

I'm testing with a bootable usb with persistence so it seems that only the first time the wl module wasn't loaded.
After turn off and turn on, wl was loaded and wifi nic was up and wifi password was saved.
Maybe without persistence 'modprobe wl' needs to run. I will burn the Mate iso again, this time without persistence.
Let's see what happens.
 
Old 06-06-2016, 02:57 PM   #15
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,702

Rep: Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245Reputation: 6245
OK, I understand why it does not work automatically the first time you boot the Live OS (either from DVD or from a persistent USB stick).
I added a "depmod -a" command at the end of rc.local to make the kernel recognize the kernel modules that get added from optional/addon modules. But that is too late for udev which will not yet know the "wl" driver when it tries to find drivers for the wireless card.
After that first boot, the module dependency file has been updated and on second boot, the kernel will know that there is a "wl" driver and use that.

Which means that on a DVD without persistence, the wireless is never going to work out of the box.

So what I need to do is run the "depmod" command before the OS initializes, which must be done in the Live init script. I will have to investigate.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Broadcom 4318 Wireless laurentduprasboileau SUSE / openSUSE 1 07-25-2007 11:18 PM
has anyone got broadcom 4318 wireless to work? bailey239 Mandriva 3 07-23-2007 08:50 PM
Broadcom 4318 lkwtcnj Linux - Laptop and Netbook 1 12-27-2006 10:32 AM
Newbie needs help with Broadcom 4318 rkm Linux - Newbie 3 12-21-2006 03:55 PM
Broadcom 4318 woes poblano Linux - Wireless Networking 4 11-13-2006 02:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration