article

KirkC@Amazon avatar image
KirkC@Amazon posted

Raspberry Pi 3 Disconnecting over WiFi

Summary:

If you're following our Alexa AVS Raspberry Pi guide using a Raspberry Pi 3, connected to WiFi and finding remote connections over SSH or VNC to be unreliable, it's possible the Raspberry Pi has a power safer feature enabled which is disabling wireless networking after a period of inactivity.

To address this, we're going to add a line of code underneath the network interface configuration file:

  1. Open Terminal and type: sudo nano /etc/network/interfaces
  2. Directly underneath the line "iface wlan0 inet dhcp" add "wireless-power off"
  3. Hit CTRL + X followed by Y, and Enter to save changes.
  4. Restart your Raspberry Pi

After having restarted your Pi, you can verify whether the change has taken effect by opening Terminal and typing "iwconfig." In Terminal you should see the following:

Power Management:off

Your Pi should no longer be putting WiFi to sleep.

Keywords: Raspberry Pi, AVS, SSH, VNC, Networking, Wireless

KB_0448

alexa skills kitalexa voice service
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Article

Contributors

Sindy@Amazon contributed to this article KirkC@Amazon contributed to this article