[SOLVED] Slackel 7.5 does not "see" Wi-Fi

You have a problem with Slackel? Post here and we'll do what we can to help.
Post Reply
perser13
Posts: 5
Joined: 05 Jan 2022 16:15

[SOLVED] Slackel 7.5 does not "see" Wi-Fi

Post by perser13 »

Good day, Dimitris!

I installed your Slackel64 7.5 "Live Openbox" on an old laptop with Broadcom BCM 4311 (rev.01).
I really liked the build.
Problems:
1. When booting into the BIOS (in both modes) a message pops up:
ERROR: wl_cfg80211_detach
Wi-Fi is not visible, wired Internet is normal
2. When deleting the broadcom-sta package, the message in the BIOS disappears
3. Reinstalling the broadcom-sta package ends with an error:
make:*** /lib/modules/5.15.12/build: There is no such file or directory. Stop.
fakeroot -- sh broadcom-sta.SlackBuild Mistake
4. Similarly, there is no Wi-Fi in Zorin OS.
And in Rosa OS and in Arch Linux everything is fine.

Is there a solution?
djemos
Site Admin
Posts: 676
Joined: 15 Apr 2016 06:03

Re: Slackel 7.5 does not "see" Wi-Fi

Post by djemos »

Your laptop with broadcom 4311 as well mine with broadcom BCM43142 are supported by included broadcom-sta package. This is why i have included it, to have wifi when using the live iso. Of course when a new kernel installed you have to rebuild the package.
So it was wrong to delete it.
Do not care about bios messages at boot same here. If you have type

Code: Select all

sudo modprobe wl
and wifi will be enabled.

1. The quick fix
Download the package from here
and install it with

Code: Select all

sudo installpkg broadcom-sta-6.30.223.271_5.15.12-x86_64-1dj.txz
Then type

Code: Select all

sudo modprobe wl
and wifi will be enabled.
To check type on the lxterminal

Code: Select all

ifconfig
you have to see wlan0 or wlan1

2. To rebuild the package need to install the kernel-source package

Code: Select all

sudo slapt-get -u
sudo slapt-get -i kernel-source
to build and install the package

Code: Select all

sudo slapt-src -u
sudo slapt-src -i broadcom-sta
then just type

Code: Select all

sudo modprobe wl
and wifi will be enabled.


Also there is another solution.
Your chip is also supported by b43-firmware and b43-fwcutter packages
To try them if above broadcom-sta driver is not working
try this
first install the kernel-source package if not installed (sudo slapt-get -i kernel-source)
remove the broadcom-sta and unload wl module

Code: Select all

sudo spkg -d broadcom-sta
sudo modprobe -r wl
build and install b43 module
type

Code: Select all

sudo slapt-src -u
sudo slapt-src -i b43-fwcutter
sudo slapt-src -i b43-firmware
type

Code: Select all

sudo modprobe -r wl
sudo modprobe b43
type ifconfig -a
in lxterminal and see if you see wlan0 or wlan1
perser13
Posts: 5
Joined: 05 Jan 2022 16:15

Re: Slackel 7.5 does not "see" Wi-Fi

Post by perser13 »

Thanks for the quick response.
I'll reinstall the system tomorrow and try.
djemos
Site Admin
Posts: 676
Joined: 15 Apr 2016 06:03

Re: Slackel 7.5 does not "see" Wi-Fi

Post by djemos »

perser13 wrote:Thanks for the quick response.
I'll reinstall the system tomorrow and try.
There is no need to reinstall the system.
Just download and install the broadcom-sta package as say above (using wired Internet to connect and download the file)
and load the wl module.
perser13
Posts: 5
Joined: 05 Jan 2022 16:15

Re: Slackel 7.5 does not "see" Wi-Fi

Post by perser13 »

Good afternoon, Dimitris!
Only the "other solution" with b43 helped !!!
Now, after reinstalling the system (for another reason), everything worked fine.
Thank YOU so much for your help !!!
perser13
Posts: 5
Joined: 05 Jan 2022 16:15

Re: Slackel 7.5 does not "see" Wi-Fi

Post by perser13 »

After reboot, Wi-Fi is gone...
wlan0 is missing after ifconfig -a

The message in the BIOS:
ERROR: wl_cfg80211_detach
is missing.

Probably the changes should be included in the startup?
djemos
Site Admin
Posts: 676
Joined: 15 Apr 2016 06:03

Re: Slackel 7.5 does not "see" Wi-Fi

Post by djemos »

perser13 wrote:After reboot, Wi-Fi is gone...
wlan0 is missing after ifconfig -a

The message in the BIOS:
ERROR: wl_cfg80211_detach
is missing.

Probably the changes should be included in the startup?
Hi perser13,
Glad to know that b43 is the driver for you.
You have to type again after reboot
sudo modprobe -r wl
sudo modprobe b43
to enable wifi.
So edit /etc/rc.d/rc.local

Code: Select all

sudo geany /etc/rc.d/rc.local
and add there the line

Code: Select all

modprobe b43
and also type

Code: Select all

sudo geany /etc/modprobe.d/blacklist-wl.conf
add there the line

Code: Select all

blacklist wl
So after reboot you don't have to type sudo modprobe -r wl sudo modprobe b43 to enable wifi.

I hope slackel will be useful to you.
Welcome.

Edit: i do not understand both solutions are working ?
1. if after reinstalling you have wifi using broadcom-sta and after reboot wifi is gone then type sudo modprobe wl. If wifi is enabled then add modrobe wl to /etc/rc.d/rc.local to load it after reboot to not type it again.

2. if installing b43-firmware and b43-fwcutter to use b43 module is working for you then you have to blacklist wl as i wrote above and add modprobe b43 in /etc/rc.d/rc.local. And uninstall broadcom-sta package. (sudo spkg -d broadcom-sta).
perser13
Posts: 5
Joined: 05 Jan 2022 16:15

Re: Slackel 7.5 does not "see" Wi-Fi

Post by perser13 »

Now after reinstalling the system (for another reason) everything worked fine with b43 !!!
Now everything is fine.
The broadcom-sta package is not being deleted because it was deleted earlier.
I have made up my instructions for the future.
I consider the question closed, thank you for your help.
Post Reply