.
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.
Lenovo M70q Gen 2 USFF Core i9-10900t - 8GB RAM - 128GB SSD - NO HDD
$295.55
2019-2020 Apple iMac 5K RETINA 4.6GHz 27" TURBO / 32GB RAM / 1TB SSD NVME
$1099.00
Dell OptiPlex 3060 MT Core i5 8th Gen 16GB Ram 480 GB SSD Windows 11 Computer
$239.00
Windows 11 Home Mini PC Intel N4100 Quad Core 2.7GHz 8GB RAM DDR4 256GB SSD
$89.59
NEW OEM Tray AMD Ryzen 7 5700X 8-Core 16-Thread 3.4GHz Socket AM4 CPU Processor
$149.00
Intel Xeon E5-2667 v2 SR19W 3.30GHz 25M 8GT/s 8-Core LGA2011 CPU Processor
$24.99
Apple Mac Pro Processor Tray 5,1 2010 2012 2.4ghz 8 core
$79.99
Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor
$24.00
Dell OptiPlex 5060 SFF Desktop 256GB SSD 8th Gen i5-8500 3GHz 8GB RAM
$105.00
HP Z2 Mini G5 i7-10700 8-Core 32GB 512GB SSD Win 11 Pro Wifi AC Adapter
$449.00