LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 01-26-2021, 08:10 AM   #1
riba
LQ Newbie
 
Registered: Jan 2021
Posts: 1

Rep: Reputation: Disabled
Unable to connect to wireless as of update 22 Jan


After upgrading with the 22 Jan updates on my raspberry pi 4 8GB Networkmanager was no longer recognising a wireless interface. Thinking I may have made an error somehow I decided to reinstall slackware from scratch on booting into my fresh system I found the same problem plus with no wireless being recognised... in addition to the X displaying freezing in XFCE4.16, but this has already been reported on in another thread. My config.txt file was unchanged from the default one shipped in the install.

Unfortunately I can not supply any data concerning wireless as my pi is the only computer I have and had to install raspian in order to use the internet. As far as the wirless is concerned everything was functional until the update. I appreciate that this may not be very helpful but I am wondering whether it was an issue other people have experienced?
 
Old 01-26-2021, 08:35 AM   #2
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by riba View Post
Unfortunately I can not supply any data concerning wireless as my pi is the only computer I have and had to install raspian in order to use the internet. As far as the wirless is concerned everything was functional until the update. I appreciate that this may not be very helpful but I am wondering whether it was an issue other people have experienced?
Sure, that's no problem. Some users have had issues with Raspberry Pi wireless LAN in the past. Although in your case it's difficult to know what might be causing it. If you have a spare SD card it might be prudent to install Slackware/Raspberry Pi OS on it so you have both OS and can just swap cards easily to change systems.

Try following this RPi WLAN guide to see if there's anything obvious as to why your wireless connection stopped working:
https://sarpi.fatdog.eu/index.php?p=wireless-nic

Post back here with any questions or if you face further problems.

Last edited by Exaga; 01-26-2021 at 08:48 AM. Reason: typo
 
Old 01-26-2021, 10:35 PM   #3
TheTKS
Member
 
Registered: Sep 2017
Location: Ontario, Canada
Distribution: Slackware, X/ubuntu, OpenBSD, OpenWRT
Posts: 361

Rep: Reputation: 243Reputation: 243Reputation: 243
I was curious if this affected my RPi4 4GB as well. I don't often use wifi, but I would like it to be available when I do.

NetworkManager wasn't seeing anything wireless.

Tried a couple of things from https://sarpi.fatdog.eu/index.php?p=wireless-nic:

# lsmod output: nothing jumps out at me as abnormal (looks similar to but not the same as the example at the link, but then I don't know what it all means.)

# iwconfig wlan0
gives
wlan0 No such device

Tried
# modprobe brcmfmac

# lsmod and # iwconfig wlan0 give same output, but I wasn't expecting anything different.

Looked at https://slackware.uk/sarpi/extra/sarpi-hacks.README
and noted these new firmware files absent from /lib/firmware/brcm
brcmfmac43455-sdio.bin
brcmfmac43455-sdio.clm_blob
brcmfmac43455-sdio.txt

btw this was present, along with a few other 43455 and 43430 files
brcmfmac43455-sdio.raspberrypi,4-model-b.txt

so I followed these sarpi-hacks.README instructions
# touch /lib/firmware/brcm/brcmfmac43430a0-sdio.bin
then reinstalled hacks
# upgradepkg --reinstall sarpi4-hacks-4.0-armv7l-1_slackcurrent_22Jan21_sp1.txz

After that, these new firmware files were in /lib/firmware/brcm
brcmfmac43455-sdio.bin
brcmfmac43455-sdio.clm_blob
brcmfmac43455-sdio.txt

Still no wifi, NetworkManager was not seeing anything.

Reran

# modprobe brcmfmac

# lsmod and # iwconfig wlan0 still gave same output

Reboot

# lsmod and # iwconfig wlan0 still give same output, and NetworkManager is still not showing anything wireless

It's bedtime now, so that's as far as I'll take it tonight.

Suggestions for next steps welcome.

TKS

Last edited by TheTKS; 01-26-2021 at 10:40 PM.
 
Old 01-27-2021, 01:44 AM   #4
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by TheTKS View Post
NetworkManager wasn't seeing anything wireless.

Suggestions for next steps welcome.
OK guys. As this was looking like another wireless issue I wasted some time testing on the RPi4/4GB. I've already installed the latest SARPi shizzle (dated 26Jan21) because I built and tested this yesterday, but I don't use wireless generally so did not test it at that time. However, I have this morning.

I was starting from scratch with this, having no previous wireless connection configured, and I am using the onboard RPi wireless NIC and drivers/modules from the latest sarpi4-hacks-4.0-armv7l-1_slackcurrent_26Jan21_sp1.txz pkg.

