How to measure wifi connection duration?

If none of the more specific forums is the right place to ask

How to measure wifi connection duration?

Postby kerryhall » 2020-09-15 22:36

I'm trying to help a friend diagnose their wifi issues but I can't repro their issue.

They state that their wifi connection will drop after a certain amount of time, but after giving me their laptop, I can't get the connection to drop.

First of all, how do I record the length of time that a connection will stay connected, so I can gather some hard data? Using the default network manager applet that comes with MATE.

Secondly, how would I set up logging for disconnection events? What logs contain this information?

Third, assuming they are simply connecting to an AP that "doesn't like" their wifi card, would it help to try a different card? (I'm assuming certain wifi / AP combinations are simply not ideal or have problems) Their AP is a XB6 but they state they have this issue with other APs.
kerryhall
 
Posts: 195
Joined: 2008-08-19 11:06

Re: How to measure wifi connection duration?

Postby sickpig » 2020-09-16 00:15

kerryhall wrote:Using the default network manager applet that comes with MATE.


Don't know how you can do that with the nm applet but you can use sar command from https://packages.debian.org/buster/sysstat. After setting sysstat up you can use-

Code: Select all
sar -n EDEV -f /yourlogfile


will give you errors recorded for the interface

kerryhall wrote:Secondly, how would I set up logging for disconnection events? What logs contain this information?


You can co-relate the above with the router logs.
User avatar
sickpig
 
Posts: 474
Joined: 2019-01-23 10:34


Return to General Questions

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable