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) ...

    • Offizieller Beitrag

    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 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Unfortunately, the RPi I have running is an RPi2. I will have to wait until later to try the wifi.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Thanks for looking/helping. I use eth0 most of the time so not a big issue for me but i would like to resolve the issue.


    I'll check the Raspberry pi forums to see if I can find the issue/solution.


    speak soon.

  • 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

    • Offizieller Beitrag

    In about 3 hours, I can check mine. Until then, I would try deleting the wifi and re-adding.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    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 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • the issue is that the wifi interface is not available to add. there is nothing available when i try to add a wifi interface.


    i think the issue is at the hardware/firmware level so there is no wlan0 interface on the system anymore.

    • Offizieller Beitrag

    That probably means the module is not loaded. What is the output of: lsmod

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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

    • Offizieller Beitrag

    Well, the brcmfmac module is loaded. Maybe the name was changed? What is the output of: ifconfig -a

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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

    • Offizieller Beitrag

    The fw is not available for the wifi card.

    If it was working before, the correct files should be there, shouldn't they?

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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'

    • Offizieller Beitrag

    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.


    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 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    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 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!