Page 1 of 2

[SOLVED] Broadcom wifi does not work. Porteus 4.0 64 bit

Posted: 23 Mar 2019, 20:09
by jrs
Hi all
I know this is an old issue but I just cant get this to work. I did make it work in 3.2 but I forgot how.
I have a Macbook Air (2013) and there is no wifi card available.
So far I have tried blacklisting WL in modprobe.d and downloaded the STA driver from USM.

There are some tips and links in the forum but the links are broken and the posts are several years old. Even the tutorial mentions verison 1.2.
Is there any new information after version 4?
Can someone please help me?

Thanks

Jon

Broadcom wifi does not work. Porteus 4.0 64 bit

Posted: 24 Mar 2019, 05:47
by jssouza
Check if the bcomosd.xzm module posted here works - 4.0 doesn't support wifi on netbook. 3.2.2 does. (Post by jssouza #67440). As mentioned there, make sure this module gets activated at boot time.

If it still does not work, you might actually need broadcomm wl, which was part of the 3.2.2 kernel but not part of the porteus 4.0 kernel anymore. So as mentioned in the linked post, an option for you might be to use the 000-kernel and vmlinuz from porteus 3.2.2.

Broadcom wifi does not work. Porteus 4.0 64 bit

Posted: 24 Mar 2019, 08:36
by jrs
Thanx jssouza.
The the module didnt work, could you please tell me how I can use the 000-kernel and vmlinuz?

Jon

Broadcom wifi does not work. Porteus 4.0 64 bit

Posted: 24 Mar 2019, 12:35
by jrs
I downloaded the Porteus 3.2 ISO and found the files there. Copied them over to Porteus 4 and restarted. Didnt help. I have tried with different drivers, with and without blacklisting wl.
Maybe I am wrong and never got it to work in 3.3 either.

Jon

Broadcom wifi does not work. Porteus 4.0 64 bit

Posted: 24 Mar 2019, 17:26
by Blaze
Hi jrs.
Look at this topic [Solved] Wifi Broadcom 4306 rev 3

Broadcom wifi does not work. Porteus 4.0 64 bit

Posted: 24 Mar 2019, 19:47
by jrs
Hi Blaze
Thank you. I tried but that didn't help either.

Jon

Broadcom wifi does not work. Porteus 4.0 64 bit

Posted: 24 Mar 2019, 19:52
by Ed_P
jrs on my netbook I used both modules referenced so far. Blaze's and jssouza's.

Broadcom wifi does not work. Porteus 4.0 64 bit

Posted: 24 Mar 2019, 21:36
by jrs
Blaze wrote:
24 Mar 2019, 17:26
Hi jrs.
Look at this topic [Solved] Wifi Broadcom 4306 rev 3
Heres the result from dmesg:

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# dmesg | grep -i b43
[    6.505770] b43-phy0: Broadcom 4360 WLAN found (core revision 42)
[    6.507001] b43-phy0 ERROR: FOUND UNSUPPORTED PHY (Analog 12, Type 11 (AC), Revision 1)
[    6.507019] b43: probe of bcma0:1 failed with error -95
root@porteus:/home/guest# modprobe b43
root@porteus:/home/guest#
Jon

Broadcom wifi does not work. Porteus 4.0 64 bit

Posted: 25 Mar 2019, 19:46
by Blaze
jrs, can you try this?

Activate these modules for your kernel:

Code: Select all

05-devel.xzm
06-crippled_sources.xzm
open terminal and compile driver:

Code: Select all

su
toor
mkdir /tmp/broadcom-wl-dkms-src /tmp/broadcom-wl-dkms-6.30.223.271-19-x86_64
cd /tmp/broadcom-wl-dkms-src
# or download in advance it via browser and copy to /tmp/broadcom-wl-dkms-src
# https://www.broadcom.com/support/download-search/?pf=Wireless+LAN+Infrastructure
curl -O https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz
tar xf hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz
make
make install
mkdir -p /tmp/broadcom-wl-dkms-6.30.223.271-19-x86_64/lib/modules/`uname -r`/kernel/drivers/net/wireless
install -D -m 755 wl.ko /tmp/broadcom-wl-dkms-6.30.223.271-19-x86_64/lib/modules/`uname -r`/kernel/drivers/net/wireless
cd /tmp 
dir2xzm broadcom-wl-dkms-6.30.223.271-19-x86_64 broadcom-wl-dkms-6.30.223.271-19-x86_64.xzm
activate broadcom-wl-dkms-6.30.223.271-19-x86_64.xzm
modprobe -r b43 b43legacy bcm43xx bcma brcm80211 brcmfmac brcmsmac ssb wl
sed -i 's/^/#/g' /etc/modprobe.d/b43_blacklist.conf
sed -i 's/^/#/g' /etc/modprobe.d/broadcom_blacklist.conf
modprobe wl
lsmod | grep -i wl
Thanks.

