Salix Xfce 15.0beta1

Post Reply
User avatar
Pilou
Posts: 8
Joined: 11. Aug 2017, 17:43

Re: Salix Xfce 15.0beta1

Post by Pilou »

Hello everybody,

Salix 15-beta1 installed easily.
Works fine.
Just a problem : wifi doesn't work.

$ lspci -v | grep Network
05:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n

Could help ?

Otherwise, best congratulations for the whole work.

P.
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: Salix Xfce 15.0beta1

Post by gapan »

Pilou wrote: 14. Jun 2022, 16:48 Just a problem : wifi doesn't work.

$ lspci -v | grep Network
05:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n

Could help ?
This will probably work:

Code: Select all

sudo slapt-src -u
sudo slapt-src -i b43-fwcutter b43-firmware
and reboot.
Image
Image
User avatar
Pilou
Posts: 8
Joined: 11. Aug 2017, 17:43

Re: Salix Xfce 15.0beta1

Post by Pilou »

I already did that but it doesn't work.

When looking at https://wireless.wiki.kernel.org/en/users/drivers/b43, we see this chip is unsupported :

PCI-ID Supported? Chip ID Modes PHY version Alternative
. . .
14e4:4365 no BCM43142 b/g/n LCN40 (r3) wl

So, i am searching Broadcom sources for compile the driver wl.ko as i did 8-9 years ago.
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: Salix Xfce 15.0beta1

Post by gapan »

Ah, so you're probably looking for broadcom-sta. Unfortunately it seems to not be maintained any more at SBo and it has been removed from SBo in 15.0. I guess you can try the slackbuild from 14.2:
https://slackbuilds.org/repository/14.2 ... oadcom-sta

Get the broadcom-sta.tar.gz from that page, untar it somewhere on your system, also put the respective source download (32 or 64bit) for your system in the same directory where the untarred contents are and run the slackbuild. Unfortunately the slackbuild is broken and needs a fix. I just ran the following, which includes a fix and it built a package that includes the wl module here. Change the 2nd wget download to the 32bit one if you're on a 32bit system.

Code: Select all

cd /tmp
wget https://slackbuilds.org/slackbuilds/14.2/network/broadcom-sta.tar.gz
tar xf broadcom-sta.tar.gz
cd broadcom-sta
wget https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz
sed -i "/^cp -a/d" broadcom-sta.SlackBuild
chmod +x ./broadcom-sta.SlackBuild
fakeroot ./broadcom-sta.SlackBuild
and you should have a package ready to install with spkg:

Code: Select all

sudo spkg /tmp/broadcom-sta-6.30.223.271_5.15.38-x86_64-3_SBo.tgz
(adjust for 32bit)
Image
Image
User avatar
Pilou
Posts: 8
Joined: 11. Aug 2017, 17:43

Re: Salix Xfce 15.0beta1

Post by Pilou »

I tried your tip but :

Code: Select all

make: Entering directory '/usr/src/linux-5.15.38'
make: *** No rule to make target 'clean'.  Stop.
make: Leaving directory '/usr/src/linux-5.15.38'
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: Salix Xfce 15.0beta1

Post by gapan »

Do you have the kernel-source package installed?
Image
Image
User avatar
Pilou
Posts: 8
Joined: 11. Aug 2017, 17:43

Re: Salix Xfce 15.0beta1

Post by Pilou »

yes.

Code: Select all

$ slapt-get --search kernel-source
kernel-source-5.15.38-noarch-1 [inst=oui]: kernel-source (Linux kernel source)
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: Salix Xfce 15.0beta1

Post by gapan »

This is weird. I'm not sure what's going on. Can you run everything again, but this time change the first command

Code: Select all

cd /tmp
to something else?

Code: Select all

cd ~/Desktop
will do.

Also, what is the output of

Code: Select all

uname -a
Image
Image
User avatar
Pilou
Posts: 8
Joined: 11. Aug 2017, 17:43

Re: Salix Xfce 15.0beta1

Post by Pilou »

cd ~/Desktop
Same error.

Code: Select all

uname -a
Linux darkstar.example.net 5.15.38 #1 SMP PREEMPT Mon May 9 15:36:07 CDT 2022 x86_64 AMD E1-6010 APU with AMD Radeon R2 Graphics AuthenticAMD GNU/Linux
User avatar
Pilou
Posts: 8
Joined: 11. Aug 2017, 17:43

Re: Salix Xfce 15.0beta1

Post by Pilou »

I finally reinstalled the system and the kernel-source package.

While investigating further, i found an unresolved link :
/usr/src/linux is linked to /usr/src/linux-5.15.38 but this directory doesn't exist.

So i create it:

Code: Select all

sudo mkdir /usr/src/linux-5.15.38
Then, installing the broadcom driver following your instructions (from ~/Desktop) works.
And after rebooting, wifi works !

Thank you for your help.
Post Reply