Porteus Nemesis v3.3 BUG REPORTS

Arch based Porteus community project
Locked
User avatar
Ed_P
Contributor
Contributor
Posts: 3059
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Porteus Nemesis v3.3 BUG REPORTS

Post#91 by Ed_P » 01 Dec 2015, 17:08

brokenman wrote:
Please post the model of wireless card you have
You can get this from porteus-settings-centre or from: lspci
From Porteus 3.1 Porteus-LXQT-v3.1-x86_64-nu.iso

Code: Select all

guest@porteus:~$ lspci
bash: lspci: command not found
guest@porteus:~$ su
Password: 
root@porteus:/home/guest# lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 6290]
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler HDMI Audio
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 42)
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (rev 40)
00:15.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
00:15.2 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB900 PCI to PCI bridge (PCIE port 2)
00:15.3 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB900 PCI to PCI bridge (PCIE port 3)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 0 (rev 43)
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 6
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 5
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 7
06:00.0 Ethernet controller: Qualcomm Atheros AR8152 v2.0 Fast Ethernet (rev c1)
07:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)
root@porteus:/home/guest#

Code: Select all

WIRELESS INFO:

07:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)
	Subsystem: Foxconn International, Inc. Device e042
	Flags: bus master, fast devsel, latency 0, IRQ 19
	Memory at 90100000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [40] Power Management version 3
	Capabilities: [58] Vendor Specific Information: Len=78 <?>
	Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [d0] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [13c] Virtual Channel
	Capabilities: [160] Device Serial Number 00-00-19-ff-ff-1a-60-d8
	Capabilities: [16c] Power Budgeting <?>
	Kernel driver in use: wl
	Kernel modules: bcma, wl

ETHERNET INFO:

06:00.0 Ethernet controller: Qualcomm Atheros AR8152 v2.0 Fast Ethernet (rev c1)
	Subsystem: Acer Incorporated [ALI] Device 0598
	Flags: bus master, fast devsel, latency 0, IRQ 42
	Memory at 90200000 (64-bit, non-prefetchable) [size=256K]
	I/O ports at 2000 [size=128]
	Capabilities: [40] Power Management version 3
	Capabilities: [48] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [58] Express Endpoint, MSI 00
	Capabilities: [6c] Vital Product Data
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [180] Device Serial Number ff-ef-57-5d-b8-70-f4-ff
	Kernel driver in use: atl1c
	Kernel modules: atl1c
Ed

User avatar
brokenman
Site Admin
Site Admin
Posts: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Porteus Nemesis v3.3 BUG REPORTS

Post#92 by brokenman » 01 Dec 2015, 17:55

I am not at home right now so I can't check what is included. Please use pacman/pacaur to get: broadcom-wl from the arch repos. Then issue:

rmmod b43
rmmod ssb
modprobe wl
depmod -a

I think this is an AUR package so you may need to use pacaur.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Ed_P
Contributor
Contributor
Posts: 3059
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Porteus Nemesis v3.3 BUG REPORTS

Post#93 by Ed_P » 01 Dec 2015, 19:30

brokenman wrote:Please use pacman/pacaur to get: broadcom-wl from the arch repos.
:Yahoo!: Glad you've figured the problem out. :Yahoo!: But the solution needs an adjustment. pacman/pacaur need a wi-fi connection which my 3.3 system doesn't have and they don't work on my 3.01 or 3.1 systems. :(

Is this what I need?

https://aur.archlinux.org/packages/broadcom-wl/

Once I download it what do I do?
Ed

roadie
Full of knowledge
Full of knowledge
Posts: 205
Joined: 02 Jan 2011, 18:41
Distribution: Porteus 3.5...with a twist
Location: In a hayfield

Re: Porteus Nemesis v3.3 BUG REPORTS

Post#94 by roadie » 01 Dec 2015, 20:24

EdP,
Do you have a wired connection with Nemesis?

User avatar
brokenman
Site Admin
Site Admin
Posts: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Porteus Nemesis v3.3 BUG REPORTS

Post#95 by brokenman » 01 Dec 2015, 20:42

