How to install Porteus 5.0 and Broadcom BCM43142 802.11b/g/n (rev 01) Linux wifi driver

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
kushagratandon
Black ninja
Black ninja
Posts: 32
Joined: 10 Jun 2020, 02:07
Distribution: Porteus-KDE-v5.0rc1-x86_64.iso

Help with installation of Porteus from one usb(Live) to another usb

Post#16 by kushagratandon » 13 Jun 2020, 18:01

Yup I used RUFUS to make it into portable live linux.

What changes I have to make to porteus.cfg to save changes to EXT3 Partition?

By updates I meant like Linux updates of software kernel or even Porteus upgrade packages.


Ed_P wrote:
13 Jun 2020, 06:06

Code: Select all

lspci | grep Network
It return nothing when I run it with root privileges

kushagratandon
Black ninja
Black ninja
Posts: 32
Joined: 10 Jun 2020, 02:07
Distribution: Porteus-KDE-v5.0rc1-x86_64.iso

Help with installation of Porteus from one usb(Live) to another usb

Post#17 by kushagratandon » 13 Jun 2020, 18:48

Hi Ed,

More good news..
I followed this blog and it work wonders. No hiccup at any place at all. :Yahoo!:

https://fitzcarraldoblog.wordpress.com/ ... ifference/

I must say this blog should be promoted as it helped out in installation of Porteus on USB using two different ways. :thumbsup:
Now only thing left is the network issue.

User avatar
Ed_P
Moderator
Moderator
Posts: 5705
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 & 5.0rc2 Cinnamon 64 ISOs
Location: Western NY, USA

Help with installation of Porteus from one usb(Live) to another usb

Post#18 by Ed_P » 13 Jun 2020, 20:24

Happy to hear you're making progress though surprised it's taking you so much effort.

Post the results of this command as root:

Code: Select all

lspci | grep controller
"updates" are xzm modules and are copied to the /porteus/modules/ folder and then activated. No installs needed.

Post a ls command of both your usb drive's new partitions.

Does the posteus usb drive you have been booting have multiple partitions? If so post a ls command of those partitions also.
Ed

kushagratandon
Black ninja
Black ninja
Posts: 32
Joined: 10 Jun 2020, 02:07
Distribution: Porteus-KDE-v5.0rc1-x86_64.iso

Help with installation of Porteus from one usb(Live) to another usb

Post#19 by kushagratandon » 13 Jun 2020, 20:42

Ed_P wrote:
13 Jun 2020, 20:24

Code: Select all

lspci | grep controller

Code: Select all

00:02.0 VGA compatible controller: Intel Corporation Device 3ea0 (rev 02)
00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 0c)
00:12.0 Signal processing controller: Intel Corporation Device 9df9 (rev 30)
00:14.0 USB controller: Intel Corporation Device 9ded (rev 30)
00:16.0 Communication controller: Intel Corporation Device 9de0 (rev 30)
00:17.0 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 30)
00:19.0 Serial bus controller [0c80]: Intel Corporation Device 9dc5 (rev 30)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device 9da4 (rev 30)
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device c821
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

Code: Select all

ls /mnt/sdb1
EFI/  System\ Volume\ Information/  USB_INSTALLATION.txt*  autorun.ico*  autorun.inf*  boot/  porteus/  syslinux.cfg*

Code: Select all

ls /mnt/sdb2
changes/  lost+found/

kushagratandon
Black ninja
Black ninja
Posts: 32
Joined: 10 Jun 2020, 02:07
Distribution: Porteus-KDE-v5.0rc1-x86_64.iso

Help with installation of Porteus from one usb(Live) to another usb

Post#20 by kushagratandon » 13 Jun 2020, 20:43

Code: Select all

00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 07)
00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 08)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
02:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)
I changed my laptop to see if it was working on another but same result! Broadcom drivers are a problem for linux.

User avatar
Ed_P
Moderator
Moderator
Posts: 5705
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 & 5.0rc2 Cinnamon 64 ISOs
Location: Western NY, USA

Help with installation of Porteus from one usb(Live) to another usb

Post#21 by Ed_P » 13 Jun 2020, 21:29

kusha post the output of these commands on your new usb drive.

Code: Select all

ls -knn /lib/modules/4.*-porteus/kernel/drivers/net/wireless/realtek/
ls -knn /lib/modules/4.*-porteus/kernel/drivers/net/wireless/broadcom/
Added in 4 minutes 57 seconds:
For broadcom this link may help: Porteus-3.2rc2 bug reports
Ed

