On May 20, 12:56 pm, Tadayoshi Kohno <
yo...@cs.washington.edu> wrote:
> Hi Glenn,
>
> This is great to hear! Thank you very much for your interest and
> offer! I'll try to have one of the original developers contact you
> out-of-band since they know the system at a source level much better
> than me.
Thanks.
>
> However, the first question I have is -- what operating system are you
> running? The reason being is that one may need to restart the Adeona
> client after changing the options file. On OSX, this entails
> executing the following commands from the command line:
I am using OS X 10.5.7
>
> sudo launchctl stop edu.washington.cs.adeona
> sudo launchctl unload /Library/LaunchDaemons/
> edu.washington.cs.adeona.plist
> sudo launchctl load /Library/LaunchDaemons/
> edu.washington.cs.adeona.plist
> sudo launchctl start edu.washington.cs.adeona
Yes, I was aware of this. Based on my brief experiments running only
'sudo launchctl stop edu.washington.cs.adeona' resulted in the adeona
process restarting with a new pid (I could not get it to fully stop
which was the expected result. This may be a bug in the config
file.) Can you confirm that a stop, or a stop + start will force re-
read of the config file? Or is unload/load required? (It should not
be required for a properly operating launchctl config.)
>
> As I think you found, one key entry in the options file is
> GWUPDATE_URL, which specified the URL from which to grab the gateway
> file.
I had trouble with changing this. Changing to to
www.rempe.us/gateways.adeona
(which is a page I put up to generate a gateway file with only a
single address of 127.0.0.1) resulted in an error in the adeona log
indicating a bad gateway url. This may be a bug.
What triggers a gateway update?
How often will it auto update (if it does while running at all)?
Can you get your client to update from this URL?
Should a gateway update overwrite the gateways config file that gets
installed initially? Or is the update in memory only?
http://www.rempe.us/gateways.adeona
As I understand it using the gateway file as presented in this custom
URL should force the client to attempt to submit to localhost.
Correct?
>
> Another key option is SCHED_LAMBDA. One can change the update
> interval by changing SCHED_LAMBDA as follows:
>
> The parameter controlling the inter-update random variable. It is
> equal to the average number of updates per second. (Multiply by 3600,
> and one gets the average number of updates per hour.)
>
> Lambda for averaging 1 per 30 seconds is 1 / 30 = .03
> Lambda for averaging 1 per 2 minutes is 1 / 120 = 0.00833 (this is
> probably the most reasonable test value)
> Lambda for averaging 1 per 60 minutes is 1 / 3600 = .0002777777
Thanks. That is helpful. I will try.
>
> Thanks!
> Yoshi
No Problem. I make no promises for success. I will let you know if
the approach looks promising or runs into snags though.