I been trying to use is with my PW3 in fw 5.14.2. I can't seem to get network to work in after waking up from sleep. Only if the screen is on does the network work.
I created this test script to get more logging:
Code:
cd "$(dirname "$0")"
source /mnt/us/extensions/onlinescreensaver/bin/utils.sh
source /mnt/us/extensions/onlinescreensaver/bin/config.sh
log_network() {
logger "NET ifconfig > $(ifconfig wlan0)"
logger "NET wifid cmState > $(lipc-get-prop com.lab126.wifid cmState)"
logger "NET wifid signalStrength > $(lipc-get-prop com.lab126.wifid signalStrength)"
logger "NET wpa_cli status > $(wpa_cli status verbose)"
}
logger "Start Wait"
wait_for 300
logger "Wake"
logger "wpa_cli reassociate $(wpa_cli -i wlan0 reassociate)"
WLANFAIL=0
WLANCOUNTER=0
wait_wlan(){
return $(lipc-get-prop com.lab126.wifid cmState | grep CONNECTED | wc -l)
}
while wait_wlan; do
if [ ${WLANCOUNTER} -eq 10 ]; then
log_network
logger "wpa_cli disconnect: $(wpa_cli -i wlan0 disconnect)"
logger "wpa_cli reconnect: $(wpa_cli -i wlan0 reconnect)"
fi
if [ ${WLANCOUNTER} -eq 30 ]; then
log_network
logger "wifid disable $(lipc-set-prop com.lab126.wifid enable 0)"
logger "wifid enable $(lipc-set-prop com.lab126.wifid enable 1)"
fi
if [ ${WLANCOUNTER} -eq 50 ]; then
log_network
logger "wpa_cli reassociate $(wpa_cli -i wlan0 reassociate)"
fi
if [ ${WLANCOUNTER} -eq 60 ]; then
log_network
WLANFAIL=1
logger "WLAN failed"
break
fi
let WLANCOUNTER=WLANCOUNTER+1
logger "Waiting for WLAN ${WLANCOUNTER}"
sleep 1
done
/bin/ping -c 1 -w 2 $TEST_DOMAIN 2>&1 >> $LOGFILE && echo "Ping success" >> $LOGFILE
less $LOGFILE
But it just fail over and over, repeating this same info:
Code:
NET ifconfig > wlan0 Link encap:Ethernet HWaddr FC:A6:67:85:7A:DD UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:27481 errors:3 dropped:4338 overruns:0 frame:3 TX packets:10808 errors:9 dropped:0 o
verruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:7240800 (6.9 MiB) TX bytes:1435062 (1.3 MiB)
NET wifid cmState > NA
NET wifid signalStrength >
NET wpa_cli status > Selected interface 'wlan0' bssid=ac:84:c6:2a:12:db ssid=REDACTED id=1 mode=station pairwise_cipher=CCMP group_cipher=TKIP key_mgmt=WPA2-PSK wpa_state=COMPLETED address=fc:a
6:67:85:7a:dd
Anyone have a clue what's going on?
I've tried all the rtc, only with rtc1 does waking up work, which lead me to this problems.