<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div apple-content-edited="true" class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span class="Apple-style-span" style="orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; -webkit-text-decorations-in-effect: none; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span class="Apple-style-span" style="orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; -webkit-text-decorations-in-effect: none; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span class="Apple-style-span" style="orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; -webkit-text-decorations-in-effect: none; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><br class=""></div></div></span></div></span></div></span></div></span></div></span></div></span></span></div><div><blockquote type="cite" class=""><div class="">Il giorno 02/feb/2015, alle ore 15:13, vilgio [BIGHAT] <<a href="mailto:villella.giovanni@gmail.com" class="">villella.giovanni@gmail.com</a>> ha scritto:</div><br class="Apple-interchange-newline"><div class=""><p dir="ltr" class="">Condivido. Anche cerisano è  stato down   domenica pomeriggio  ma l'ups ha lavorato  egregiamente </p>
<div class="gmail_quote"><br class=""></div></div></blockquote><br class=""></div><div>Salutiamo, mi inserisco in questo thread tutto cosentino per buttare una proposta a cui si potrebbe lavorare.</div><div>Dato che nonostante ups anche l’osservatorio a Reggio è andato giù l’altro giorno</div><div><br class=""></div><div>Problema: mancanza di corrente prolungata, nodi e server rimangono con potenza a palla = consumo massimo di energia</div><div>Obbiettivo: Far si che si continui ad avere la funzionalità del nodo il più a lungo possibile in attesa del ripristino della 220v</div><div><br class=""></div><div>Possibile soluzione: Con un rasp o simile mi controllo lo stato della 220v (in alternativa ho un ups che si interfaccia via usb con un pc) </div><div>if 220 down do begin </div><div><span class="Apple-tab-span" style="white-space:pre">              </span>in /etc/config/wireless write ubiquiti db = ubiquiti db -1</div><div><span class="Apple-tab-span" style="white-space:pre">         </span>save /etc/config/wireless </div><div><span class="Apple-tab-span" style="white-space:pre">              </span>wifi</div><div><span class="Apple-tab-span" style="white-space:pre">         </span>wait 10s </div><div><span class="Apple-tab-span" style="white-space:pre">               </span>watchdog client </div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>if client conosciuti connessi ripeti il ciclo</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>else in /etc/config/wireless write ubiquiti db = ubiquiti db +1</div><div><span class="Apple-tab-span" style="white-space: pre;">                  </span>save /etc/config/wireless </div><div><span class="Apple-tab-span" style="white-space: pre;">                    </span>wifi</div><div><span class="Apple-tab-span" style="white-space: pre;">                       </span>wait 10s</div><div>endif</div><div><br class=""></div><div>Ora .. mi permetterete la scrittura a membro di segugio .. ma era per cercare di fare capire .. il momento che entra in funzione l’ups le antenne abbassano la potenza fino ad avere una connessione a soglia minima accettabile con i client conosciuti in precedenza (o il relativo ap). questo permette di avere la funzionalità di poter accedere al nodo e magari monitorare cosa minchia è successo e di averlo up il più a lungo possibile perchè ho ridotto al minimo possibile i consumi.</div><div><br class=""></div><div>Stessa cosa si potrebbe adattare ai nodi a energia solare il momento in cui non c’è sole .. il nodo tiene le funzionalità al minimo ma rimane su..</div><div>idem per i server sotto un nodo </div><div><br class=""></div><div>butto lì l’idea .. chi ci sta a lavorarci insieme?</div><div><br class=""></div><div>i punti sarebbero :</div><div>interfacciamento ups pc </div><div>studiarsi watchdog e capire come interagire con lui (o in alternativa leggersi iw wlan0 station dump) </div><div>interagire con config wireless tramite uno script</div><div><br class=""></div><div style="orphans: 2; widows: 2;"><br class=""></div><div style="orphans: 2; widows: 2;"><br class=""></div><div style="orphans: 2; widows: 2;"> ——————————</div><div class=""><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-align: -webkit-auto; widows: 2; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="text-align: -webkit-auto;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="text-align: -webkit-auto;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="text-align: -webkit-auto;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="border-collapse: separate; border-spacing: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">BornAgain</div><div style="border-collapse: separate; border-spacing: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><a href="mailto:bornagain@autoproduzioni.net" class="">bornagain@autoproduzioni.net</a> </div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class="">Nodi su rete wireless comunitaria <a href="http://Ninux.org" class="">Ninux.org</a> <br class=""><div class=""><a href="http://map.ninux.org/select/reggiocalbornagain/" class="">http://map.ninux.org/select/reggiocalbornagain/</a></div><div class=""><a href="http://map.ninux.org/select/romapandora/" class="">http://map.ninux.org/select/romapandora/</a></div><div style="border-collapse: separate; border-spacing: 0px;" class="">ed altri ..</div><div class=""><br class=""></div></div></div></span></div></span></div></span></div></span></div></span></div></span></span></div><div><span class="Apple-tab-span" style="white-space:pre">                           </span></div></body></html>