Basically, I logged in remotely via Ethernet connection and followed this guide: https://sarpi.fatdog.eu/index.php?p=wireless-nic

Code:
root@torq:~# ifconfig wlan0
wlan0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether dc:a6:32:67:c4:2c  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
Code:
root@torq:~# ifconfig wlan0 down
root@torq:~# rmmod brcmfmac
The wlan0 interface has been disabled and the wireless modules for the device have been removed. So, now I reload the modules...

Code:
root@torq:~# modprobe brcmfmac
root@torq:~# lsmod
Module                  Size  Used by
brcmfmac              335872  0
bnep                   20480  2
8021q                  32768  0
garp                   16384  1 8021q
stp                    16384  1 garp
llc                    16384  2 garp,stp
ipv6                  499712  24
dm_mod                131072  0
btsdio                 16384  0
rtc_ds1307             32768  0
bluetooth             421888  8 btsdio,bnep
regmap_i2c             16384  1 rtc_ds1307
ecdh_generic           16384  1 bluetooth
ecc                    36864  1 ecdh_generic
brcmutil               24576  1 brcmfmac
sha256_generic         16384  0
cfg80211              782336  1 brcmfmac
bcm2835_isp            32768  0
bcm2835_codec          40960  0
bcm2835_v4l2           49152  0
rfkill                 32768  3 bluetooth,cfg80211
v4l2_mem2mem           36864  1 bcm2835_codec
bcm2835_mmal_vchiq     28672  3 bcm2835_isp,bcm2835_codec,bcm2835_v4l2
videobuf2_vmalloc      16384  1 bcm2835_v4l2
videobuf2_dma_contig    20480  2 bcm2835_isp,bcm2835_codec
videobuf2_memops       16384  2 videobuf2_dma_contig,videobuf2_vmalloc
raspberrypi_hwmon      16384  0
videobuf2_v4l2         32768  4 bcm2835_isp,bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem
videobuf2_common       61440  5 bcm2835_isp,bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
videodev              258048  6 bcm2835_isp,bcm2835_codec,videobuf2_common,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
i2c_bcm2835            16384  0
mc                     45056  6 bcm2835_isp,bcm2835_codec,videobuf2_common,videodev,v4l2_mem2mem,videobuf2_v4l2
vc_sm_cma              32768  2 bcm2835_isp,bcm2835_mmal_vchiq
rpivid_mem             16384  0
uio_pdrv_genirq        16384  0
uio                    20480  1 uio_pdrv_genirq
Code:
root@torq:~# iwconfig wlan0
wlan0     IEEE 802.11  ESSID:off/any
          Mode:Managed  Access Point: Not-Associated
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
Code:
root@torq:~# ifconfig wlan0 up
root@torq:~# iwlist wlan0 scan
wlan0     Scan completed :

          <- long list of connections here ->
Code:
root@torq:~# chmod +x /etc/rc.d/rc.networkmanager
root@torq:~# /etc/rc.d/rc.networkmanager start
Starting NetworkManager daemon:  /usr/sbin/NetworkManager
root@torq:~# nmcli device show wlan0
GENERAL.DEVICE:                         wlan0
GENERAL.TYPE:                           wifi
GENERAL.HWADDR:                         02:24:35:5B:60:56
GENERAL.MTU:                            1500
GENERAL.STATE:                          30 (disconnected)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --
root@torq:~# nmtui

<- set up wireless connection as per instructions here ->

