wlan0 not detected after apt-get upgrade on RPi 3

    • OMV 3.x
    • Resolved
    • Update
    • wlan0 not detected after apt-get upgrade on RPi 3

      hi all,

      I have a RPi3 running latest OMV 3. I had a large number of updates in the update management section of the GUI and I have seen the posts discussing issues with updating some of these packages. See post below.

      Broken packages on 3.0.59.

      I executed apt-get update / upgrade and also apt-get dist-upgrade and now my system is up to date and all updates are cleared.

      However, I have noticed that the wifi (wlan0) adapter is no longer available. Looking at the update management logs, I can see that a number of driver/firmware packages have been installed and I think one of them has overwritten the driver for the wifi adapter and it is no longer working.

      Below are the 'driver' packages that were installed. They all seem to have overwritten 0.43+rpi5.

      Any ideas of how to fix this so that I can use the wlan0 adapter again?

      Many thanks and happy new year!

      Preparing to unpack .../firmware-atheros_20160824-1~bpo8+1_all.deb ...
      Unpacking firmware-atheros (20160824-1~bpo8+1) over (0.43+rpi5) ...
      Preparing to unpack .../firmware-brcm80211_20160824-1~bpo8+1_all.deb ...
      Unpacking firmware-brcm80211 (20160824-1~bpo8+1) over (0.43+rpi5) ...
      Preparing to unpack .../firmware-libertas_20160824-1~bpo8+1_all.deb ...
      Unpacking firmware-libertas (20160824-1~bpo8+1) over (0.43+rpi5) ...
      Preparing to unpack .../firmware-realtek_20160824-1~bpo8+1_all.deb ...
      Unpacking firmware-realtek (20160824-1~bpo8+1) over (0.43+rpi5) ...
      Setting up firmware-atheros (20160824-1~bpo8+1) ...
      Setting up firmware-brcm80211 (20160824-1~bpo8+1) ...
      Setting up firmware-libertas (20160824-1~bpo8+1) ...
      Setting up firmware-realtek (20160824-1~bpo8+1) ...
    • It just upgraded the firmware packages from the standard repos to a newer version from the backports repo. This shouldn't have broken it. Trying to replicate on my RPi. May take a while or a day.
      omv 5.0.14 usul | 64 bit | 5.0 proxmox kernel | omvextrasorg 5.1.5
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Unfortunately, the RPi I have running is an RPi2. I will have to wait until later to try the wifi.
      omv 5.0.14 usul | 64 bit | 5.0 proxmox kernel | omvextrasorg 5.1.5
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • I can't seem to find anything about this issue (recent) on the interweb.

      Has anyone else just updated the wifi firmware on a RPi3 without an issue with the wlan0 interface?

      what tests/checks can i do at the CLI to figure this out?

      I have tried a reboot but still no luck.

      edit - these syslog entries might be related...

      brcmfmac_sdio mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.bin failed with error -2
      brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

      The post was edited 1 time, last by jata1 ().

    • In about 3 hours, I can check mine. Until then, I would try deleting the wifi and re-adding.
      omv 5.0.14 usul | 64 bit | 5.0 proxmox kernel | omvextrasorg 5.1.5
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • jata1 wrote:

      how do you 'delete the wifi and re-add'?
      Go to the System -> Network -> Interfaces tab.
      Select wifi interface and click delete and apply.
      Click Add Wifi.
      omv 5.0.14 usul | 64 bit | 5.0 proxmox kernel | omvextrasorg 5.1.5
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Module Size Used by
      cpufreq_stats 3463 0
      tun 18494 2
      xt_nat 1759 3
      iptable_nat 1725 1
      nf_conntrack_ipv4 12912 1
      nf_defrag_ipv4 1428 1 nf_conntrack_ipv4
      nf_nat_ipv4 4992 1 iptable_nat
      nf_nat 12375 2 nf_nat_ipv4,xt_nat
      nf_conntrack 77460 3 nf_nat,nf_nat_ipv4,nf_conntrack_ipv4
      ip6table_filter 1349 0
      ip6_tables 11701 1 ip6table_filter
      iptable_filter 1409 0
      ip_tables 11445 2 iptable_filter,iptable_nat
      x_tables 13165 5 ip6table_filter,ip_tables,xt_nat,iptable_filter,ip6_tables
      quota_v2 4290 4
      quota_tree 7898 1 quota_v2
      brcmfmac 186403 0
      brcmutil 5661 1 brcmfmac
      cfg80211 428431 1 brcmfmac
      rfkill 16037 1 cfg80211
      sg 18319 0
      rtc_ds1307 9521 0
      bcm2835_gpiomem 3040 0
      i2c_bcm2708 4834 0
      bcm2835_wdt 3225 0
      uio_pdrv_genirq 3164 0
      uio 8000 1 uio_pdrv_genirq
      md_mod 118571 0
      i2c_dev 5859 0
      snd_bcm2835 20447 0
      snd_pcm 75762 1 snd_bcm2835
      snd_timer 19288 1 snd_pcm
      snd 51908 3 snd_bcm2835,snd_timer,snd_pcm
      fuse 84037 1
      ipv6 347594 76
    • Well, the brcmfmac module is loaded. Maybe the name was changed? What is the output of: ifconfig -a
      omv 5.0.14 usul | 64 bit | 5.0 proxmox kernel | omvextrasorg 5.1.5
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • i ran the ifconfig command earlier and it returned eth0 and lo only.

      wlan0 was not listed but it would usually be included.

      I think the issue is related to the two entries below in my syslog at startup. these are related to the wifi / bt chip and have started once i updated the drivers earlier today

      brcmfmac_sdio mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.bin failed with error -2
      brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
    • subzero79 wrote:

      The fw is not available for the wifi card.
      If it was working before, the correct files should be there, shouldn't they?
      omv 5.0.14 usul | 64 bit | 5.0 proxmox kernel | omvextrasorg 5.1.5
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Thanks both for your help.

      I'm building a test/new install on my spare sd card so will report back tomorrow.

      I have the RPi 3.0.51 image and just did an apt-get update and i noticed that the 4-5 firmware packages were not included in list of packages to update. I think I must have added a repo (manually) and this listed a number of fw packages that do not play nicely with RPi3.

      Only takes me a few hours to fully rebuild my setup and get all my services working again so not a big deal.

      lesson for me is to not always 100% trust all packages that are listed as packages to 'update'
    • ryecoaaron wrote:

      subzero79 wrote:

      The fw is not available for the wifi card.
      If it was working before, the correct files should be there, shouldn't they?
      But raspbian image didn't include the fw? Did you add them to your image ?
      New wiki
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server
    • jata1 wrote:

      I have the RPi 3.0.51 image and just did an apt-get update and i noticed that the 4-5 firmware packages were not included in list of packages to update. I think I must have added a repo (manually) and this listed a number of fw packages that do not play nicely with RPi3.
      I just upgraded my RPi from 3.0.51. The wireless was not setup before the upgrade. I set it up after the upgrade it is working fine. Not sure what repo you added but it could be causing the problem.

      jata1 wrote:

      lesson for me is to not always 100% trust all packages that are listed as packages to 'update'
      If you add custom repos, I would say this is true. Otherwise, normally you don't have to worry about this.
      omv 5.0.14 usul | 64 bit | 5.0 proxmox kernel | omvextrasorg 5.1.5
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • subzero79 wrote:

      But raspbian image didn't include the fw? Did you add them to your image ?
      I must have. It is working on my RPi3.
      omv 5.0.14 usul | 64 bit | 5.0 proxmox kernel | omvextrasorg 5.1.5
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!