Timeout for some wifi connections
Some wifi connection might drop in and out intermittently which would cause the wget function to get stuck.
A work around for this is proposed here to timeout the wget command.
1/ ssh to the emonWRT
$ ssh firstname.lastname@example.org
2/ install coreutils-timeout
$ opkg update $ opkg install coreutils-timeout
3/ Open and edit the emonwrt_forwarder.sh script: (make sure you know the basics of vi before undertaking this)
$ vi /usr/bin/emonwrt_forwarder.sh
Replace line 63 that says
wget $ec_request -q -O /dev/null
timeout 7 wget $ec_request -q -O /dev/null
4/ Restart the service
$ /etc/init.d/emonwrt restart