root@torq:~# ifconfig wlan0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.216  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::33f6:1f97:4eb:a8a1  prefixlen 64  scopeid 0x20<link>
        ether dc:a6:32:67:c4:2c  txqueuelen 1000  (Ethernet)
        RX packets 4  bytes 1226 (1.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 14  bytes 2026 (1.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
So, I disconnected the Ethernet connection by unplugging the cable, and then logged in via ssh on 192.168.1.216...

Code:
login as: root
Keyboard-interactive authentication prompts from server:
| Password:
End of keyboard-interactive prompts from server
Last login: Wed Jan 27 06:53:00 2021 from 192.168.1.201
Code:
root@torq:~# ifconfig -a
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether dc:a6:32:67:c4:2b  txqueuelen 1000  (Ethernet)
        RX packets 970  bytes 91051 (88.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 841  bytes 168323 (164.3 KiB)
        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 1000  (Local Loopback)
        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

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.216  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::33f6:1f97:4eb:a8a1  prefixlen 64  scopeid 0x20<link>
        ether dc:a6:32:67:c4:2c  txqueuelen 1000  (Ethernet)
        RX packets 58  bytes 7195 (7.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 54  bytes 10367 (10.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
Code:
root@torq:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=116 time=24.8 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=116 time=20.5 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=116 time=20.0 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=116 time=21.0 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=116 time=20.6 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=116 time=21.8 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=116 time=20.2 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=116 time=18.7 ms
64 bytes from 8.8.8.8: icmp_seq=9 ttl=116 time=25.4 ms
^C
--- 8.8.8.8 ping statistics ---
9 packets transmitted, 9 received, 0% packet loss, time 8013ms
rtt min/avg/max/mdev = 18.741/21.444/25.358/2.087 ms
root@torq:~#
Voila! Wireless is working for me as expected.
 
1 members found this post helpful.
Old 01-27-2021, 11:49 AM   #5
rsamurti
Member
 
Registered: Dec 2003
Location: Mysore
Distribution: Mandrake, Libranet, Slackware
Posts: 148

Rep: Reputation: 22
Quote:
Originally Posted by riba View Post
After upgrading with the 22 Jan updates on my raspberry pi 4 8GB Networkmanager was no longer recognising a wireless interface. Thinking I may have made an error somehow I decided to reinstall slackware from scratch on booting into my fresh system I found the same problem plus with no wireless being recognised... in addition to the X displaying freezing in XFCE4.16, but this has already been reported on in another thread. My config.txt file was unchanged from the default one shipped in the install.

Unfortunately I can not supply any data concerning wireless as my pi is the only computer I have and had to install raspian in order to use the internet. As far as the wirless is concerned everything was functional until the update. I appreciate that this may not be very helpful but I am wondering whether it was an issue other people have experienced?
Even I am now having the same problem after updates of 26Jan2021.
 
Old 01-27-2021, 12:16 PM   #6
TheTKS
Member
 
Registered: Sep 2017
Location: Ontario, Canada
Distribution: Slackware, X/ubuntu, OpenBSD, OpenWRT
Posts: 361

Rep: Reputation: 243Reputation: 243Reputation: 243
Quote:
Originally Posted by rsamurti View Post
Even I am now having the same problem after updates of 26Jan2021.
Me, too.

A couple of possibly relevant differences between how I installed SlackwareARM the first time and this second time, off the top of my head:

- First time I installed with DHCP and first used wicd, then switched to NetworkManager. This time I installed with NetworkManager.

- The second time I installed, I had (and still have) my router with fixed IP for both ethernet and wifi.

I will dig into my network configuration when I have some time.

TKS
 
Old 01-27-2021, 12:20 PM   #7
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by rsamurti View Post
Even I am now having the same problem after updates of 26Jan2021.
I don't have an answer to your wireless problem(s). RPi4/4GB onboard wireless is working as expected for me. Slackware ARM current is fully updated with all available pkgs (except for kernel/headers/modules/firmware) and running...

Code:
root@torq:~# uname -a
Linux torq 5.10.10-v7l-sarpi4 #2 SMP Tue Jan 26 15:41:34 GMT 2021 armv7l BCM2711 GNU/Linux
 
1 members found this post helpful.
Old 01-27-2021, 04:40 PM   #8
TheTKS
Member
 
Registered: Sep 2017
Location: Ontario, Canada
Distribution: Slackware, X/ubuntu, OpenBSD, OpenWRT
Posts: 361

Rep: Reputation: 243Reputation: 243Reputation: 243
Quote:
Originally Posted by Exaga View Post
RPi4/4GB onboard wireless is working as expected for me. Slackware ARM current is fully updated with all available pkgs (except for kernel/headers/modules/firmware) and running...
Fully up to date here, too, which is why if yours is working and mine isn’t, I suspect mine is a config problem. I suspect also some config problem for the others here.

TKS
 
Old 01-27-2021, 05:01 PM   #9
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by TheTKS View Post
Fully up to date here, too, which is why if yours is working and mine isn’t, I suspect mine is a config problem. I suspect also some config problem for the others here.
Delete all configs, driver modules etc. and start over. My wireless setup wasn't pre-configured as I'd never used it, although the brcmfmac module was loaded. I got rid of it and started over from nothing. Then it worked first time.
 
1 members found this post helpful.
Old 01-28-2021, 09:02 AM   #10
rsamurti
Member
 
Registered: Dec 2003
Location: Mysore
Distribution: Mandrake, Libranet, Slackware
Posts: 148

Rep: Reputation: 22
I made a fresh install on my RP4/8GB board using the installer and all the updates of 26Jan21.

Wireless connection is still not possible on my RP4/8GB using on-board wi-fi interface.

lsmod shows that brcmfmac is loaded. But still wlan0 is not available. I tried rmmod brcmfmac and modprobe brcmfmac. But still no wlan0. I am using NetworkManager. Wired network is working fine.

I am unable to solve this.
 
Old 01-29-2021, 03:30 AM   #11
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by rsamurti View Post
I made a fresh install on my RP4/8GB board using the installer and all the updates of 26Jan21.

Wireless connection is still not possible on my RP4/8GB using on-board wi-fi interface.

lsmod shows that brcmfmac is loaded. But still wlan0 is not available. I tried rmmod brcmfmac and modprobe brcmfmac. But still no wlan0. I am using NetworkManager. Wired network is working fine.

I am unable to solve this.
Not sure what might be causing it. The RPi4 [4GB] onboard wireless is working for me as expected. Perhaps a USB wireless adapter might work instead.
 
Old 01-29-2021, 03:56 AM   #12
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,543

Rep: Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311
The first step is to look at the logs.
Code:
find /var/log -type f -not -name '*[0-9]*' -maxdepth 1 -print0 | xargs -0 grep  NetworkManager
 
Old 01-31-2021, 05:04 AM   #13
TheTKS
Member
 
Registered: Sep 2017
Location: Ontario, Canada
Distribution: Slackware, X/ubuntu, OpenBSD, OpenWRT
Posts: 361

Rep: Reputation: 243Reputation: 243Reputation: 243
wlan0 now visible. Posting with ethernet cable unplugged and internal wifi working.

What worked for me was:
1. Deleting all files in /lib/firmware/brcm (actually moved them elsewhere in case any needed later)
2. Reinstalling sarpi-hacks

Contents of /lib/firmware/brcm, before:
Code:
$ ls -l
total 17404
lrwxrwxrwx 1 root root      17 Jan 28 22:34 BCM-0a5c-6410.hcd -> BCM-0bb4-0306.hcd
-rw-r--r-- 1 root root   54734 Jan 19 20:21 BCM-0bb4-0306.hcd
-rw-r--r-- 1 root root  269595 Jan 19 20:21 bcm4329-fullmac-4.bin
-rw-r--r-- 1 root root   96224 Jan 28 09:19 bcm43xx-0.fw
-rw-r--r-- 1 root root     180 Jan 28 09:19 bcm43xx_hdr-0.fw
lrwxrwxrwx 1 root root      31 Jan 28 22:34 brcmfmac43012-sdio.bin -> ../cypress/cyfmac43012-sdio.bin
lrwxrwxrwx 1 root root      36 Jan 28 22:34 brcmfmac43012-sdio.clm_blob -> ../cypress/cyfmac43012-sdio.clm_blob
-rw-r--r-- 1 root root  385067 Jan 28 09:19 brcmfmac43143-sdio.bin
-rw-r--r-- 1 root root  397312 Jan 28 09:19 brcmfmac43143.bin
-rw-r--r-- 1 root root  348160 Jan 28 09:19 brcmfmac43236b.bin
-rw-r--r-- 1 root root  455745 Jan 28 09:19 brcmfmac43241b0-sdio.bin
-rw-r--r-- 1 root root  403855 Jan 28 09:19 brcmfmac43241b4-sdio.bin
-rw-r--r-- 1 root root  408682 Jan 28 09:19 brcmfmac43241b5-sdio.bin
-rw-r--r-- 1 root root  479232 Jan 28 09:19 brcmfmac43242a.bin
-rw-r--r-- 1 root root  253748 Jan 28 09:19 brcmfmac4329-sdio.bin
-rw-r--r-- 1 root root    1509 Jan 19 20:21 brcmfmac4330-sdio.Prowise-PT301.txt
-rw-r--r-- 1 root root  222126 Jan 28 09:19 brcmfmac4330-sdio.bin
-rw-r--r-- 1 root root  451566 Jan 28 09:19 brcmfmac4334-sdio.bin
-rw-r--r-- 1 root root  400864 Jan 28 09:19 brcmfmac43340-sdio.bin
-rw-r--r-- 1 root root    1693 Jan 19 20:21 brcmfmac43340-sdio.meegopad-t08.txt
-rw-r--r-- 1 root root    1724 Jan 19 20:21 brcmfmac43340-sdio.pov-tab-p1006w-data.txt
-rw-r--r-- 1 root root  569291 Jan 28 09:19 brcmfmac4335-sdio.bin
-rw-r--r-- 1 root root  202107 Jan 28 09:19 brcmfmac43362-sdio.bin
-rw-r--r-- 1 root root     803 Jan 19 20:21 brcmfmac43362-sdio.cubietech,cubietruck.txt
lrwxrwxrwx 1 root root      43 Jan 28 22:34 brcmfmac43362-sdio.lemaker,bananapro.txt -> brcmfmac43362-sdio.cubietech,cubietruck.txt
-rw-r--r-- 1 root root  562183 Jan 28 09:19 brcmfmac4339-sdio.bin
-rw-r--r-- 1 root root     875 Jan 19 20:21 brcmfmac43430-sdio.AP6212.txt
-rw-r--r-- 1 root root     928 Jan 19 20:21 brcmfmac43430-sdio.Hampoo-D2D3_Vi8A1.txt
-rw-r--r-- 1 root root     831 Jan 19 20:21 brcmfmac43430-sdio.MUR1DX.txt
-rw-r--r-- 1 root root  400447 Jan 28 09:19 brcmfmac43430-sdio.bin
lrwxrwxrwx 1 root root      36 Jan 28 22:34 brcmfmac43430-sdio.clm_blob -> ../cypress/cyfmac43430-sdio.clm_blob
-rw-r--r-- 1 root root     874 Jan 19 20:21 brcmfmac43430-sdio.raspberrypi,3-model-b.txt
lrwxrwxrwx 1 root root      29 Jan 28 22:34 brcmfmac43430-sdio.sinovoip,bpi-m2-plus.txt -> brcmfmac43430-sdio.AP6212.txt
lrwxrwxrwx 1 root root      29 Jan 28 22:34 brcmfmac43430-sdio.sinovoip,bpi-m2-zero.txt -> brcmfmac43430-sdio.AP6212.txt
-rw-r--r-- 1 root root    1121 Jan 28 09:19 brcmfmac43430-sdio.txt
-rw-r--r-- 1 root root     989 Jan 19 20:21 brcmfmac43430a0-sdio.ONDA-V80 PLUS.txt
-rw-r--r-- 1 root root  382455 Jan 28 09:19 brcmfmac43430a0-sdio.bin
-rw-r--r-- 1 root root     951 Jan 19 20:21 brcmfmac43430a0-sdio.jumper-ezpad-mini3.txt
-rw-r--r-- 1 root root    2510 Jan 19 20:21 brcmfmac43455-sdio.MINIX-NEO Z83-4.txt
lrwxrwxrwx 1 root root      44 Jan 28 22:34 brcmfmac43455-sdio.Raspberry Pi Foundation-Raspberry Pi 4 Model B.txt -> brcmfmac43455-sdio.raspberrypi,4-model-b.txt
-rw-r--r-- 1 root root  624943 Jan 28 09:19 brcmfmac43455-sdio.bin
-rw-r--r-- 1 root root   14036 Jan 28 09:19 brcmfmac43455-sdio.clm_blob
lrwxrwxrwx 1 root root      49 Jan 28 22:34 brcmfmac43455-sdio.raspberrypi,3-model-a-plus.txt -> brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt
-rw-r--r-- 1 root root    1884 Jan 19 20:21 brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt
-rw-r--r-- 1 root root    1883 Jan 19 20:21 brcmfmac43455-sdio.raspberrypi,4-model-b.txt
-rw-r--r-- 1 root root    2074 Jan 28 09:19 brcmfmac43455-sdio.txt
-rw-r--r-- 1 root root  495898 Jan 28 09:19 brcmfmac43456-sdio.bin
-rw-r--r-- 1 root root   10855 Jan 28 09:19 brcmfmac43456-sdio.clm_blob
-rw-r--r-- 1 root root    2053 Jan 28 09:19 brcmfmac43456-sdio.txt
-rw-r--r-- 1 root root  626140 Jan 28 09:19 brcmfmac4350-pcie.bin
-rw-r--r-- 1 root root  623304 Jan 28 09:19 brcmfmac4350c2-pcie.bin
-rw-r--r-- 1 root root  605388 Jan 28 09:19 brcmfmac4354-sdio.bin
lrwxrwxrwx 1 root root      35 Jan 28 22:34 brcmfmac4354-sdio.clm_blob -> ../cypress/cyfmac4354-sdio.clm_blob
-rw-r--r-- 1 root root  648770 Jan 28 09:19 brcmfmac4356-pcie.bin
lrwxrwxrwx 1 root root      35 Jan 28 22:34 brcmfmac4356-pcie.clm_blob -> ../cypress/cyfmac4356-pcie.clm_blob
-rw-r--r-- 1 root root    2515 Jan 19 20:21 brcmfmac4356-pcie.gpd-win-pocket.txt
-rw-r--r-- 1 root root  526383 Jan 28 09:19 brcmfmac4356-sdio.bin
lrwxrwxrwx 1 root root      35 Jan 28 22:34 brcmfmac4356-sdio.clm_blob -> ../cypress/cyfmac4356-sdio.clm_blob
-rw-r--r-- 1 root root    2610 Jan 19 20:21 brcmfmac4356-sdio.vamrs,rock960.txt
-rw-r--r-- 1 root root  557056 Jan 28 09:19 brcmfmac43569.bin
-rw-r--r-- 1 root root  550333 Jan 28 09:19 brcmfmac43570-pcie.bin
lrwxrwxrwx 1 root root      36 Jan 28 22:34 brcmfmac43570-pcie.clm_blob -> ../cypress/cyfmac43570-pcie.clm_blob
-rw-r--r-- 1 root root  633817 Jan 28 09:19 brcmfmac4358-pcie.bin
-rw-r--r-- 1 root root  595472 Jan 28 09:19 brcmfmac43602-pcie.ap.bin
-rw-r--r-- 1 root root  635449 Jan 28 09:19 brcmfmac43602-pcie.bin
-rw-r--r-- 1 root root 1105361 Jan 28 09:19 brcmfmac4366b-pcie.bin
-rw-r--r-- 1 root root 1120971 Jan 19 20:21 brcmfmac4366c-pcie.bin
-rw-r--r-- 1 root root  623448 Jan 28 09:19 brcmfmac4371-pcie.bin
-rw-r--r-- 1 root root  457994 Jan 28 09:19 brcmfmac4373-sdio.bin
lrwxrwxrwx 1 root root      35 Jan 28 22:34 brcmfmac4373-sdio.clm_blob -> ../cypress/cyfmac4373-sdio.clm_blob
-rw-r--r-- 1 root root  479232 Jan 28 09:19 brcmfmac4373.bin
lrwxrwxrwx 1 root root      31 Jan 28 22:34 brcmfmac54591-pcie.bin -> ../cypress/cyfmac54591-pcie.bin
lrwxrwxrwx 1 root root      36 Jan 28 22:34 brcmfmac54591-pcie.clm_blob -> ../cypress/cyfmac54591-pcie.clm_blob
Then did:
1. /lib/firmware/brcm# mv *.* /home/[some_backup_directory]
2. # upgradepkg --reinstall sarpi4-hacks-4.0-armv7l-1_slackcurrent_28Jan21_sp1.txz

Contents of /lib/firmware/brcm, after:
Code:
/lib/firmware/brcm# ls -l
total 15928
-rw-r--r-- 1 root root   96224 Jan 28 09:19 bcm43xx-0.fw
-rw-r--r-- 1 root root     180 Jan 28 09:19 bcm43xx_hdr-0.fw
-rw-r--r-- 1 root root  385067 Jan 28 09:19 brcmfmac43143-sdio.bin
-rw-r--r-- 1 root root  397312 Jan 28 09:19 brcmfmac43143.bin
-rw-r--r-- 1 root root  348160 Jan 28 09:19 brcmfmac43236b.bin
-rw-r--r-- 1 root root  455745 Jan 28 09:19 brcmfmac43241b0-sdio.bin
-rw-r--r-- 1 root root  403855 Jan 28 09:19 brcmfmac43241b4-sdio.bin
-rw-r--r-- 1 root root  408682 Jan 28 09:19 brcmfmac43241b5-sdio.bin
-rw-r--r-- 1 root root  479232 Jan 28 09:19 brcmfmac43242a.bin
-rw-r--r-- 1 root root  253748 Jan 28 09:19 brcmfmac4329-sdio.bin
-rw-r--r-- 1 root root  222126 Jan 28 09:19 brcmfmac4330-sdio.bin
-rw-r--r-- 1 root root  451566 Jan 28 09:19 brcmfmac4334-sdio.bin
-rw-r--r-- 1 root root  400864 Jan 28 09:19 brcmfmac43340-sdio.bin
-rw-r--r-- 1 root root  569291 Jan 28 09:19 brcmfmac4335-sdio.bin
-rw-r--r-- 1 root root  202107 Jan 28 09:19 brcmfmac43362-sdio.bin
-rw-r--r-- 1 root root  562183 Jan 28 09:19 brcmfmac4339-sdio.bin
-rw-r--r-- 1 root root  400447 Jan 28 09:19 brcmfmac43430-sdio.bin
-rw-r--r-- 1 root root    1121 Jan 28 09:19 brcmfmac43430-sdio.txt
-rw-r--r-- 1 root root  382455 Jan 28 09:19 brcmfmac43430a0-sdio.bin
-rw-r--r-- 1 root root  624943 Jan 28 09:19 brcmfmac43455-sdio.bin
-rw-r--r-- 1 root root   14036 Jan 28 09:19 brcmfmac43455-sdio.clm_blob
-rw-r--r-- 1 root root    2074 Jan 28 09:19 brcmfmac43455-sdio.txt
-rw-r--r-- 1 root root  495898 Jan 28 09:19 brcmfmac43456-sdio.bin
-rw-r--r-- 1 root root   10855 Jan 28 09:19 brcmfmac43456-sdio.clm_blob
-rw-r--r-- 1 root root    2053 Jan 28 09:19 brcmfmac43456-sdio.txt
-rw-r--r-- 1 root root  626140 Jan 28 09:19 brcmfmac4350-pcie.bin
-rw-r--r-- 1 root root  623304 Jan 28 09:19 brcmfmac4350c2-pcie.bin
-rw-r--r-- 1 root root  605388 Jan 28 09:19 brcmfmac4354-sdio.bin
-rw-r--r-- 1 root root  648770 Jan 28 09:19 brcmfmac4356-pcie.bin
-rw-r--r-- 1 root root  526383 Jan 28 09:19 brcmfmac4356-sdio.bin
-rw-r--r-- 1 root root  557056 Jan 28 09:19 brcmfmac43569.bin
-rw-r--r-- 1 root root  550333 Jan 28 09:19 brcmfmac43570-pcie.bin
-rw-r--r-- 1 root root  633817 Jan 28 09:19 brcmfmac4358-pcie.bin
-rw-r--r-- 1 root root  595472 Jan 28 09:19 brcmfmac43602-pcie.ap.bin
-rw-r--r-- 1 root root  635449 Jan 28 09:19 brcmfmac43602-pcie.bin
-rw-r--r-- 1 root root 1105361 Jan 28 09:19 brcmfmac4366b-pcie.bin
-rw-r--r-- 1 root root  623448 Jan 28 09:19 brcmfmac4371-pcie.bin
-rw-r--r-- 1 root root  457994 Jan 28 09:19 brcmfmac4373-sdio.bin
-rw-r--r-- 1 root root  479232 Jan 28 09:19 brcmfmac4373.bin
Compare those with sarpi-hacks.README of 17 Jan 2021
Code:
3. Raspberry Pi wireless adapter firmware. 

   ** ONLY Raspberry Pi 3 and later versions which feature the on-board 
   Cypress wireless and Bluetooth adapters. **
   
   Replaces defunct Bluetooth, brcmfmac43430 and brcmfmac43455 firmware 
   in the /lib/firmware/brcm directory. Old firmware files are removed  
   and new firmware files are installed:
   
   [New firmware files]
     BCM-0bb4-0306.hcd
     bcm43xx_hdr-0.fw
     bcm43xx-0.fw
     brcmfmac43430a0-sdio.bin
     brcmfmac43430a0-sdio.jumper-ezpad-mini3.txt
     brcmfmac43430a0-sdio.ONDA-V80 PLUS.txt
     brcmfmac43430-sdio.AP6212.txt
     brcmfmac43430-sdio.bin	
     brcmfmac43430-sdio.Hampoo-D2D3_Vi8A1.txt
     brcmfmac43430-sdio.MUR1DX.txt
     brcmfmac43430-sdio.raspberrypi-rpi.txt
     brcmfmac43430-sdio.txt
     brcmfmac43455-sdio.bin	 
     brcmfmac43455-sdio.clm_blob
     brcmfmac43455-sdio.txt
Those three lists are different. I haven't tried if Bluetooth works.

Looking back, it may have been foolhardy to remove that whole file list and then run only sarpi-hacks. I probably should have run # upgradepkg --reinstall [ all sarpi kernel packages ] and # slackpkg reinstall [ SlackwareARM kernel-firmware]. I'll go do that and report if any new files show up in /lib/firmware/brcm.

TKS

Last edited by TheTKS; 01-31-2021 at 05:05 AM.
 
Old 01-31-2021, 06:26 AM   #14
TheTKS
Member
 
Registered: Sep 2017
Location: Ontario, Canada
Distribution: Slackware, X/ubuntu, OpenBSD, OpenWRT
Posts: 361

Rep: Reputation: 243Reputation: 243Reputation: 243
Reinstalled all sarpi and kernel-firmware packages, in this order:
source, modules, kernel, headers, kernel-firmware, boot-firmware, sarpi-hacks
Code:
# upgradepkg --reinstall sarpi4-kernel-source-5.10.11-armv7l-1_slackcurrent_28Jan21_sp1.txz kernel-modules-sarpi4-5.10.11-armv7l-1_slackcurrent_28Jan21_sp1.txz kernel_sarpi4-5.10.11-armv7l-1_slackcurrent_28Jan21_sp1.txz kernel-headers-sarpi4-5.10.11-armv7l-1_slackcurrent_28Jan21_sp1.txz

# slackpkg reinstall kernel-firmware-20210119_0578970-noarch-1

# upgradepkg --reinstall sarpi4-hacks-4.0-armv7l-1_slackcurrent_28Jan21_sp1.txz sarpi4-boot-firmware-armv7l-1_slackcurrent_28Jan21_sp1.txz
That put me back to wifi not working, and the previous file list in /lib/firmware/brcm (total 17404), the first list in post #13 ^

So again deleting all brcm firmware files
Code:
/lib/firmware/brcm# rm *.*
then reinstalling sarpi-hacks
Code:
# upgradepkg --reinstall sarpi4-hacks-4.0-armv7l-1_slackcurrent_28Jan21_sp1.txz
then rebooting

I am again able to connect to wifi. With my ethernet cable plugged in, in NetworkManager I can manually switch between wired and wifi, and if I disconnect my ethernet cable, network connection automatically switches to wifi.

TKS

Last edited by TheTKS; 01-31-2021 at 06:28 AM.
 
1 members found this post helpful.
Old 01-31-2021, 09:07 AM   #15
rsamurti
Member
 
Registered: Dec 2003
Location: Mysore
Distribution: Mandrake, Libranet, Slackware
Posts: 148

Rep: Reputation: 22
Quote:
Originally Posted by TheTKS View Post
Reinstalled all sarpi and kernel-firmware packages, in this order:
source, modules, kernel, headers, kernel-firmware, boot-firmware, sarpi-hacks
Code:
# upgradepkg --reinstall sarpi4-kernel-source-5.10.11-armv7l-1_slackcurrent_28Jan21_sp1.txz kernel-modules-sarpi4-5.10.11-armv7l-1_slackcurrent_28Jan21_sp1.txz kernel_sarpi4-5.10.11-armv7l-1_slackcurrent_28Jan21_sp1.txz kernel-headers-sarpi4-5.10.11-armv7l-1_slackcurrent_28Jan21_sp1.txz

# slackpkg reinstall kernel-firmware-20210119_0578970-noarch-1

# upgradepkg --reinstall sarpi4-hacks-4.0-armv7l-1_slackcurrent_28Jan21_sp1.txz sarpi4-boot-firmware-armv7l-1_slackcurrent_28Jan21_sp1.txz
That put me back to wifi not working, and the previous file list in /lib/firmware/brcm (total 17404), the first list in post #13 ^

So again deleting all brcm firmware files
Code:
/lib/firmware/brcm# rm *.*
then reinstalling sarpi-hacks
Code:
# upgradepkg --reinstall sarpi4-hacks-4.0-armv7l-1_slackcurrent_28Jan21_sp1.txz
then rebooting

I am again able to connect to wifi. With my ethernet cable plugged in, in NetworkManager I can manually switch between wired and wifi, and if I disconnect my ethernet cable, network connection automatically switches to wifi.

TKS
I followed your advice. Now both wifi and wired connections are working. Thank you so much for reporting this.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
One specific Wireless wifi won't connect under Ubuntu under 20.04 focal; others connect fine and connect fine when booted into other OS's ajmcello Linux - Networking 8 08-23-2020 02:37 PM
Update Current Sun Jan 17 07:24:08 UTC 2016 burdi01 Slackware 1 01-17-2016 11:14 PM
Suspend to disk reboots instead of hibernating - Jan. 13 update, 4.4.0 kernel (32 bit only) dr.s Slackware 2 01-16-2016 11:44 PM
LQ weekly security rep - Fri Jan 03rd 2003 unSpawn Linux - Security 7 01-10-2003 08:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 09:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration