Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: shadowrift on July 03, 2013, 07:34:33 PM

Title: [Solved] Finding and installing Broadcom 4312 firmware
Post by: shadowrift on July 03, 2013, 07:34:33 PM
Hello,
I am looking for this firmware, I have downloaded drivers but they are for windows vista. I am also looking for a wiki to install this, or place the files. I have been searching for the last couple of days trying different things out, but I am only finding bits and pieces. Thanks
Title: Re: Finding and installing Broadcom 4312 firmware
Post by: coreplayer2 on July 03, 2013, 09:02:46 PM
hi,  it would be a great help to examine dmesg after booting with the hardware connected.   create the file dmesg.txt using  this command at the terminal  "  dmesg > dmesg.txt  "  and attach it here please


Try the recently updated " firmware-broadcom_bcm43xx.tcz "  extension form the tc-5.x repo
Title: Re: Finding and installing Broadcom 4312 firmware
Post by: Juanito on July 03, 2013, 09:07:12 PM
Did you take a look here:

http://wireless.kernel.org/en/users/Drivers/b43#Device_firmware_installation

Note also that the wl-modules-3.0.21-tinycore extension should work with this hardware without requiring additional firmware.
Title: Re: Finding and installing Broadcom 4312 firmware
Post by: shadowrift on July 04, 2013, 08:39:55 AM
@Coreplayer2
I have found the repo, but where do I add the mirror? Under apps I see "select mirror" but it says I must load mirrors.tcz. I have already installed that and the feature still does not work.

@Janito
Yes I did see that link, but when I use "make" here is what happens

tc@box:~$ cd b43*
tc@box:~/b43-fwcutter-017$ make
     DEPEND   dep/md5.d
/bin/sh: cc: not found
     DEPEND   dep/fwcutter.d
/bin/sh: cc: not found
     CC       obj/fwcutter.o
/bin/sh: cc: not found
make: *** [obj/fwcutter.o] Error 127

Also I have tried wl-modules-3.0.21-tinycore and 3.0.3
Title: Re: Finding and installing Broadcom 4312 firmware
Post by: shadowrift on July 04, 2013, 08:51:42 AM
Sorry here is dmesg where it finds wireless

Code: [Select]
ssb: Core 3 found: PCI-E (cc 0x820, rev 0x09, vendor 0x4243)
ssb: Sonics Silicon Backplane found on PCI device 0000:06:00.0
EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
cfg80211: Calling CRDA to update world regulatory domain
b43-phy0: Broadcom 4312 WLAN found (core revision 15)
ieee80211 phy0: Selected rate control algorithm 'pid'
Registered led device: b43-phy0::tx
Registered led device: b43-phy0::rx
Registered led device: b43-phy0::radio
Broadcom 43xx driver loaded [ Features: PMNL, Firmware-ID: FW13 ]
tg3 0000:05:00.0: irq 45 for MSI/MSI-X
tg3 0000:05:00.0: eth0: Link is up at 100 Mbps, full duplex
tg3 0000:05:00.0: eth0: Flow control is on for TX and on for RX
Title: Re: Finding and installing Broadcom 4312 firmware
Post by: shadowrift on July 04, 2013, 08:58:58 AM
I was also looking at this but it breaks at "make" as well

http://www.broadcom.com/support/802.11/linux_sta.php
Title: Re: Finding and installing Broadcom 4312 firmware
Post by: Rich on July 04, 2013, 10:23:44 AM
Hi shadowrift
Quote
Yes I did see that link, but when I use "make" here is what happens ...
You need to install  compiletc.tcz
Quote
Also I have tried wl-modules-3.0.21-tinycore and 3.0.3
The numbers refer to the kernel version, only use 3.0.21.
Title: Re: Finding and installing Broadcom 4312 firmware
Post by: shadowrift on July 05, 2013, 12:54:21 AM
I was able to install tiny core to bring it to the basics of what I want. I installed make.tcz, compiletc.tcz but now it says can't find the make command. I also installed wl-modules-3.0.21-tinycore but with no luck.
Title: Re: Finding and installing Broadcom 4312 firmware
Post by: coreplayer2 on July 05, 2013, 01:46:31 AM
From the dmesg above It looks like a Broadcom  driver and firmware is already loaded.

Also loaded and connected is your tg3 Ethernet.

Before attempting to connect via wifi it's best to disconnect the Ethernet cable.





Sent from my iPad using Tapatalk HD
Title: Re: Finding and installing Broadcom 4312 firmware
Post by: Juanito on July 05, 2013, 02:48:58 AM
I installed make.tcz, compiletc.tcz but now it says can't find the make command.
If you install compiletc it will automatically install the make extension

