Slackware - ARMThis forum is for the discussion of Slackware ARM.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i freshly installed Slackware-Arm (-current, 32 bit). After installation, wifi does not show. In the previous installation (which i accidently completely messed up, therefore a fresh install) with -current on that RPi, it worked. Now, wifi-device doesn't show.
Code:
root@xxx:~> ls /var/log/packages|grep sarpi
kernel-headers-sarpi3-5.10.31-armv7-1_slackcurrent_20Apr21_sp1
kernel-modules-sarpi3-5.10.31-armv7-1_slackcurrent_20Apr21_sp1
kernel_sarpi3-5.10.31-armv7-1_slackcurrent_20Apr21_sp1
sarpi3-boot-firmware-armv7-1_slackcurrent_20Apr21_sp1
sarpi3-hacks-3.0-armv7-1_slackcurrent_20Apr21_sp1
The deprecated rpi3-entry is not available in config.txt, wifi-device is not disabled
Now, this rule doesn't seem to match. It doesn't make a difference, if this rule is present or not.
Try to find the device:
Code:
root@xxx:~> lsusb
Bus 001 Device 004: ID 1058:25a3 Western Digital Technologies, Inc. Elements Desktop (WDBWLG)
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@xxx:~> rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
root@xxx:~> find /sys -name *rfkill*
/sys/devices/platform/soc/3f201000.serial/serial0/serial0-0/bluetooth/hci0/rfkill0
/sys/devices/virtual/misc/rfkill
/sys/class/misc/rfkill
/sys/class/rfkill
/sys/class/rfkill/rfkill0
/sys/module/rfkill
root@xxx:~> cat /sys/class/rfkill/rfkill0/name
hci0
Shouldn't rfkill show two devices (bluetooth and wifi)?
The module loads:
Code:
root@xxx:~> modprobe brcmfmac
root@xxx:~> lsmod|grep brcmfmac
brcmfmac 335872 0
brcmutil 24576 1 brcmfmac
cfg80211 782336 1 brcmfmac
root@xxx:~> dmesg|grep brcmfmac
[ 6.896927] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[ 6.904593] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 6.911366] usbcore: registered new interface driver brcmfmac
[ 7.228829] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 7.327922] brcmfmac: brcmf_sdio_firmware_callback: brcmf_attach failed
In another Thread, someone suggested to get firmware from a debian-package. I tried, without success.
Code:
root@xxx:~> ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device
i freshly installed Slackware-Arm (-current, 32 bit). After installation, wifi does not show. In the previous installation (which i accidently completely messed up, therefore a fresh install) with -current on that RPi, it worked. Now, wifi-device doesn't show.
Has anyone an idea?
Hi lambo,
[EDIT] Before doing anything, make sure your Slackware ARM system is up-to-date with the latest available packages.
If you're using SARPi pkgs then download and install them from here: https://sarpi.penthux.net/index.php?p=downloads
'slackpkg' can facilitate the installation of multiple pkgs if you're not doing it manually.
Really not sure what the problem is here for you. Usually I have wireless and Bluetooth disabled but after reading about your issue(s) I did some testing on my RPi4 running Slackware ARM current. I'm using the latest SARPi pkgs and usually work entirely from command line...
Code:
root@torq:~# uname -a
Linux torq 5.10.32-v7l-sarpi4 #2 SMP Wed Apr 28 18:10:46 BST 2021 armv7l BCM2711 GNU/Linux
First I checked to see if the modules were loaded...
Then I performed a scan to see if my wireless Internet connection was found...
Code:
root@torq:~# iwlist wlan0 scan
wlan0 Interface doesn't support scanning : Network is down
root@torq:~# ip link show wlan0
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether dc:a6:32:67:c4:2c brd ff:ff:ff:ff:ff:ff
Ooops! Forgot to bring up the wlan0 interface... no carrier!
Code:
root@torq:~# ifconfig wlan0 up
root@torq:~# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 98:FC:11:70:E3:23
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=70/70 Signal level=-32 dBm
Encryption key:on
ESSID:"SARPI2G"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000000000000000
<- results in a long list of available wireless connections, including the one I expected to see ->
I usually invoke 'networkmanager' to connect wirelessly for testing. It's quick and easy compared to doing it manually. The procedure is very well covered on this page: https://sarpi.penthux.net/index.php?p=wireless-nic
Code:
root@torq:~# nmtui
NetworkManager is not running.
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:~# nmtui
Once I've finished setting up the wireless connection with 'networkmanager'...
Thank you for the hint with the new software, but nothing has changed...
Code:
root@xxx:~> ls /var/log/packages |grep sarpi
kernel-headers-sarpi3-5.10.32-armv7-1_slackcurrent_28Apr21_sp1
kernel-modules-sarpi3-5.10.32-armv7-1_slackcurrent_28Apr21_sp1
kernel_sarpi3-5.10.32-armv7-1_slackcurrent_28Apr21_sp1
sarpi3-boot-firmware-armv7-1_slackcurrent_28Apr21_sp1
sarpi3-hacks-3.0-armv7-1_slackcurrent_28Apr21_sp1
root@xxx:~> uname -a
Linux xxx.lan 5.10.32-v7-sarpi3 #2 SMP Wed Apr 28 18:11:13 BST 2021 armv7l BCM2835 GNU/Linux
root@xxx:~> lsmod |grep brcm
brcmfmac 331776 0
brcmutil 24576 1 brcmfmac
cfg80211 782336 1 brcmfmac
root@xxx:~> iwconfig wlan0
wlan0 No such device
By now, i think it's a hardware-failure. Somewhere else, i have another RPi3 and i'm going to try that sdcard there, during the weekend. I will report.
I hit that fault on a Pi 4. Firmware?
I download the Debian one and things started to work. I tried going back to the original, and that worked also. Now either work.
You get the Debian stuff in RPi OS. They have patched the .bin file, and it's noticeably larger.
Thank you for the hint with the new software, but nothing has changed...
By now, i think it's a hardware-failure. Somewhere else, i have another RPi3 and i'm going to try that sdcard there, during the weekend. I will report.
In the past I have come across issues where the wireless interface refused to initialise. It's usually driver/firmware related or due to a mis-configuration. That's why I've advised to make sure the system is fully up-to-date before trying to "fix" it. There's been occasions where users have had terminal problems simply because certain installed pkgs were older versions. I don't mean just the SARPi system pkgs, but Slackware ARM pkgs too. There's been other times when the [upstream] firmware has been the culprit.
Due to the problems you are facing I've double-checked for my own peace of mind and wasted some time testing the latest SARPi pkgs on the RPi3B+. Sorry to say the onboard wireless NIC is working as expected on this device for me. So, hmmm... cannot imagine what's causing the problems on your setup. Except this I noticed from your logs...
Code:
root@xxx:~> dmesg |grep brcm
[ 6.744942] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 6.750797] usbcore: registered new interface driver brcmfmac
[ 6.947208] Bluetooth: hci0: BCM43430A1 'brcm/BCM43430A1.hcd' Patch
[ 6.956829] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 6.998448] ieee80211 phy0: brcmf_fw_crashed: Firmware has halted or crashed
Now, the above for the RPi3B (not plus) might be all well and good. For the RPi3B+ is looks like this on mine...
Code:
root@jook:~# dmesg | grep brcmfmac43
[ 6.635943] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 6.996760] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
BCM43430 is used on the RPi3B - BCM43455 is used on the Rpi3B+. I know there's an open and ongoing issue on https://github.com/raspberrypi/linux/issues/2453 regarding these problems but, all I can say is that on my Slackware ARM current setup on the RPi3B+ there are no issues with wireless connectivity.
However, although having an onboard WNIC should be easy and convenient it often isn't, and can be much the opposite. Due to the perpetual problems that some users face with onboard wireless connectivity on the RPi devices I frequently advise an additional USB wireless adapter is what should be considered. I have various USB wireless adapters for testing, ranging from the "cheap and chearful" bargain-basement offerings to the overtly and unmerited expensive garbage available. What I have found works best is whatever Slackware ARM is happy with. That often means devices which are either already supported by the OS and/or ones where the software has been done well. Two of the best USB wireless adapters I have found to work flawlessly with Slackware ARM are (don't laugh - but please feel free if you can't help it) the RaLink RT5370 and RealTek rtl88x2bu - the former just works without any fuss but it is quite old/slow and the latter has firmware/drivers that you can build yourself and is one of the fastest I've used. These are the benefits and strengths that these wireless adapters offer for the end-user.
Sorry I cannot be of more help but the crux of your problem(s) is not clear to me. It's going to take some time and testing to find out exactly what's going on with your RPi3B+ setup in order to fix it, if indeed it can be resolved at all easily. First and foremost make sure everything is fully up-to-date on the system. That's the golden rule.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.