Broadcom wifi does not work. Porteus 4.0 64 bit

Posted: 25 Mar 2019, 19:51
by jrs
Hey, its working!
Blaze, I didnt try your last tip yet, please read on.

I must have done something wrong the first time. The solution was to use the 000-kernel and vmlinuz from 3.2.2. I probably forgot to remove the "blacklist wl" the first time I tried.
Thank you very much for your help.

So Blaze, one question remains, what do I miss when using these two older files, is my system not a proper 4.0 anymore? Would be a good idea to try your last instructions with the original kernel and vmlinuz and see if that works too?

Jon

jssouza wrote:
24 Mar 2019, 05:47
Check if the bcomosd.xzm module posted here works - 4.0 doesn't support wifi on netbook. 3.2.2 does. (Post by jssouza #67440). As mentioned there, make sure this module gets activated at boot time.

If it still does not work, you might actually need broadcomm wl, which was part of the 3.2.2 kernel but not part of the porteus 4.0 kernel anymore. So as mentioned in the linked post, an option for you might be to use the 000-kernel and vmlinuz from porteus 3.2.2.

Broadcom wifi does not work. Porteus 4.0 64 bit

Posted: 26 Mar 2019, 04:44
by jssouza
Like I said, you actually needed the Broadcom wl module which is not there in the 4.0 kernel but present in the 3.2.2 kernel.

Broadcom wifi does not work. Porteus 4.0 64 bit

Posted: 26 Mar 2019, 07:30
by jrs
Yes, thanks for all your help.
And a BIG THANK YOU to all you developers for making and maintaining this great Linux system. It's almost perfect and I love it. Keep up the good work.

Jon

[SOLVED] Broadcom wifi does not work. Porteus 4.0 64 bit

Posted: 26 Mar 2019, 16:46
by Blaze
jrs,
jrs wrote:
25 Mar 2019, 19:51
Would be a good idea to try your last instructions with the original kernel and vmlinuz and see if that works too?
Yes, you can try any kernel from this topic Porteus Kernel Builder

For example:
neko wrote:
24 Mar 2019, 04:01
=== Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm) ===
[5.0.4]
32bit-kernel5.0.4.tar (86 M)
http://www.mediafire.com/file/nyky8gjdv ... l5.0.4.tar
md5sum: f9bec4b4e063ddc7a383738d2a0fda40 32bit-kernel5.0.4.tar

64bit-kernel5.0.4.tar (92 M)
http://www.mediafire.com/file/todqfknnj ... l5.0.4.tar
md5sum: a609a986f24919080396193f4b68d5bf 64bit-kernel5.0.4.tar

[4.19.31]
32bit-kernel4.19.31.tar (86 M)
http://www.mediafire.com/file/ryqari6ad ... .19.31.tar
md5sum: 387a35051209ca2ec8efa2a981b9c338 32bit-kernel4.19.31.tar

64bit-kernel4.19.31.tar (91 M)
http://www.mediafire.com/file/z91nqr4hq ... .19.31.tar
md5sum: 470e11682b9b06f07da3a69b9e24145f 64bit-kernel4.19.31.tar


Note 1:
Compiled by gcc-8.2.1+20181127-x86_64-1
but you must to compile driver by my howto Broadcom wifi does not work. Porteus 4.0 64 bit (Пост Blaze #70385) for your kernel version.

[SOLVED] Broadcom wifi does not work. Porteus 4.0 64 bit

Posted: 26 Mar 2019, 19:25
by jrs
Blaze, I get this message after MAKE:

Code: Select all

root@porteus:/tmp/broadcom-wl-dkms-src# tar xf hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz
root@porteus:/tmp/broadcom-wl-dkms-src# make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: *** /lib/modules/4.16.3-porteus/build: No such file or directory.  Stop.
make: *** [Makefile:159: all] Error 2

I'm sorry but this is greek to me. :)

Jon

[SOLVED] Broadcom wifi does not work. Porteus 4.0 64 bit

Posted: 27 Mar 2019, 17:21
by Blaze
jrs, do you use kernel 4.16.3? If yes - activate these modules
000-kernel.xzm
05-devel.xzm
crippled_sources.xzm
from this repo http://ftp.nluug.nl/os/Linux/distr/port ... .0/kernel/