kushagratandon
Black ninja
Black ninja
Posts: 32
Joined: 10 Jun 2020, 02:07
Distribution: Porteus-KDE-v5.0rc1-x86_64.iso

Help with installation of Porteus from one usb(Live) to another usb

Post#22 by kushagratandon » 14 Jun 2020, 03:24

Hi Ed.... The output is as shown below:

Code: Select all

uest@porteus:~$ sudo ls -knn /lib/modules/5.1.5-porteus/kernel/drivers/net/wireless/realtek/
total 0
drwxr-xr-x  4 0 0  45 May 26  2019 rtl818x
drwxr-xr-x  2 0 0  34 May 26  2019 rtl8xxxu
drwxr-xr-x 14 0 0 273 May 26  2019 rtlwifi
guest@porteus:~$ sudo ls -knn /lib/modules/5.1.5-porteus/kernel/drivers/net/wireless/broadcom/
total 0
drwxr-xr-x 2 0 0 29 May 26  2019 b43
drwxr-xr-x 2 0 0 35 May 26  2019 b43legacy
drwxr-xr-x 5 0 0 63 May 26  2019 brcm80211

User avatar
Ed_P
Moderator
Moderator
Posts: 5705
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 & 5.0rc2 Cinnamon 64 ISOs
Location: Western NY, USA

Help with installation of Porteus from one usb(Live) to another usb

Post#23 by Ed_P » 14 Jun 2020, 04:40

This link may be a better fix with the broadcom system: Version 4.0 questions (Post by Blaze #64647)

A similar approach may work with the Realtek drivers in Porteus.
Ed

kushagratandon
Black ninja
Black ninja
Posts: 32
Joined: 10 Jun 2020, 02:07
Distribution: Porteus-KDE-v5.0rc1-x86_64.iso

Help with installation of Porteus from one usb(Live) to another usb

Post#24 by kushagratandon » 14 Jun 2020, 05:06

Hi Ed,

The above link doesn't work! Tried it, no output or result

User avatar
Ed_P
Moderator
Moderator
Posts: 5705
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 & 5.0rc2 Cinnamon 64 ISOs
Location: Western NY, USA

Help with installation of Porteus from one usb(Live) to another usb

Post#25 by Ed_P » 14 Jun 2020, 05:20

kushagratandon wrote:
14 Jun 2020, 05:06
The above link doesn't work! Tried it, no output or result
:o Here's the posting.
Blaze wrote:
12 May 2018, 09:31
Hi sci_fi.

Can you try this variant:

1) Download b43-firmware-classic-5.100.138-1-noarch.xzm and copy to modules folder of Porteus.
2) Run in terminal these commands

Code: Select all

su
toor
echo 'blacklist wl' > /etc/modprobe.d/broadcom_blacklist.conf
echo 'blacklist wl' > /etc/modprobe.d/b43_blacklist.conf
reboot
3) After reboot open terminal and check

Code: Select all

su
toor
dmesg | grep -i b43
modprobe b43
and try your wifi connection.

Thanks.
Ed

kushagratandon
Black ninja
Black ninja
Posts: 32
Joined: 10 Jun 2020, 02:07
Distribution: Porteus-KDE-v5.0rc1-x86_64.iso

Help with installation of Porteus from one usb(Live) to another usb

Post#26 by kushagratandon » 14 Jun 2020, 05:36

Hi
I tried the solution above but it didn't worked. The link was working. The solution didn't worked.

I am following this link now!

Code: Select all

Hello,

A small bug/omission that may affect some users with a broadcom wifi card:

The broadcom proprietary kernel module wl.ko is missing from 000-kernel.xzm but several related files from earlier versions are still present (at least in the 32-bit version, I did not check the 64-bit version).

The following will remove all obsolete files:

rm /etc/modprobe.d/b43_blacklist.conf
rm /etc/modprobe.d/broadcom_blacklist.conf
rm /var/log/packages/broadcom-sta-6.30.223.248-i486-1ftm
rm /var/log/packages/broadcom-sta-6.30.223.271_4.4.3_porteus-i486-1jay
rm /var/log/scripts/broadcom-sta-6.30.223.271_4.4.3_porteus-i486-1jay
rm -r /usr/doc/broadcom-sta-6.30.223.141
rm -r /usr/doc/broadcom-sta-6.30.223.271

