LinuxQuestions.org
Review your favorite Linux distribution.
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 04-06-2018, 09:34 AM   #1
mralk3
Senior Member
 
Registered: May 2015
Distribution: Slackware, Debian, CentOS, FreeBSD
Posts: 1,045

Rep: Reputation: 409Reputation: 409Reputation: 409Reputation: 409Reputation: 409
Raspberry Pi 3 B+ Wifi NIC not found


I installed my Raspberry Pi 3 B+ using the sarpi3-installer_slack14.2_30Mar18_sp1.img.xz image. I did a ftp network installation using ftp.slackware.org.uk. It boots up just fine and the ethernet port works. As I've said in another thread, I plan to use this Pi as a replacement for my wireless router.

I could use the rpi-update script, but would prefer not to. I prefer to run the 14.2 image instead of -current. It looks like the onboard wireless NIC is not recognized and no kernel module is loaded.
Code:
# iwconfig && lsusb && lsusb -t
lo        no wireless extensions.

eth1      no wireless extensions.

Bus 001 Device 007: ID 046d:c227 Logitech, Inc. G15 Refresh Keyboard
Bus 001 Device 005: ID 046d:c226 Logitech, Inc. G15 Refresh Keyboard
Bus 001 Device 004: ID 046d:c223 Logitech, Inc. G11/G15 Keyboard / USB Hub
Bus 001 Device 006: ID 0424:7800 Standard Microsystems Corp. 
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/3p, 480M
            |__ Port 1: Dev 6, If 0, Class=Vendor Specific Class, Driver=lan78xx, 480M
        |__ Port 2: Dev 4, If 0, Class=Hub, Driver=hub/4p, 12M
            |__ Port 1: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 1: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 4: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 12M
# ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device
# ifconfig wlan1 up                     
wlan1: ERROR while getting interface flags: No such device
I have the following kernel packages installed:
Code:
# ls /var/log/packages/| grep kernel
kernel-firmware-20160628git-noarch-1
kernel-headers-4.4.14-arm-1
kernel-modules-armv5-4.4.14_armv5-arm-2
kernel-modules-sarpi3-4.14.31-armv7-1_slack14.2_30Mar18_sp1
kernel-source-4.4.14-arm-2
kernel_armv5-4.4.14-arm-2
kernel_sarpi3-4.14.31-armv7-1_slack14.2_30Mar18_sp1
I updated the kernel firmware to kernel-firmware-20180330_a3be6d4-noarch-1_slack14.2.

I have the following dmesg output:
Code:
# dmesg | grep brcmfmac
[    3.983580] brcmfmac: F1 signature read @0x18000000=0x15264345
[    3.990694] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[    4.008543] usbcore: registered new interface driver brcmfmac
[    4.063628] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.txt failed with error -2
[    5.141476] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[    6.153155] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

Last edited by mralk3; 04-06-2018 at 10:07 AM. Reason: Added dmesg output
 
Old 04-06-2018, 11:19 AM   #2
mralk3
Senior Member
 
Registered: May 2015
Distribution: Slackware, Debian, CentOS, FreeBSD
Posts: 1,045

Original Poster
Rep: Reputation: 409Reputation: 409Reputation: 409Reputation: 409Reputation: 409
I ended up downloading the Raspbian brcm80211 firmware, extracted the .deb using ar, and used scp to copy it to my 3 B+, and ran modprobe to load it.

Download the Raspbian package.
Code:
$ mkdir -p ~/Downloads/rpi3_wifi_firmware
$ cd ~/Downloads/rpi3_wifi_firmware
$ wget https://archive.raspberrypi.org/debian/pool/main/f/firmware-nonfree/firmware-brcm80211_20161130-3+rpt3_all.deb
Extract the package, and extract data.tar.xz. data.tar.xz has the firmware in it.
Code:
$ ar x firmware-brcm80211_20161130-3+rpt3_all.deb
$ tar xvf data.tar.xz 
./
./lib/
./lib/firmware/
./lib/firmware/brcm/
..snip..
./lib/firmware/brcm/brcmfmac43455-sdio.bin
./lib/firmware/brcm/brcmfmac43455-sdio.clm_blob
./lib/firmware/brcm/brcmfmac43455-sdio.txt
..snip..
Copied the firmware to my Pi.
Code:
$ cd lib/firmware/brcm/
$ scp brcmfmac43455-sdio.txt pi@rpi3s:~/
$ scp brcmfmac43455-sdio.bin  pi@rpi3s:~/
$ scp brcmfmac43455-sdio.clm_blob rpi3s:~/
On the Pi 3 B+ I then copied the files to where they belong and loaded the driver.
Code:
# cd /lib/firmware/brcm
# cp /home/pi/brcmfmac43455-sdio.txt .
# cp /home/pi/brcmfmac43455-sdio.bin .
# cp /home/pi/brcmfmac43455-sdio.clm_blob .
Code:
# rmmod brcmfmac
# # modprobe -vvv brcmfmac
modprobe: INFO: custom logging function 0x1905c registered
insmod /lib/modules/4.14.31-v7-arm/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko 
modprobe: INFO: context 0x254178 released
Now I have wifi.
Code:
# iwconfig
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

Last edited by mralk3; 04-06-2018 at 11:28 AM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
using Bohdi it found wifi but not the lan, the wifi is slower, using dell desktop kapjep Linux - Newbie 8 07-23-2016 12:25 PM
Raspberry Pi wifi flaky linuxhippy Linux - Networking 19 07-18-2014 06:30 AM
[SOLVED] Wifi network on wifi - raspberry pi business_kid Debian 1 06-01-2014 01:11 PM
ethernet adapter found and works, wifi not found not work rdx Linux - Hardware 2 10-29-2013 09:07 PM

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

All times are GMT -5. The time now is 09:12 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration