.
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.
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$26.99
A-Tech 16GB 2x 8GB 2Rx4 PC3-10600R DDR3 1333 MHz ECC RDIMM REG Server Memory RAM
$33.99
A-Tech 8GB 2x 4GB 2Rx4 PC3-10600R DDR3 1333MHz ECC RDIMM REG Server Memory RAM
$14.99
8GB 2X4GB DDR3 PC3-12800U Desktop Memory Ram DELL HP LENOVO ACER GATEWAY
$19.99
HYNIX 16GB Kit 2x 8GB DDR3 1600MHz PC3L-12800 DESKTOP Memory
$34.95
CORSAIR - VENGEANCE LPX 32GB (2PK x 16GB) 3200MHz DDR4 C16 DIMM Desktop Memory
$131.99
Crucial 32GB KIT (2x16GB) 3200MHz 260-pin SODIMM DDR4 RAM Memory CT16G4SFRA32A
$118.99
Crucial 16GB PC4-25600 (DDR4-3200) Memory (CT16G4SFRA32A) RAM SODIMM laptop
$59.99
A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G
$26.99
A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G
$53.99