Da un anno ho un problema di crash sporadici con nodogsplash su openwrt
e in dmesg trovo molti di questi messaggi:

__ratelimit: 1 callbacks suppressed
Virtual device ath0 asks to queue packet!
Virtual device ath0 asks to queue packet!
Virtual device ath0 asks to queue packet!
Virtual device ath0 asks to queue packet!
Virtual device ath0 asks to queue packet!
Virtual device ath0 asks to queue packet!
Virtual device ath0 asks to queue packet!
Virtual device ath0 asks to queue packet!
Virtual device ath0 asks to queue packet!
Virtual device ath0 asks to queue packet!

non riuscendo a capire da cosa dipenda ho disabilitato lo script in
init.d e attraverso reverse engineering dello stesso ho creato uno
script che lanciato in rc.local controlla l'esecuzione di nodosplash e
casomai sia crashato lo riavvia.

l'ho testato e funziona correttamente.

Ringrazio clauz per il supporto, in allegato il codice


-----------------------------------------------------------

/etc/ndsplh.sh

####################

#!/bin/ash

while [ 1 ]; do
        if /usr/bin/ndsctl status > /dev/null 2>&1; then
                sleep 120
        else
                killall nodogsplash
                sleep 5
                /usr/bin/nodogsplash > /dev/null 2>&1 &
                sleep 120
        fi
done

#####################

------------------------------------------------------------

in /etc/rc.local aggiungo:

###
/etc/ndsplh.sh &
###

------------------------------------------------------------
_______________________________________________
Wireless mailing list
Wireless@ml.ninux.org
http://ml.ninux.org/mailman/listinfo/wireless

Reply via email to