Following a RasPiOS upgrade yesterday, a Pi4 seems to be dropping
its wifi connection considerably more than usual. In the past, this
has been accompanied by signal strength readings below 70% on wavemon.
Now, the signal strength is over 80% and the machine is still dropping
the connection. Cellphones have no problem connecting.
So far, the remedy seems to be turning wifi off and then back on. Are
there any tricks that might help sort out what's wrong? There are many
wifi networks visible to the Pi, but I think mine is the strongest.
Following a RasPiOS upgrade yesterday, a Pi4 seems to be dropping
its wifi connection considerably more than usual. In the past, this
has been accompanied by signal strength readings below 70% on wavemon.
Now, the signal strength is over 80% and the machine is still dropping
the connection. Cellphones have no problem connecting.
Is it the same power?
This is the relevant size, maybe they updated the database for max
allowed power per country and this changed something.
Be aware that need to check the local rules of your residence for the
laws about max. power for WiFi on the different bands.
If there are other networks on the same channel or on the neighbor
channels, they will definitely interfere your connection. Try to use
the most clear channel, check both ends (Pi and your device location).
Following a RasPiOS upgrade yesterday, a Pi4 seems to be dropping
its wifi connection considerably more than usual. In the past, this
has been accompanied by signal strength readings below 70% on wavemon.
Now, the signal strength is over 80% and the machine is still dropping
the connection. Cellphones have no problem connecting.
So far, the remedy seems to be turning wifi off and then back on. Are
there any tricks that might help sort out what's wrong? There are many
wifi networks visible to the Pi, but I think mine is the strongest.
Thanks for reading,
bob prohaska
bob prohaska wrote on 12/10/21 2:54 AM:
Following a RasPiOS upgrade yesterday, a Pi4 seems to be dropping
its wifi connection considerably more than usual. In the past, this
has been accompanied by signal strength readings below 70% on wavemon.
Now, the signal strength is over 80% and the machine is still dropping
the connection. Cellphones have no problem connecting.
So far, the remedy seems to be turning wifi off and then back on. Are
there any tricks that might help sort out what's wrong? There are many
wifi networks visible to the Pi, but I think mine is the strongest.
Thanks for reading,
bob prohaska
switch off wifi power management (iwconfig wlan0 power off)
if that doesnt help, use okder firmware.
Ihad to do both to stop loosing connection every n minutes....
although I think power-management was the culprit.
Ralph Spitzner <rasp@spitzner.org> wrote:
bob prohaska wrote on 12/10/21 2:54 AM:
Following a RasPiOS upgrade yesterday, a Pi4 seems to be dropping
its wifi connection considerably more than usual. In the past, this
has been accompanied by signal strength readings below 70% on wavemon.
Now, the signal strength is over 80% and the machine is still dropping
the connection. Cellphones have no problem connecting.
So far, the remedy seems to be turning wifi off and then back on. Are
there any tricks that might help sort out what's wrong? There are many
wifi networks visible to the Pi, but I think mine is the strongest.
Thanks for reading,
bob prohaska
switch off wifi power management (iwconfig wlan0 power off)
if that doesnt help, use okder firmware.
Ihad to do both to stop loosing connection every n minutes....
although I think power-management was the culprit.
Trying it now....
Wouldn't power management interfere with all connections equally? There
are usually about a dozen ssh connections open, typically only one or two drop. The rest stay up for days/weeks.
On 2021-12-12, bob prohaska <bp@www.zefox.net> wrote:
Wouldn't power management interfere with all connections equally? There
are usually about a dozen ssh connections open, typically only one or two
drop. The rest stay up for days/weeks.
Surely if you are saying you wifi connection goes down then ALL tcp/ip traffic over the wifi does down as well?
Something does not sound right in the two desciptions of your problem
given above
On 2021-12-12, bob prohaska <bp@www.zefox.net> wrote:[snip]
Ralph Spitzner <rasp@spitzner.org> wrote:
bob prohaska wrote on 12/10/21 2:54 AM:
Out of six ssh sessions over wifi opened yesterday three are still up.So far, the remedy seems to be turning wifi off and then back on. Are
there any tricks that might help sort out what's wrong? There are many >>>> wifi networks visible to the Pi, but I think mine is the strongest.
switch off wifi power management (iwconfig wlan0 power off)
if that doesnt help, use okder firmware.
Ihad to do both to stop loosing connection every n minutes....
although I think power-management was the culprit.
Trying it now....
Surely if you are saying you wifi connection goes down then ALL tcp/ip traffic over the wifi does down as well?
Something does not sound right in the two desciptions of your problem
given above
The Pi4 is connected to my
single WiFi access point. There are six ssh connections to other hosts,
plus one ping session to the access point. Three of the ssh connections dropped overnight, the other three are still up.
bob prohaska wrote:
The Pi4 is connected to my
single WiFi access point. There are six ssh connections to other hosts, plus one ping session to the access point. Three of the ssh connections dropped overnight, the other three are still up.
Is it possible some of the SSH sessions use keep-alives while the others do not?
Andy Burns <usenet@andyburns.uk> wrote:
bob prohaska wrote:
The Pi4 is connected to my
single WiFi access point. There are six ssh connections to other hosts,
plus one ping session to the access point. Three of the ssh connections
dropped overnight, the other three are still up.
Is it possible some of the SSH sessions use keep-alives while the others do not?
Also is it worth stepping up the ssh debugging by using -v, -vv or
-vvv? That might tell you what ssh itself thinks is the reason for dropped connections.
Chris Green <cl@isbd.net> wrote:
Also is it worth stepping up the ssh debugging by using -v, -vv or
-vvv? That might tell you what ssh itself thinks is the reason for dropped connections.
Yes! Can I simply use something like
ssh -vv user@host ?
Where will I find the extra output?
As an aside, I brought all the ssh sessions back up several hours ago. They're all still up.....
Chris Green <cl@isbd.net> wrote:
Andy Burns <usenet@andyburns.uk> wrote:Not sure. I haven't done anything beyond using ping to see if it keeps things up. Near as I can tell it doesn't help much, if at all. If what you mean by
bob prohaska wrote:
The Pi4 is connected to my
single WiFi access point. There are six ssh connections to other hosts, >>> > plus one ping session to the access point. Three of the ssh connections >>> > dropped overnight, the other three are still up.
Is it possible some of the SSH sessions use keep-alives while the others do not?
a keep-alive is different, please tell me what to check for.
Also is it worth stepping up the ssh debugging by using -v, -vv or
-vvv? That might tell you what ssh itself thinks is the reason for dropped >> connections.
Yes! Can I simply use something like
ssh -vv user@host ?
Where will I find the extra output?
As an aside, I brought all the ssh sessions back up several hours ago. They're all still up.....
Thanks for writing!
bob prohaska
bob prohaska <bp@www.zefox.net> wrote:
Chris Green <cl@isbd.net> wrote:On standard output (or maybe standard error), ... thinks, I'll try it:-
Also is it worth stepping up the ssh debugging by using -v, -vv or
-vvv? That might tell you what ssh itself thinks is the reason for dropped >> > connections.
Yes! Can I simply use something like
ssh -vv user@host ?
Where will I find the extra output?
ssh -vvv backup 2>log
Works beautifully! Loads of debug information is sent to 'log' while
your connection works as usual.
As an aside, I brought all the ssh sessions back up several hours ago.Sort of sods law that isn't it! :-)
They're all still up.....
Overnight two connections went down. The only message is of the form:
packet_write_wait: Connection to 50.1.20.24 port 22: Broken pipe
That's what I've been seeing all along, -v or no -v8-)
Can anybody hazard a guess which end initiated the disconnect?
From the wording, it looks like the Pi discovered that the link
was already gone, said so and exited.
Overnight two connections went down. The only message is of the form:
packet_write_wait: Connection to 50.1.20.24 port 22: Broken pipe
That's what I've been seeing all along, -v or no -v 8-)
Can anybody hazard a guess which end initiated the disconnect?
From the wording, it looks like the Pi discovered that the link was
already gone, said so and exited.
Thanks for reading,
bob prohaska
Overnight two connections went down. The only message is of the form:
packet_write_wait: Connection to 50.1.20.24 port 22: Broken pipe
That's what I've been seeing all along, -v or no -v 8-)
Can anybody hazard a guess which end initiated the disconnect?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 371 |
Nodes: | 16 (2 / 14) |
Uptime: | 174:54:57 |
Calls: | 7,915 |
Files: | 12,983 |
Messages: | 5,797,723 |