Yes, download the package manually and install it with pacman using: pacman -U /path/to/broadcom-wl*
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Ed_P
Contributor
Contributor
Posts: 3059
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Porteus Nemesis v3.3 BUG REPORTS

Post#96 by Ed_P » 01 Dec 2015, 21:40

roadie wrote:EdP,
Do you have a wired connection with Nemesis?
Ok, what drawer is the cable in. Unplug the router, take it down, plug the network cable in. Is there an RJ45 port on this netbook?
Yup, found it. Ok, reboot to Nemesis.

And I'm online with 3.3. :Yahoo!:

Here we go:

Code: Select all

guest ~ $ pacaur broadcom-wl
[sudo] password for guest: 
Sorry, try again.
[sudo] password for guest:               <<------------- It really was asking for the guest password.  :-/
error: failed to initialize alpm library
(database is incorrect version: /var/lib/pacman/)
error:   try running pacman-db-upgrade
guest ~ $ pacman-db-upgrade
==> ERROR: You must have correct permissions to upgrade the database.
guest ~ $ su
Password: 
Failed to connect to bus: Operation not permitted
root /home/guest # pacaur broadcom-wl
error: failed to initialize alpm library
(database is incorrect version: /var/lib/pacman/)
error:   try running pacman-db-upgrade
root /home/guest # pacman-db-upgrade
==> Pre-4.2 database format detected - upgrading...
root /home/guest # pacaur broadcom-wl
warning: database file for 'core' does not exist
warning: database file for 'extra' does not exist
warning: database file for 'community' does not exist
error: no operation specified (use -h for help)
root /home/guest # 
Yup.

Ok, let's try the browser. :)

OMG Are you serious!!! Couldn't even figure out how to get here with it. Not sure 3.3 is ready for online browsing.
brokenman wrote:Yes, download the package manually and install it with pacman
Actually I'm not sure what I need to download. The GIT Clone URL, the Package Base, the Upstream URL, the .tar.gz file, the Dependencies?

And 3.3 needs a modern browser. The Lynx thing is archaic.
Ed

beny
Full of knowledge
Full of knowledge
Posts: 720
Joined: 02 Jan 2011, 11:33
Location: italy

Re: Porteus Nemesis v3.3 BUG REPORTS

Post#97 by beny » 01 Dec 2015, 22:13

Ed_p, setup-pman first, after the setup it created the xzm package,after this pman -S firefox or crome or opera or....

aus9

Re: Porteus Nemesis v3.3 BUG REPORTS

Post#98 by aus9 » 01 Dec 2015, 22:29

Ed_P and brokenman

As brokenman may be asleep and I don't have wireless myself but just woke up let me review some things you two may have missed
From various posts above

Code: Select all

06:00.0 Ethernet controller: Qualcomm Atheros AR8152 v2.0 Fast Ethernet (rev c1)
07:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)

# kernel modules in use for wl
Kernel modules: bcma, wl
# kernel modules in use for eth0
Kernel modules: atl1c

# as root
rmmod b43
rmmod ssb
modprobe wl
depmod -a
AFAIK you can't have wired and wireless as same time. You can have the 2 wired to bridge etc

wiki
https://wiki.archlinux.org/index.php/Broadcom_wireless
https://wireless.wiki.kernel.org/en/use ... rted_chips
https://wireless.wiki.kernel.org/en/use ... f_hardware

so the actual first thing we all need to know IMHO is get your true id for the broadcom device

as guest works for me ...if fails try as sudo before command

Code: Select all

lspci -vnn | grep Device 
so lets start at the beginning shall we?

Ed that device number should be universal across distros so if you are reading this on some non-nemesis post the results using your nice browser please.

Leaping ahead its the last link and your ids that interest me.

You are likely to report
14e4:4313
14e4:43aa
14e4:4727
Now I don't have that manufacturer but instead of the lspci command you could try this

Code: Select all

lspci -nn -d 14e4:
Ed and sorry for not remembering but can you provide exact name,make model (if applicable the revision number) of your laptop please?
Even better a link to your specs page might be useful

