DPattee wrote:I just can't get this to work consistently enough to actually 'use it.'
I've got 3 devices defined (an iPad and 2 iPhones). The iPad stays at my house, as does one of the iPhones (my v4 that I just replaced), while my iPhone 5 goes with me when I leave.
All 3 devices are connected to my WiFi, they all are set to connect wirelessly to iTunes (which works, they always show up), and they all are set to poll one or more email accounts every 15 minutes.
They all use static dhcp leases that were set for 1440 minutes, but I did set one of them to a 10 minutes ttl to see if that would make a difference.
Router is a WNDR37 running DD-WRT's 14896 - which is 2 years old but is the latest version listed in their router db.
DPattee,
I'm assuming you're using DD-WRT's syslog option to send the logs to SPR? Are you indeed seeing the IP's or MAC addresses of your phones in the logs if you turn on log output in SPR's config? It sounds like it is working since you are seeing the phones as home. What might be happening is the log is not verbose enough, or there is a limit of how many lines to log per minute. With that limit set it will often log a lot of other activity like torrents or web surfing, but then max out the per minute log limit and drop any log messages for the phones. I used this little trick in Tomato to guarantee my phones would get logged, you should be able to do the same thing in DDWRT.
In the logging setup, I just have logging enabled, with the only events being logged DHCP Client request. Connect logging is disabled. Then in the Scrips tab, under Firewall, I put the following iptables line:
iptables -I FORWARD -s 192.168.5.76 -m limit --limit 1/minute --limit-burst 1 -j LOG
That line tells iptables to log traffic for one of that IP address at a maximum of one line per minute. You have to have static IPs set for each phone for this to work. This guarantees the phone traffic will get logged without flooding the logs with connections from the phones or other devices. If you have more phones just add another line with the appropriate IP address.