WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Insanity with broadcom (b43) wifi  (Read 2505 times)

Offline tsaukpaetra

  • WikiUser
  • *
  • Posts: 10
Insanity with broadcom (b43) wifi
« on: July 26, 2012, 10:07:57 PM »
I'm just not sure where to go from here. According to lshw's output, my wifi device is a Broadcom-something chip.
       configuration: broadcast=yes driver=b43 driverversion=3.0.21-tinycore firmware=N/A link=no multicast=yes wireless=IEEE 802.11bg
The problem being that apparently I need firmware in order for it to do literally anything.
I've searched (as best I can) the forums depicting ways to get this poor thing to work, and come up pretty dry. From finding posts that claim to be able to get it working in 5 minutes, to using b43-fwcutter (which failed complaining about an md5 mismatch), to literally installing everything that said "firmware" and "wifi" (or wpa).

Any hints? This has really got me stumped.
Output to iwconfig is as follows:
wlan0     IEEE 802.11bg  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:on

Doing a "sudo wpa_supplicant =Dwext -iwlan0 -c/opt/wpa.cfg -B" Gives me:
Could not set interface wlan0 flags: No such file or directory
Failed to initialize driver interface

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 2069
Re: Insanity with broadcom (b43) wifi
« Reply #1 on: July 26, 2012, 10:45:30 PM »
I'd look here http://forum.tinycorelinux.net/index.php/topic,12910.msg73355.html#msg73355 in fact the whole thread has useful info regarding Broadcom devices.

Perhaps the compat wireless drivers will help but you'll need firmware


Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 8312
Re: Insanity with broadcom (b43) wifi
« Reply #2 on: July 26, 2012, 11:41:49 PM »
I've had a bunch of broadcom wireless hardware over the years and (in the end) I've always managed to get it to work one way or the other.

The first step would be to use "lsusb" from usb-utils or "lspci" from pci-utils to let us know exactly what broadcom hardware you have.

Once we know what hardware you have, then we can look whether b43 + firmware, wireless-compat + firmware, wl or ndiswrapper is required to get things working.

Offline Vilkata

  • WikiUser
  • *
  • Posts: 12
Re: Insanity with broadcom (b43) wifi
« Reply #3 on: March 07, 2013, 01:57:09 PM »
I know this is a huge bump, but I figured this would be better than reposting basically the same topic.

I am trying to install a wpc54g pci card, which uses the b43 driver(which is installed) and i also have the matching firmware installed to /usr/local/lib/firmware.

From there, I don't know where the problem is. Wicd's daemon wont start, and wicd itself seems to scan for a split second before saying it cannot find anything. Wifi.tcz detects wlan0, but shows no networks(there are several here.) wpa_supplicant cannot start wlan0, ifconfig will stop wlan0 but fails on start. lspci shows the correct card is loaded, modprob shows modules are loaded, wpa_gui is missing SYNC extension for Xlib, etc.

I am at a loss. Help?

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 8312
Re: Insanity with broadcom (b43) wifi
« Reply #4 on: March 07, 2013, 09:22:36 PM »
Quote
The first step would be to use "lsusb" from usb-utils or "lspci" from pci-utils to let us know exactly what broadcom hardware you have.

Offline puma

  • WikiUser
  • *
  • Posts: 8
Re: Insanity with broadcom (b43) wifi
« Reply #5 on: March 20, 2016, 03:25:14 PM »
Maybe we can continue with my same wifi problem. I'm beginner. Spent so much time to get wifi working.
Like the distro. Want to have it for everyday use. So ok:
tinycore is already installed on my harddrive . Now I  booted Core Plus with wireless+firmware extensions.
lspci results: BCM4321 802.11a/b/g/n [11:4e4:4328]

Thanks in advance

Offline puma

  • WikiUser
  • *
  • Posts: 8
Re: Insanity with broadcom (b43) wifi
« Reply #6 on: March 20, 2016, 03:33:37 PM »
And this is my dmesg output:



Offline nitram

  • Hero Member
  • *****
  • Posts: 768
Re: Insanity with broadcom (b43) wifi
« Reply #7 on: March 20, 2016, 05:26:03 PM »
Welcome puma.

Please use code blocks instead of screenshots, copy file contents into this forum's code blocks.
Code: [Select]
dmesg | grep B43 > /tmp/dmesg_B43_output

From (poor) memory, for Broadcom 43 wireless on TC6:
* Load  wireless-<your-kernel>-tinycore.tcz  at boot
* Load  firmware-broadcom_bcm43xx.tcz  at boot
* Load  wifi.tcz  at boot
* Use bootloader to blacklist: blacklist=b43 blacklist=ssb

Reboot, run wifi to find local wireless connections.

If your connection is hidden then look at wpa_supplicant.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 8312
Re: Insanity with broadcom (b43) wifi
« Reply #8 on: March 20, 2016, 11:48:09 PM »
Use bootloader to blacklist: blacklist=b43 blacklist=ssb

This is not required for the b43 kernel driver - you would be blacklisting the driver you are trying to use  :P

From the screenshot output, either the firmware extension is being loaded after the wireless-KERNEL extension (it should be loaded first) or the wrong firmware extension is being loaded.

Offline puma

  • WikiUser
  • *
  • Posts: 8
Re: Insanity with broadcom (b43) wifi
« Reply #9 on: March 21, 2016, 11:40:01 PM »
Thank you for the answers guys.

Quote
From the screenshot output, either the firmware extension is being loaded after the wireless-KERNEL extension (it should be loaded first) or the wrong firmware extension is being loaded.

So in this case, firmware extension is "firmware-broadcom_bcm43xx.tcz", and wireless-KERNEL extension is wireless-4.2.9-tinycore.tcz, right?
I checked tce/optional by booting from a DVD, and i saw firmware extension is loading before wireless-KERNEL extension. I guess its the right way.
Does it mean i need to download a new b43 extension?
« Last Edit: March 22, 2016, 12:13:35 AM by Juanito »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 8312
Re: Insanity with broadcom (b43) wifi
« Reply #10 on: March 22, 2016, 12:20:23 AM »
If you're using tc-7.x, then wireless-KERNEL = wireless-4.2.9-tinycore.tcz

It might be a good idea to check here:

http://linuxwireless.org/en/users/Drivers/b43/

..that you have the correct/latest driver/firmware for your device - note that from this link it looks like you need to use the wl-modules-KERNEL driver rather than b43 from wireless-KERNEL, but I might be mistaken.

Note that if you use wl-modules-KERNEL, the firmware is contained in the driver so you don't need any firmware extensions and you will have to blacklist b43 and friends (see the info file).

Offline puma

  • WikiUser
  • *
  • Posts: 8
Re: Insanity with broadcom (b43) wifi
« Reply #11 on: March 22, 2016, 12:54:13 AM »
I found "wl-modules-4.2.9-tinycore64.tcz", "wl-modules-4.2.9-tinycore.tcz" as a list on internet. But is there a link that I can download from internet?
Because I don't have connection.
But I'm transfering packages from another pc(which i have connection) with usb.


Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 8312
Re: Insanity with broadcom (b43) wifi
« Reply #13 on: March 22, 2016, 12:58:24 AM »
Presumably you already have the wifi extension and it's deps?

Offline puma

  • WikiUser
  • *
  • Posts: 8
Re: Insanity with broadcom (b43) wifi
« Reply #14 on: March 22, 2016, 12:59:48 AM »
super!
yes, i have wifi.tcz