User avatar
brokenman
Site Admin
Site Admin
Posts: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Porteus Nemesis v3.3 BUG REPORTS

Post#99 by brokenman » 02 Dec 2015, 01:54

The b43 kernel module is blacklisted by default as per /etc/modprobe.d/* so perhaps try loading this module before anything else to see if it will run your broadcom device:

Code: Select all

modprobe b43
pacaur is to be run as guest. So ....

(as root): setup-pman
(as guest): pacaur -S broadcom-wl
(as root):
rmmod b43
rmmod ssb
modprobe wl
depmod -a
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Ed_P
Contributor
Contributor
Posts: 3059
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Porteus Nemesis v3.3 BUG REPORTS

Post#100 by Ed_P » 02 Dec 2015, 04:55

beny wrote:Ed_p, setup-pman first, after the setup it created the xzm package,after this pman -S firefox or crome or opera or....
I understand that approach beny but most people when they encounter a problem look to the web for a solution. Me included. If a new user downloads this, trys it and has problems they are not going to know to use pacman or pacaur and they are not going to have a normal online way to find that out, so, they will move on to something else.
aus9 wrote:as guest works for me ...if fails try as sudo before command

Code: Select all

lspci -vnn | grep Device 

Code: Select all

guest@porteus:~$ lspci -vnn | grep Device
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Complex [1022:1510]
	Subsystem: Acer Incorporated [ALI] Device [1025:0598]
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 6290] [1002:9807] (prog-if 00 [VGA controller])
	Subsystem: Acer Incorporated [ALI] Device [1025:0598]
00:01.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler HDMI Audio [1002:1314]
	Subsystem: Acer Incorporated [ALI] Device [1025:0598]
00:11.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] [1002:4391] (prog-if 01 [AHCI 1.0])
	Subsystem: Acer Incorporated [ALI] Device [1025:0598]
00:12.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397] (prog-if 10 [OHCI])
	Subsystem: Acer Incorporated [ALI] Device [1025:0598]
00:12.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396] (prog-if 20 [EHCI])
	Subsystem: Acer Incorporated [ALI] Device [1025:0598]
00:13.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397] (prog-if 10 [OHCI])
	Subsystem: Acer Incorporated [ALI] Device [1025:0598]
00:13.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396] (prog-if 20 [EHCI])
	Subsystem: Acer Incorporated [ALI] Device [1025:0598]
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller [1002:4385] (rev 42)
	Subsystem: Acer Incorporated [ALI] Device [1025:0598]
00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) [1002:4383] (rev 40)
	Subsystem: Acer Incorporated [ALI] Device [1025:0598]
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller [1002:439d] (rev 40)
	Subsystem: Acer Incorporated [ALI] Device [1025:0598]
00:14.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge [1002:4384] (rev 40) (prog-if 01 [Subtractive decode])
00:15.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0) [1002:43a0] (prog-if 00 [Normal decode])
00:15.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] SB900 PCI to PCI bridge (PCIE port 2) [1002:43a2] (prog-if 00 [Normal decode])
00:15.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] SB900 PCI to PCI bridge (PCIE port 3) [1002:43a3] (prog-if 00 [Normal decode])
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 0 [1022:1700] (rev 43)
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 1 [1022:1701]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 2 [1022:1702]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 3 [1022:1703]
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 4 [1022:1704]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 6 [1022:1718]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 5 [1022:1716]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 7 [1022:1719]
	Subsystem: Acer Incorporated [ALI] Device [1025:0598]
	Subsystem: Foxconn International, Inc. Device [105b:e042]
guest@porteus:~$ 
Now I don't have that manufacturer but instead of the lspci command you could try this

Code: Select all

lspci -nn -d 14e4:

Code: Select all

guest@porteus:~$ lspci -nn -d 14e4:
07:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter [14e4:4727] (rev 01)
guest@porteus:~$ 
Ed and sorry for not remembering but can you provide exact name,make model (if applicable the revision number) of your laptop please?
Acer Aspire One 722
brokenman wrote:perhaps try loading this module before anything else to see if it will run your broadcom device:

Code: Select all

modprobe b43

Code: Select all

guest ~ $ modprobe b43
modprobe: ERROR: could not insert 'b43': Operation not permitted
guest ~ $ su root
Password: 
Failed to connect to bus: Operation not permitted
root /home/guest # modprobe b43
root /home/guest #
pacaur is to be run as guest. So ....

(as root): setup-pman
(as guest): pacaur -S broadcom-wl
(as root):
rmmod b43
rmmod ssb
modprobe wl
depmod -a

Code: Select all

root /home/guest # setup-pman

 No internet connection was detected. 

Please ensure you have a connection and try again.
Exit code: 1
Aborting.
root /home/guest # rmmod b43
root /home/guest # rmmod ssb
root /home/guest # modprobe b43
root /home/guest # depmod -a
root /home/guest # ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether b8:70:f4:ef:57:5d  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 88  bytes 5280 (5.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 88  bytes 5280 (5.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root /home/guest # 
Yes, I screwed up the running of setup-pman but I think I would have gotten the same error as guest.

Which AUR link do I use to manually download the broadcom-wl module? I noted a couple of post up that there are several on that page.
Ed_P wrote:
brokenman wrote:Yes, download the package manually and install it with pacman
Actually I'm not sure what I need to download. The GIT Clone URL, the Package Base, the Upstream URL, the .tar.gz file, the Dependencies?
Ed

User avatar
brokenman
Site Admin
Site Admin
Posts: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Porteus Nemesis v3.3 BUG REPORTS

Post#101 by brokenman » 02 Dec 2015, 10:05

Did you check if your wifi works after loading b43? You didn't say anything.
Did you try setup-pman with an internet connection ... then run pacaur -S broadcom-wl as guest? The easiest way for you will be to download and build broadcom-wl using pacaur (as guest). It will download and build the driver, otherwise you need to manually download and manually build. If you have a connection to download manually then you have a connection to use pacaur.

Sorry, broadcom is really a pain for linux but if we can get it working I will know how to fix it for the final release.
How do i become super user?
Wear your underpants on the outside and put on a cape.

aus9

Re: Porteus Nemesis v3.3 BUG REPORTS

Post#102 by aus9 » 02 Dec 2015, 10:07

@brokenman @Ed_P

Ed if you don't understand this bit wait for brokenman or he can ignore me as well.....giggles

I have trouble with aur PKGBUILD so spat the dummy and downloaded the br kernel module source from
http://www.broadcom.com/docs/linux_sta/ ... 271.tar.gz

unpacked and made the kernel object

Code: Select all

ls
lib  Makefile  src

root /tmp/ker # make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory '/usr/src/linux-4.3'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  LD      /tmp/ker/built-in.o
  CC [M]  /tmp/ker/src/shared/linux_osl.o
  CC [M]  /tmp/ker/src/wl/sys/wl_linux.o
  CC [M]  /tmp/ker/src/wl/sys/wl_iw.o
  CC [M]  /tmp/ker/src/wl/sys/wl_cfg80211_hybrid.o
  LD [M]  /tmp/ker/wl.o
  Building modules, stage 2.
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  MODPOST 1 modules
  CC      /tmp/ker/wl.mod.o
  LD [M]  /tmp/ker/wl.ko
make[1]: Leaving directory '/usr/src/linux-4.3'

make install
install -D -m 755 wl.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless
root /tmp/ker # find / -name wl.ko
/mnt/sda3/porteus/changes/usr/lib/modules/4.3.0-porteus/kernel/drivers/net/wireless/wl.ko
/mnt/live/memory/changes/usr/lib/modules/4.3.0-porteus/kernel/drivers/net/wireless/wl.ko
/usr/lib/modules/4.3.0-porteus/kernel/drivers/net/wireless/wl.ko
/tmp/ker/wl.ko
root /tmp/ker # md5sum wl.ko
63cfa2cfd19381562aa9e2936da045c0  wl.ko
Ed if you do trust me, module size 7.5 megs
https://www.dropbox.com/s/6shg22w9e4n2y59/wl.ko?dl=0

save it somewhere until you boot up with a changes= cheatcode
use root powers to add it to
/usr/lib/modules/4.3.0-porteus/kernel/drivers/net/wireless/wl.ko

now as root
bring down your ethernet

Code: Select all

ifconfig  eth0 down
ifconfig (must show only your lo stuff)

rmmod b43
rmmod ssb
modprobe wl
depmod -a

ifconfig wlan0 up  (or) ifconfig  ...not sure as I don't have wireless
(should now show a wlan0 entry)
You still need to enter your router passphrase using NM applet

User avatar
Ed_P
Contributor
Contributor
Posts: 3059
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Porteus Nemesis v3.3 BUG REPORTS

Post#103 by Ed_P » 02 Dec 2015, 23:53

brokenman wrote:The b43 kernel module is blacklisted by default as per /etc/modprobe.d/* so perhaps try loading this module before anything else to see if it will run your broadcom device:

Code: Select all

modprobe b43
pacaur is to be run as guest. So ....

(as root): setup-pman
(as guest): pacaur -S broadcom-wl
(as root):
rmmod b43
rmmod ssb
modprobe wl
depmod -a
Retried with a cable connection .and followed the directions better.

Code: Select all

guest ~ $ su
Password: 
Failed to connect to bus: Operation not permitted
root /home/guest # modprobe b43
root /home/guest # setup-pman
gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent
gpg: migration succeeded
gpg: Generating pacman keyring master key...
gpg: key 755169F5 marked as ultimately trusted
gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created
gpg: Done
==> Updating trust database...
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
==> Appending keys from archlinux.gpg...
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
==> Locally signing trusted keys in keyring...
  -> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...
  -> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...
  -> Locally signing key 44D4A033AC140143927397D47EFD567D4C7EA887...
  -> Locally signing key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...
  -> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...
==> Importing owner trust values...
gpg: inserting ownertrust of 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
==> Disabling revoked keys in keyring...
  -> Disabling key F5A361A3A13554B85E57DDDAAF7EF7873CFD4BB6...
  -> Disabling key 7FA647CD89891DEDC060287BB9113D1ED21E1A55...
  -> Disabling key D4DE5ABDE2A7287644EAC7E36D1A9E70E19DAA50...
  -> Disabling key BC1FBE4D2826A0B51E47ED62E2539214C6C11350...
  -> Disabling key 9515D8A8EAB88E49BB65EDBCE6B456CAF15447D5...
  -> Disabling key 4A8B17E20B88ACA61860009B5CED81B7C2E5C0D2...
  -> Disabling key 63F395DE2D6398BBE458F281F2DBB4931985A992...
  -> Disabling key 0B20CA1931F5DA3A70D0F8D2EA6836E1AB441196...
  -> Disabling key 8F76BEEA0289F9E1D3E229C05F946DED983D4366...
  -> Disabling key 66BD74A036D522F51DD70A3C7F2A16726521E06D...
  -> Disabling key 81D7F8241DB38BC759C80FCE3A726C6170E80477...
  -> Disabling key E7210A59715F6940CF9A4E36A001876699AD6E84...
==> Updating trust database...
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   5  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1  valid:   5  signed:  64  trust: 0-, 0q, 0n, 5m, 0f, 0u
gpg: depth: 2  valid:  64  signed:   6  trust: 64-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2016-01-22

 It seems you have not optimized your mirror list. 

I can find the fastest package mirror for you.

Would you like to do that now? [y/n]y
Please wait ...

Testing ALL the mirrors could take a long time.
To make it faster I will only search for mirrors in United States
Enter the number of mirrors you want to test [1-5]: 2
 Finding fastest mirror ... 

 Updated to fastest mirror. 


 Mirror list was successfully updated: 

Server = http://mirrors.acm.wpi.edu/archlinux/$repo/os/$arch
Server = http://mirror.rackspace.com/archlinux/$repo/os/$arch
Server = http://mirrors.abscission.net/archlinux/$repo/os/$arch

 Updating database ... 

:: Synchronizing package databases...
 core                     122.1 KiB   773K/s 00:00 [######################] 100%
 extra                   1805.3 KiB   858K/s 00:02 [######################] 100%
 community                  3.1 MiB   854K/s 00:04 [######################] 100%
 Updating certificates /// 

df: ‘/porteus3.x/porteussave.dat’: No such file or directory
 Changes are not on a real file system. 


 It seems you are not saving your changes. 

Would you like to create a module from your settings? [y/n]y
Parallel mksquashfs: Using 2 processors
Creating 4.0 filesystem on /tmp/pacman-settings.xzm, block size 262144.
[=================================================================-] 30/30 100%

Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
	compressed data, compressed metadata, compressed fragments, compressed xattrs
	duplicates are removed
Filesystem size 5640.45 Kbytes (5.51 Mbytes)
	99.13% of uncompressed filesystem size (5690.10 Kbytes)
Inode table size 374 bytes (0.37 Kbytes)
	44.00% of uncompressed inode table size (850 bytes)
Directory table size 454 bytes (0.44 Kbytes)
	76.05% of uncompressed directory table size (597 bytes)
Number of duplicate files found 2
Number of inodes 24
Number of files 12
Number of fragments 1
Number of symbolic links  0
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 1
Number of directories 11
Number of ids (unique uids + gids) 1
Number of uids 1
	root (0)
Number of gids 1
	root (0)

5.6M	/tmp/pacman-settings.xzm

 I could not detect the location of your modules directory. 

Your module is at: /tmp/pacman-settings.xzm
Please manually copy this to your modules directory.
root /home/guest # cp /tmp/*.xzm /mnt/sda5/porteus3.x/Modules
root /home/guest # activate /tmp/pacman-settings.xzm
 pacman-settings.xzm activated. 
EXIT="OK"
root /home/guest #  


guest ~ $ pacaur -S broadcom-wl
:: Package(s) broadcom-wl not found in repositories, trying AUR...
:: resolving dependencies...
:: looking for inter-conflicts...

AUR Packages  (1): broadcom-wl-6.30.223.271-1  
Repo Packages (6): linux-4.2.5-1  linux-firmware-20150904.6ebf5d5-1  linux-headers-4.2.5-1  mkinitcpio-18-2  mkinitcpio-busybox-1.21.1-2  texinfo-6.0-1  

Repo Download Size:    93.99 MiB
Repo Installed Size:  224.14 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving package(s)...
:: View broadcom-wl PKGBUILD? [Y/n] y
/usr/bin/pacaur: line 699: vi: command not found
:: Could not open broadcom-wl PKGBUILD
guest ~ $ 


root /home/guest #
root /home/guest # rmmod b43
root /home/guest # rmmod ssb
root /home/guest # modprobe wl
modprobe: FATAL: Module wl not found.
root /home/guest # depmod -a
root /home/guest # 
root /home/guest # ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.200.213  netmask 255.255.255.0  broadcast 192.168.200.255
        inet6 2604:6000:1010:406b:ba70:f4ff:feef:575d  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::ba70:f4ff:feef:575d  prefixlen 64  scopeid 0x20<link>
        ether b8:70:f4:ef:57:5d  txqueuelen 1000  (Ethernet)
        RX packets 4164  bytes 5968895 (5.6 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2377  bytes 167029 (163.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 1  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 142  bytes 10542 (10.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 142  bytes 10542 (10.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root /home/guest # 
No wi-fi.


aus9 wrote:Ed if you do trust me, module size 7.5 megs
https://www.dropbox.com/s/6shg22w9e4n2y59/wl.ko?dl=0

save it somewhere until you boot up with a changes= cheatcode
use root powers to add it to
/usr/lib/modules/4.3.0-porteus/kernel/drivers/net/wireless/wl.ko

now as root
bring down your ethernet

Code: Select all

ifconfig  eth0 down
ifconfig (must show only your lo stuff)

rmmod b43
rmmod ssb
modprobe wl
depmod -a

ifconfig wlan0 up  (or) ifconfig  ...not sure as I don't have wireless
(should now show a wlan0 entry)
You still need to enter your router passphrase using NM applet
Tried this cable connected also.

Code: Select all

guest ~ $ su
Password: 
Failed to connect to bus: Operation not permitted
root /home/guest # cp /mnt/sda5/porteus3.x/wl.ko /usr/lib/modules/4.3.0-porteus/kernel/drivers/net/wireless/
root /home/guest # ls /usr/lib/modules/4.3.0-porteus/kernel/drivers/net/wireless/
adm8211.ko       atmel_pci.ko  iwlegacy     orinoco        rtlwifi
airo_cs.ko       b43           iwlwifi      p54            ti
airo.ko          b43legacy     libertas     ray_cs.ko      wl3501_cs.ko
at76c50x-usb.ko  brcm80211     libertas_tf  rndis_wlan.ko  wl.ko
ath              cw1200        mediatek     rsi            zd1201.ko
atmel_cs.ko      hostap        mwifiex      rt2x00         zd1211rw
atmel.ko         ipw2x00       mwl8k.ko     rtl818x
root /home/guest # ifconfig eth0 down
root /home/guest # ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 172  bytes 13512 (13.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 172  bytes 13512 (13.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root /home/guest # rmmod b43
rmmod: ERROR: Module b43 is not currently loaded
root /home/guest # rmmod ssb
rmmod: ERROR: Module ssb is not currently loaded
root /home/guest # modprobe wl
modprobe: FATAL: Module wl not found.
root /home/guest # depmod -a
root /home/guest # ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 172  bytes 13512 (13.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 172  bytes 13512 (13.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root /home/guest # 
No wi-fi.

:(
Ed

User avatar
brokenman
Site Admin
Site Admin
Posts: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Porteus Nemesis v3.3 BUG REPORTS

Post#104 by brokenman » 03 Dec 2015, 03:15

View broadcom-wl PKGBUILD? [Y/n] y
Please answer 'no' to this question. Also make sure you have the 05-devel.xzm module loaded as it will require git (and other things) in order to buld your kernel module.

Can someone please build this package ad upload it for Ed_P?

pacaur -S broadcom-wl <--- as guest and with 05-devel activated. Once done you can create a module using: arc2xzm broadcom-wl
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Ed_P
Contributor
Contributor
Posts: 3059
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Porteus Nemesis v3.3 BUG REPORTS

Post#105 by Ed_P » 03 Dec 2015, 05:09

brokenman wrote:
View broadcom-wl PKGBUILD? [Y/n] y
Please answer 'no' to this question.
Ok, but in that it erred out does it matter?
Also make sure you have the 05-devel.xzm module loaded as it will require git (and other things) in order to buld your kernel module.
I'm running the ISO you created, If it has the devel module in it then I have it, if not I don't know where to find it with 3.3. I wasn't aware I needed to compile/build kernel modules.
Can someone please build this package ad upload it for Ed_P?
Isn't that what aus9 posted and I ran his install steps for it posted above?

:%)


BTW On my Slackware Porteus systems which have wi-fi active I don't see a wlan0 connection in ifconfig, I see an eth1 that is RUNNING..

Code: Select all

guest@porteus:~$ ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether b8:70:f4:ef:57:5d  txqueuelen 1000  (Ethernet)
        RX packets 4792  bytes 3779557 (3.6 MiB)
        RX errors 0  dropped 1  overruns 0  frame 0
        TX packets 4319  bytes 600946 (586.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 1  collisions 0

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.200.212  netmask 255.255.255.0  broadcast 192.168.200.255
        inet6 2604:6000:1010:406b:62d8:19ff:fe1a:a1fc  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::62d8:19ff:fe1a:a1fc  prefixlen 64  scopeid 0x20<link>
        ether 60:d8:19:1a:a1:fc  txqueuelen 1000  (Ethernet)
        RX packets 3467  bytes 2048772 (1.9 MiB)
        RX errors 0  dropped 0  overruns 0  frame 9874
        TX packets 3520  bytes 504156 (492.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 19  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 2  bytes 100 (100.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2  bytes 100 (100.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

guest@porteus:~$ 
Last edited by Ed_P on 03 Dec 2015, 05:16, edited 1 time in total.
Ed

Locked