7

I have a raspberry pi 3 (which has internal WiFi), running raspbian.

I decided to run it as "testing", by changing the apt list.

Now, I can't use WiFi.

Whenever I use wpa_supplicant, it complains that there's no wlan0 device (which there isn't in /dev)

What can I do to setup the wlan device and get wpa_supplicant back up?

uname -r is 4.4.13-v7+

lsmod shows:

AppleTalk
psnap
llc
axc25
bncp
hci_uart
btbcm
Bluetooth
joydcv
evdev
hid_microsoft
brcmfmac
brcmutil
cfg80211
rfkill
snd_bcm2835
snd_pcm
snd_timer
snd
spi_bcm8235
bcm8235_gpiomen
bcm8235_wdt
uio_pdrv_genirq
uio
ipv6
goldilocks
  • 60,325
  • 17
  • 117
  • 234
Wert
  • 71
  • 1
  • 3

4 Answers4

7

The package that provides the Wi-Fi firmware is called firmware-brcm80211. To downgrade this package to a version that works:

sudo apt-get install firmware-brcm80211=0.43+rpi5

To prevent this package from being upgraded (either before an upgrade to stretch, or after downgrading the firmware):

sudo apt-mark hold firmware-brcm80211
NobodyNada
  • 171
  • 1
  • 4
3

Same problem here. Upgraded raspbian jessie to raspbian stretch and lost wifi (due to the upgrading of firmware-brcm80211 package). Just copied the contents of /lib/firmware/brcm from raspbian jessie (from another pi) and rebooted. Now wifi works on raspbian stretch.

2

I found a solution to this problem by the Raspberry Pi forum users iulius_felix and wdmjun (link to original answer):

  1. Get brcmfmac43430-sdio.bin and brcmfmac43430-sdio.txt from this repo or from the /lib/firmware/brcm folder of a working Raspberry Pi.
  2. Copy the above mentioned files to /lib/firmware/brcm on the problematic Raspberry Pi.
  3. Reboot the Raspberry Pi.
0

This Blogpost suggests, that you can use the kernel commandline to disable the wifi-device name changes introduced in stretch. Adding net.ifnames=0 to cmdline.txt on the boot partition should do the trick.

fps
  • 1