<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Il sorgente di nodogsplash che dice ?<br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Fri, 10 May 2013 16:18:00 +0200<br>> From: enterprise.nx@gmail.com<br>> To: wireless@ml.ninux.org<br>> Subject: [Ninux-Wireless] Problemi di crash su nodogsplash<br>> <br>> Da un anno ho un problema di crash sporadici con nodogsplash su openwrt<br>> e in dmesg trovo molti di questi messaggi:<br>> <br>> __ratelimit: 1 callbacks suppressed<br>> Virtual device ath0 asks to queue packet!<br>> Virtual device ath0 asks to queue packet!<br>> Virtual device ath0 asks to queue packet!<br>> Virtual device ath0 asks to queue packet!<br>> Virtual device ath0 asks to queue packet!<br>> Virtual device ath0 asks to queue packet!<br>> Virtual device ath0 asks to queue packet!<br>> Virtual device ath0 asks to queue packet!<br>> Virtual device ath0 asks to queue packet!<br>> Virtual device ath0 asks to queue packet!<br>> <br>> non riuscendo a capire da cosa dipenda ho disabilitato lo script in<br>> init.d e attraverso reverse engineering dello stesso ho creato uno<br>> script che lanciato in rc.local controlla l'esecuzione di nodosplash e<br>> casomai sia crashato lo riavvia.<br>> <br>> l'ho testato e funziona correttamente.<br>> <br>> Ringrazio clauz per il supporto, in allegato il codice<br>> <br>> <br>> -----------------------------------------------------------<br>> <br>> /etc/ndsplh.sh<br>> <br>> ####################<br>> <br>> #!/bin/ash<br>> <br>> while [ 1 ]; do<br>>         if /usr/bin/ndsctl status > /dev/null 2>&1; then<br>>                 sleep 120<br>>         else<br>>                 killall nodogsplash<br>>                 sleep 5<br>>                 /usr/bin/nodogsplash > /dev/null 2>&1 &<br>>                 sleep 120<br>>         fi<br>> done<br>> <br>> #####################<br>> <br>> ------------------------------------------------------------<br>> <br>> in /etc/rc.local aggiungo:<br>> <br>> ###<br>> /etc/ndsplh.sh &<br>> ###<br>> <br>> ------------------------------------------------------------<br>> _______________________________________________<br>> Wireless mailing list<br>> Wireless@ml.ninux.org<br>> http://ml.ninux.org/mailman/listinfo/wireless<br></div>                                         </div></body>
</html>