Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: CGeTech on September 21, 2013, 05:35:30 AM

Title: Wifi stopped working
Post by: CGeTech on September 21, 2013, 05:35:30 AM
Hello,

I have upgraded to  tc-5.x, after upgrading my wifi stopped showing anything to select.

Please refer to screen shots and advise.

Title: Re: Wifi stopped working
Post by: CGeTech on September 22, 2013, 01:30:23 AM
Hello,

Please help !!

Title: Re: Wifi stopped working
Post by: coreplayer2 on September 22, 2013, 01:44:04 AM
Please show results of   

dmesg | tail -50


Edit:  ok hold on I see you have a Broadcom wifi device.
Title: Re: Wifi stopped working
Post by: CGeTech on September 22, 2013, 03:09:59 AM
Hello coreplayer2,

Please refer to the screenshot for the output in case you still need it.

Title: Re: Wifi stopped working
Post by: coreplayer2 on September 22, 2013, 10:26:43 AM
Your screenshot doesn't show up on the one system I was using, but now that I see it..   Have you tried blacklisting kernel modules  bcm, ssb and b43 to use wl (broadcom modules ?

install " wl-modules-3.8.10-tinycore.tcz " extension, then

Append " blacklist=bcma,ssb,b43 "  to your boot config file eg:
 
Code: [Select]
APPEND initrd=/tce/boot/core.gz loglevel=3 blacklist=bcma,ssb,b43



Title: Re: Wifi stopped working
Post by: coreplayer2 on September 22, 2013, 10:32:45 AM
Alternatively, (maybe you should try this first) have you installed the missing firmware as indicated in your screenshot?

This firmware may resolve your issue

install " firmware-broadcom_bcm43xx.tcz " extension



Please advise which method resolves your issue
Title: Re: Wifi stopped working
Post by: Rich on September 22, 2013, 11:01:57 AM
Hi CGeTech
Just a few observations. There appears to be a stack trace at the top of the screen shot, you might want to see what lead
up to it with:
Code: [Select]
dmesg | tail -80It looks like some firmware was loaded since a version number is listed, though the date of 2015-15-255 seems
rather odd.
I don't see a  pcm5.fw  file available in the 4x or 5x repository.
Rather than posting screen shots, redirect the output of commands into a file like this:
Code: [Select]
dmesg | tail -80 > dmesg.txtYou can then open the file with  editor  and copy and paste the contents between  code tags  when you post.
Title: Re: Wifi stopped working
Post by: coreplayer2 on September 22, 2013, 11:13:38 AM
I think the missing pcm5.fw is located with the archive bcm43xx firmware, if not then the cutter will extract the necessary fw

AIUI the cutter extracts pcm5.fw from b43 binary (but have never tried it)

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

Title: Re: Wifi stopped working
Post by: Juanito on September 22, 2013, 01:32:45 PM
Append " blacklist=bcm,ssb,b43 "  to your boot config file

Isn't it bcma instead of bcm?
Title: Re: Wifi stopped working
Post by: coreplayer2 on September 22, 2013, 01:35:40 PM
You are correct sir   :)

ok corrected
Title: Re: Wifi stopped working
Post by: CGeTech on October 01, 2013, 01:04:35 AM
Hello,

I tried blacklist but still not working.

DEFAULT core
LABEL core
KERNEL /tce/boot/vmlinuz
APPEND initrd=/tce/boot/core.gz quiet waitusb=5:UUID="85089724-c18e-4783-a6fb-64f490a0465c" tce=UUID="85089724-c18e-4783-a6fb-64f490a0465c" loglevel=3 blacklist=bcma,ssb,b43


Please refer to attachment.

Regards
Title: Re: Wifi stopped working
Post by: Rich on October 01, 2013, 03:44:47 AM
Hi CGeTech
A google search for     eth%d: 5.100.82.112 driver failed with code 21    may provide some clues.
Title: Re: Wifi stopped working
Post by: Juanito on October 01, 2013, 05:38:39 AM
What did you do about the firmware?

the wl module works for my hardware in both tc-4.x and tc-5.x without firmware being required.
Title: Re: Wifi stopped working
Post by: CGeTech on October 01, 2013, 10:04:34 AM
Hello,

I removed blacklist and after that it seems some file is missing please  refer to attachment.

DEFAULT core
LABEL core
KERNEL /tce/boot/vmlinuz
APPEND initrd=/tce/boot/core.gz quiet waitusb=5:UUID="85089724-c18e-4783-a6fb-64f490a0465c" tce=UUID="85089724-c18e-4783-a6fb-64f490a0465c"

Regards

Title: Re: Wifi stopped working
Post by: Juanito on October 01, 2013, 12:50:39 PM
Removing the blacklist causes tc to load the b43 driver, which may or may not be suitable for your hardware, and will clash with the wl module.

It's probably best to visit the linux wireless web site to check if your hardware is compatible with the b43 driver - if it is compatible then b43 + firmware is probably the way to go, if it is not compatible, then wl without firmware is probably the way to go.
Title: Re: Wifi stopped working
Post by: kamc_1 on October 01, 2013, 06:47:59 PM
Please note Similar problem to CGeTech encountered.
Title: Re: Wifi stopped working
Post by: coreplayer2 on October 01, 2013, 09:18:12 PM
If this point was not clear, let me help change that here.

It's either (blacklist the b43 driver)
blacklist=bcma,ssb,b43  AND use only the wl-modules-3.8.10-tinycore.tcz  extension

OR

if compatible (see post #14)
use the built in b43 driver (ie no blacklist)  and use the cutter to extract the required firmware as described in the linuxwireless.org drivers, see b43-fwcutter.tcz extension and it's info file.
Or maybe there is a chance that using firmware-broadcom_bcm43xx.tcz extension may provide the necessary firmware (it's really hard to know for sure without the wireless device to test with).



Title: Re: Wifi stopped working
Post by: CGeTech on October 02, 2013, 11:30:09 AM
Hello,

There is no problem in the hardware as it is working fine with 4.7. The problem arise only with tc 5.x
an wifi stopped working

Please refer to the attachment showing wifi working fine with 4.7

Regards
Title: Wifi stopped working
Post by: coreplayer2 on October 02, 2013, 05:11:53 PM
Yes I understand, but it's a Broadcom Licensing problem.

Following the above recommendations without mixing the two methods is likely the only way to fix the issue
Title: Re: Wifi stopped working
Post by: coreplayer2 on October 02, 2013, 06:15:39 PM
How about we ask which driver or firmware extensions are you using to enable the Broadcom adapter with tc-4.7.7