New dyndns widget not showing cached ip?
So wasn't sure if this should be in webgui maybe? But since running 2.1, maybe it works on 2.0.2 versions?
So in the services section of dynamic dns - it shows my cached IP. See attached 1
But in the widget cached IP shows N/A?
built on Sun Feb 10 22:04:57 EST 2013
With gitsync of just a few minutes ago, which added the widget
I also just forced a dyndns update
Feb 13 09:45:01 php: /services_dyndns_edit.php: phpDynDNS (snipped.homeip.net): (Success) IP Address Changed Successfully!
Feb 13 09:45:01 php: /services_dyndns_edit.php: phpDynDNS: updating cache file /conf/dyndns_wandyndns-static'johnpoz.homeip.net'0.cache: 24.13.xx.xx
Feb 13 09:45:01 php: /services_dyndns_edit.php: DynDns debug information (snipped.homeip.net): 24.13.xx.xx extracted from local system.
Feb 13 09:45:01 php: /services_dyndns_edit.php: DynDNS (snipped.homeip.net): Current Service: dyndns-static
Feb 13 09:45:01 php: /services_dyndns_edit.php: DynDNS (snipped.homeip.net): DynDns _checkStatus() starting.
Feb 13 09:44:58 php: /services_dyndns_edit.php: DynDNS (snipped.homeip.net): DynDns _update() starting.
Feb 13 09:44:58 php: /services_dyndns_edit.php: DynDNS (snipped.homeip.net): running get_failover_interface for wan. found em1
Feb 13 09:44:58 php: /services_dyndns_edit.php: DynDns debug information (snipped.homeip.net): 24.13.xx.xx extracted from local system.
Feb 13 09:44:57 check_reload_status: Syncing firewall
Feb 13 09:44:57 php: /services_dyndns_edit.php: DynDns: updatedns() starting
And widget still just showing N/A for this dyndns entry.
Fixed by pull request https://github.com/pfsense/pfsense/pull/414 - just a little bit missing from the construction of a filename.
By the way, thanks to the author of this (Stanley). I had been thinking this would be useful on the dashboard at many of my sites that have regularly changing IPs, and here it is.
stan-qaz last edited by
Glad to see someone with a use for this widget, better to see someone trying and someone fixing it for 2.1 which I'm not brave enough to try yet.
Well that fixed the cached ip - thanks.. Im not really a great test for if that changes, mine doesn't change very often. Even when I bring up a different test pfsense vm, or even different distro I use the same mac on the wan interface so that isp doesn't change my IP.
Now if you look at first picture above you see a custom setting that has cached IP, but does not have a hostname listed - so is that why maybe the widget just has blank for those 2 columns? (service/hostname)
Any widget that adds more info to the main page is great (thanks Stan!), even thought I personally don't have a lot of use for this one - figured I would give it a test run since I do have dyndns, even if not changing all that often.
edit: Just ran another gitsync, noticed few more commits for the widget and now looks good - see other pic showing the custom service listing.
Great Widget, thanks to everyone involved!