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

Post here if you are a new Porteus member and you're looking for some help.
jrs
White ninja
White ninja
Posts: 14
Joined: 13 Mar 2017, 17:45
Distribution: Desktop V4
Location: Norway

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

Post#1 by jrs » 23 Mar 2019, 20:09

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
Last edited by jrs on 26 Mar 2019, 07:45, edited 1 time in total.

jssouza
Legendary
Legendary
Posts: 1165
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm

Broadcom wifi does not work. Porteus 4.0 64 bit

Post#2 by jssouza » 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.

jrs
White ninja
White ninja
Posts: 14
Joined: 13 Mar 2017, 17:45
Distribution: Desktop V4
Location: Norway

Broadcom wifi does not work. Porteus 4.0 64 bit

Post#3 by jrs » 24 Mar 2019, 08:36

Thanx jssouza.
The the module didnt work, could you please tell me how I can use the 000-kernel and vmlinuz?

Jon

jrs
White ninja
White ninja
Posts: 14
Joined: 13 Mar 2017, 17:45
Distribution: Desktop V4
Location: Norway

Broadcom wifi does not work. Porteus 4.0 64 bit

Post#4 by jrs » 24 Mar 2019, 12:35

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

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Broadcom wifi does not work. Porteus 4.0 64 bit

Post#5 by Blaze » 24 Mar 2019, 17:26

Hi jrs.
Look at this topic [Solved] Wifi Broadcom 4306 rev 3
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

jrs
White ninja
White ninja
Posts: 14
Joined: 13 Mar 2017, 17:45
Distribution: Desktop V4
Location: Norway

Broadcom wifi does not work. Porteus 4.0 64 bit

Post#6 by jrs » 24 Mar 2019, 19:47

Hi Blaze
Thank you. I tried but that didn't help either.

Jon

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Broadcom wifi does not work. Porteus 4.0 64 bit

Post#7 by Ed_P » 24 Mar 2019, 19:52

jrs on my netbook I used both modules referenced so far. Blaze's and jssouza's.
Ed

jrs
White ninja
White ninja
Posts: 14
Joined: 13 Mar 2017, 17:45
Distribution: Desktop V4
Location: Norway

Broadcom wifi does not work. Porteus 4.0 64 bit

Post#8 by jrs » 24 Mar 2019, 21:36

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

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Broadcom wifi does not work. Porteus 4.0 64 bit

Post#9 by Blaze » 25 Mar 2019, 19:46

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.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

jrs
White ninja
White ninja
Posts: 14
Joined: 13 Mar 2017, 17:45
Distribution: Desktop V4
Location: Norway

Broadcom wifi does not work. Porteus 4.0 64 bit

Post#10 by jrs » 25 Mar 2019, 19:51

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.

jssouza
Legendary
Legendary
Posts: 1165
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm

Broadcom wifi does not work. Porteus 4.0 64 bit

Post#11 by jssouza » 26 Mar 2019, 04:44

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.

jrs
White ninja
White ninja
Posts: 14
Joined: 13 Mar 2017, 17:45
Distribution: Desktop V4
Location: Norway

Broadcom wifi does not work. Porteus 4.0 64 bit

Post#12 by jrs » 26 Mar 2019, 07:30

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

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

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

Post#13 by Blaze » 26 Mar 2019, 16:46

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.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

jrs
White ninja
White ninja
Posts: 14
Joined: 13 Mar 2017, 17:45
Distribution: Desktop V4
Location: Norway

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

Post#14 by jrs » 26 Mar 2019, 19:25

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

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

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

Post#15 by Blaze » 27 Mar 2019, 17:21

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/
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Post Reply