.
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.
Juniper EX4200-48PX 48-Port PoE+ Switch 10/100/1000BaseT
$180.00
JUNIPER NETWORKS Qfx5100-48s-afi 48Port 10 Gigabit Ethernet Switch *WORKING*NC
$1599.99
JUNIPER EX3300-24T - 24-Port 1Gb + 4-Port SFP 10Gb Ethernet Switch - Tested
$145.00
Juniper EX2300-24P Rack Mountable Ethernet Switch
$550.00
JUNIPER NETWORKS EX2200-48P-4G PoE 48 port network Gigabit switch
$68.00
Juniper EX3300-24P 24 Port Switch
$160.00
JUNIPER QFX5100-48S-AFI SWITCH 48 SFP+ 6QSFP 2xPSUs TESTED AND WORKING
$1599.99
Juniper Networks EX2300-48P 48 Port PoE 4 SFP 1/10G Network Switch
$739.00
Juniper Networks EX4300-48P 48Port GbE PoE+ Switch 1000Base-T EX 4300 48P
$243.00
Juniper Networks EX2200-48P-4G 48x RJ45 PoE+ 4x SFP Switch Fair No Ears
$40.84