0

I just bought a Pi 3, and installed Raspbian on it. Now my Pi is working headless, connected via WiFi, but I have a strange behaviour with it. It seems that the Pi's WiFi connection is somewhat sleeping until I send some pings. Here is the log of the ping command:

C:\Users\Lorthirk>ping -t 192.168.1.61

Esecuzione di Ping 192.168.1.61 con 32 byte di dati:
Risposta da 192.168.1.69: Host di destinazione non raggiungibile.
  [Message repeated 99 times]
Risposta da 192.168.1.61: byte=32 durata=63ms TTL=64
Risposta da 192.168.1.61: byte=32 durata=81ms TTL=64
Risposta da 192.168.1.61: byte=32 durata=101ms TTL=64
Risposta da 192.168.1.61: byte=32 durata=21ms TTL=64
Risposta da 192.168.1.61: byte=32 durata=39ms TTL=64

("Host di destinazione non raggiungibile" means "Host unreachable" in Italian).

So it seems that the WiFi goes in some sleep state, and gets awaken somehow after some pings. Am I right? Is this a known behaviour? Can I do anything to prevent it?

Ghanima
  • 15,578
  • 15
  • 58
  • 113
  • I found [this answer](http://raspberrypi.stackexchange.com/questions/34794/how-to-disable-wi-fi-dongle-sleep-mode) and noticed that I had power saving enabled for wlan0. Now I disabled it, I'll report back tomorrow with the results – Claudio Mezzasalma Mar 16 '16 at 11:52
  • My personal experience is, that this behavior is familiar on all models of the Pi, whether they have a wireless dongle or on-board wifi, but what's really strange is, that some devices always have this issue while others never have it with all devices running identical clean builds. – Wim Ombelets Apr 16 '16 at 20:13

2 Answers2

0

The problem is that the Broadcom firmware isn't quite handling the power management correctly. If you

sudo apt-get update 
sudo apt-get upgrade

It has now been fixed / worked around (power management has been disabled until the driver is fixed).

Ghanima
  • 15,578
  • 15
  • 58
  • 113
GSH
  • 431
  • 3
  • 2
0

I found this answer and noticed that I had power saving enabled for wlan0. Now I disabled it, I'll report back tomorrow with the results