Quote
I also installed wl-modules-3.0.21-tinycore but with no luck.
Did you follow the instructions in the info file?
Title: Re: Finding and installing Broadcom 4312 firmware
Post by: shadowrift on July 05, 2013, 05:44:41 PM
The make command does not work, it says make: not found.


I saw your post here
http://forum.tinycorelinux.net/index.php?topic=12133.0

Do I add "blacklist=module" to modprobe.conf? I currently have bcma, ssb, and b43 in that file using that format.
Title: Re: Finding and installing Broadcom 4312 firmware
Post by: shadowrift on July 05, 2013, 06:41:44 PM
So I just put in my usb stick and booted up TC with the blacklist boot options and it found my wireless card ast eth1 when I do iwconfig it shows that I am connected to my wireless network, but I am unable to surf the internet still. I am going to check out /etc at the moment to see what is different from my hard drive install
Title: Re: Finding and installing Broadcom 4312 firmware
Post by: shadowrift on July 05, 2013, 09:23:37 PM
I found the difference, my installation does not have modprobe.d/blacklist.conf
When I add it, it disappears when I reboot.

sudo mkdir modprobe.d
sudo mv blacklist.conf

Title: Re: Finding and installing Broadcom 4312 firmware
Post by: coreplayer2 on July 05, 2013, 09:30:07 PM
try adding   etc/modprobe.conf   to your backup
Title: Re: Finding and installing Broadcom 4312 firmware
Post by: Juanito on July 05, 2013, 10:38:56 PM
Do I add "blacklist=module" to modprobe.conf? I currently have bcma, ssb, and b43 in that file using that format.

No, you add "blacklist=module" to the boot options in your bootloader (grub, extlinux, etc)
Title: Re: Finding and installing Broadcom 4312 firmware
Post by: coreplayer2 on July 06, 2013, 01:09:09 AM
Have never been able to test this but I think this format works also

blacklist=bcm,ssb,b43

Title: Re: Finding and installing Broadcom 4312 firmware
Post by: Rich on July 06, 2013, 01:21:53 AM
Hi coreplayer2
Yes, that format was added to keep the length of the boot options down.
Title: Re: Finding and installing Broadcom 4312 firmware
Post by: shadowrift on July 06, 2013, 07:41:53 PM
I added them to extlinux, now eth1 is there which I guess signifies my wifi. Internet still does not work and I can not ping any websites. I can ping the network router and other computers on the local network.
Title: Re: Finding and installing Broadcom 4312 firmware
Post by: Rich on July 06, 2013, 08:19:24 PM
Hi shadowrift
Is your  /etc/resolv.conf  file set up correctly? Have you checked the output of the  route  command?
Title: Re: Finding and installing Broadcom 4312 firmware
Post by: shadowrift on July 07, 2013, 10:34:07 PM
aperently I needed to clear some .conf files, unplug my ethernet and restart the computer. When I had the ethernet cable plugged in I could not access my dd-wrt configuration screen because it said could not be access with wireless connection. I guess having both connections configured confused TC. All is well now thanks.
Title: Re: [Solved] Finding and installing Broadcom 4312 firmware
Post by: coreplayer2 on July 07, 2013, 10:44:01 PM
Shadowrift. Please confirm that installing the
wl-modules-3.0.21-tinycore extension and
blacklisting the kernel modules
resolved your connection issue?
(Besides disconnecting your Ethernet..)


Sent from my iPad using Tapatalk HD
Title: Re: [Solved] Finding and installing Broadcom 4312 firmware
Post by: shadowrift on July 08, 2013, 01:18:16 AM
Shadowrift. Please confirm that installing the
wl-modules-3.0.21-tinycore extension and
blacklisting the kernel modules
resolved your connection issue?
(Besides disconnecting your Ethernet..)
Yes, one only needs to install
wl-modules-3.0.21-tinycore

and blacklist the modules in the boot programs .conf file with the format blacklist=module
example /mnt/sda1/tce/boot/extlinux/extlinux.conf

The wifi will not work if an ethernet has been plugged in during reboot. 
Title: Re: [Solved] Finding and installing Broadcom 4312 firmware
Post by: coreplayer2 on July 08, 2013, 01:32:10 AM
Thanks,

Quote
The wifi will not work if an Ethernet has been plugged in during reboot. 
  yes this will never work, which I think we mentioned earlier.

Glad you have the system working now. and I'll document the hardware and drivers used, thank

Output of lsusb and lspci -k might be more helpful for us  thanks   as attachments is fine
Title: Re: [Solved] Finding and installing Broadcom 4312 firmware
Post by: shadowrift on July 08, 2013, 01:54:50 AM
there you go
Title: Re: [Solved] Finding and installing Broadcom 4312 firmware
Post by: coreplayer2 on July 22, 2013, 02:39:51 AM
Thank you.  The last item says it all.  'wl'


Sent from my iPad using Tapatalk HD