Wifi ssh

Bug #1644721 reported by Valentin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Raspbian
New
Undecided
Unassigned

Bug Description

On a new pi 3 (last one), running
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"

I get a very unstable ssh via Wifi. I disabled Wifi power management, but I only can make it work for max 1 day. After that I can no longer connect to pi via ssh.

The first running hours are great, no problems, but after that it gets slower. I don't know what to blame: wifi, ssh, my router?!

I still write several script to automatically restart wlan0 when no connection, but still no effect:

TRIED THIS

ping -c4 192.168.0.1 > /dev/null # THEN RESTART wifi
OR EVEN:

if ifconfig wlan0 | grep -q "net add:" ; # then restart wifi

The following script never run though (never got to 10 minutes with no wlan0, because other scripts run at 60 sec to restart wlan0):

#!/bin/bash

while true ; do
if ifconfig wlan0 | grep -q "inet addr:" ; then
sleep 600
else
  echo $(date) "Network connection down! Attempting reboot." >> /home/rcor/net.log
sleep 3
sudo /sbin/shutdown -r now
fi
done

Tags: ssh wifi
Valentin (actuar)
description: updated
Revision history for this message
Matthew Exon (ubuntubugs-mexon) wrote :

This is an old bug and I don't know if the original poster still has a problem, but for the benefit of anyone else who stumbles across this...

Raspberry Pi 3 does seem to have an issue with power management and the wifi adapter. It seems to be improved a lot if you append the line:

    iwconfig wlan0 power off &

...to /etc/rc.local.

https://discourse.osmc.tv/t/pi-3-wifi-unstable/14171/3

Revision history for this message
JM (m3m3nt082) wrote :

It seems this issue is reoccuring these days.

I am using RPI 3B+, Raspbian GNU/Linux 11 (bullseye) and WiFi connection gets lost after a few hours. There are several similar reports on FB groups about it and several posts associate the WiFi connection loss to power issues.

It is really interesting that the official power supply for teh RPi 3B+ does not fix the undervoltage issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.