.
I use the measure count to define the frequency of wifi disconnect/reconnects.
count is defined as an alias in my /etc/profile, as follows:
In practice, it works this way:Code:alias count="date '+%h %e %H:%M:%S'; less /var/log/syslog > text; less text | fgrep restart; less text | fgrep -c disconnecting"
knoppix@Microknoppix:~$ count
Jan 17 19:18:36
Jan 17 14:25:56 Microknoppix syslogd 1.5.0#6.2: restart.
30
Given these three lines I deduce I have had 30 disconnect/reconnects in the current session
which began at about 14:26. Doing the subtraction that seems to be about 292/30 or once in
9.7 minutes on average. I know the reconnect time is usually quite small, on the order
of two seconds, usually. I'm currently using g-mode on either router since this gives a
much better result with this measure of performance. my n-mode results are on the order
of less than a minute between disconnects, using this same measure. I conclude my g-mode is
preferable to my n-mode as things stand right now.
This approach requires /var/log/syslog which, using Knoppix7, may be partially observed with
control-alt-F12, but I don't know how to manipulate it as above without providing the actual
log. I do this by adding the following entry to /etc/syslog-knoppix.conf
just below the existing tty12 statement:
Use two tabs to provide the space between none and /var above.Code:*.*;auth,authpriv.none /var/log/syslog
This log is re-established at boot. So, the accumulation of this record is of no consequence
in using a LiveUSB which is never left on-line overnight or when not in use for any significant
time. Needless to say, if you don't reboot often as I do, you may want to consider how much
space is consumed by contiuously recording syslog.
Intel Xeon E3-1270 v6 3.80GHz 4 Cores SR326 LGA1151 CPU Processor
$46.00
Intel Core i9-12900KF - 12th Gen Alder Lake 16-Core (8P+8E) 3.2GHz LGA CPU
$262.99
AMD Ryzen 9 7900X3D Gaming Processor - 12 Core And 24 Threads - 5.60 GHz Max Boo
$349.99
Intel Core i5-6500 3.2 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR2L6
$24.99
Intel i5-9500 3.00GHz 6-Core 9MB CPU Processor LGA1151 SRF4B
$58.00
Intel Core i7-7700 Kaby Lake Quad-Core 3.6 GHz Processor LGA 1151
$77.99
AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor
$77.77
Intel Core i7-7700 3.60GHz Quad-Core CPU
$41.66
Intel Xeon Gold 6146 3.2GHz 12 Core FCLGA3647 Server Processor
$174.98
Intel Xeon E5-2673 v4 20-Core 2.30GHz 50MB 9.60GT/s 135W Processor SR2KE
$78.99