If we wish to install the current wl.ko for some particular kernel you have just compiled (say 4.4.10-porteus, for example), the following will do all the job:

wget --no-check-certificate https://slackbuilds.org/slackbuilds/14. ... sta.tar.gz
tar xf broadcom-sta.tar.gz
cd broadcom-sta/

wget --no-check-certificate https://www.broadcom.com/docs/linux_sta ... 271.tar.gz
wget --no-check-certificate https://www.broadcom.com/docs/linux_sta ... 271.tar.gz
wget --no-check-certificate https://www.broadcom.com/docs/linux_sta ... 23.271.txt

KERNEL=4.4.10-porteus broadcom-sta.SlackBuild
installpkg /tmp/broadcom-sta-*_SBo.tgz

The above instructions should work equally well for the 64-bit version.

Regards.

kushagratandon
Black ninja
Black ninja
Posts: 32
Joined: 10 Jun 2020, 02:07
Distribution: Porteus-KDE-v5.0rc1-x86_64.iso

Help with installation of Porteus from one usb(Live) to another usb

Post#27 by kushagratandon » 15 Jun 2020, 19:35

Hi Ed

Again help needed....Should I open a new post at forum for wireless drivers or should I continue in here

KERNEL=5.1.5-porteus ./broadcom-sta.SlackBuild

This line gives error as

Code: Select all

make: *** /lib/modules/5.1.5-porteus/build: No such file or directory.  Stop.
After reading its Readme file, i found this...

Code: Select all

Building this driver requires that your machine have the proper tools,
packages, header files and libraries to build a standard kernel module.
This usually is done by installing the kernel developer or kernel source
package and varies from distro to distro. Consult the documentation for
your specific OS.

If you cannot successfully build a module that comes with your distro's
kernel developer or kernel source package, you will not be able to build
this module either.

If you try to build this module but get an error message that looks like
this:

make: *** /lib/modules/"release"/build: No such file or directory. Stop.

Then you do not have the proper packages installed, since installing the
proper packages will create /lib/modules/"release"/build on your system.

On Fedora install 'kernel-devel' from 
Package Manager (System-> Administration-> Add/Remove Software)
or 
yum install kernel-devel 
or
yum install kernel-PAE-devel

On Ubuntu, you will need headers and tools.  Try these commands:
# apt-get install build-essential linux-headers-generic
# apt-get build-dep linux

To check to see if you have this directory do this:

# ls /lib/modules/`uname -r`/build
Also the code return this:

Code: Select all

root@porteus:/home/guest/Downloads/broadcom-sta# ls /lib/modules/`uname -r`/build
/lib/modules/5.1.5-porteus/build@

kushagratandon
Black ninja
Black ninja
Posts: 32
Joined: 10 Jun 2020, 02:07
Distribution: Porteus-KDE-v5.0rc1-x86_64.iso

Help with installation of Porteus from one usb(Live) to another usb

Post#28 by kushagratandon » 15 Jun 2020, 20:12

Hi Ed,

My mistake.. I didn't have crippled sources module installed. I have installed the broadcom wireless driver! :good:

kushagratandon
Black ninja
Black ninja
Posts: 32
Joined: 10 Jun 2020, 02:07
Distribution: Porteus-KDE-v5.0rc1-x86_64.iso

Help with installation of Porteus from one usb(Live) to another usb

Post#29 by kushagratandon » 15 Jun 2020, 20:32

Okay everything is working now. Even Installed realtek wireless driver!!! :showoff: :beer:

User avatar
Ed_P
Moderator
Moderator
Posts: 5705
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 & 5.0rc2 Cinnamon 64 ISOs
Location: Western NY, USA

Help with installation of Porteus from one usb(Live) to another usb

Post#30 by Ed_P » 16 Jun 2020, 03:40

Congrats kusha. :Yahoo!: :good:
kushagratandon wrote:
15 Jun 2020, 19:35
Again help needed....Should I open a new post at forum for wireless drivers or should I continue in here
I was going to reply Yes to your suggestion and then I noticed that you have been working with the test release of Porteus 5.0 rc1 in which related threads should be in the Debugging section. So I'm going to move this thread.

Since you have been so successful with the wi-fi drivers I'm hoping you will post the steps you used to create each of them for others to follow and upload your modules for others to use. :)
Ed

Post Reply