.
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.
TP-Link 16-Port Gigabit Ethernet Unmanaged Switch | Plug and Play | TL-SG1016D
$39.99
Loocam Gigabit PoE Switch 8 Port 96W 2 Uplink Port Unmanaged Ethernet Switch
$62.49
TP-Link TL-SG108PE | 8 Port Gigabit PoE Switch | Easy Smart Managed | 4 PoE
$44.99
Tenda 8/5 Port Gigabit Ethernet Splitter Network Switch SG108 / SG105 Unmanaged
$19.99
Tenda SG108 Network Gigabit Switch 8 Port 10/100/1000Mbps Wired Ethernet Lan Hub
$19.99
New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub
$11.49
Brocade FCX648S-HPOE 48 Port Gigabit PoE Network Switch - SAME DAY SHIPPING
$53.99
Tenda SG105 5-Port 10/100/1000Mbps Gigabit Desktop Switch Ethernet Splitter Hub
$13.99
TP-Link 24-Port Gigabit Ethernet Unmanaged Switch Desktop/Rackmount TL-SG1024D
$62.99
GENATA 4 Port PoE Switch w/Gigabit Ethernet and SFP Uplink, 802.3af/at/bt PoE+
$44.99