Allow network usage

Questions and Answers : Windows : Allow network usage
Message board moderation

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
Profile Geek@Play
Volunteer tester
Avatar

Send message
Joined: 31 Jul 01
Posts: 2467
Credit: 86,146,931
RAC: 0
United States
Message 1013338 - Posted: 8 Jul 2010, 4:14:59 UTC

Is there somewhere a dummy's guide for setting up the override file to not allow network activity during the 3 day science fair outage?

This is going to have to be a real dummy's guide because I have tried every way I can think of and it still try's to upload on the off day's.
Boinc....Boinc....Boinc....Boinc....
ID: 1013338 · Report as offensive
Profile Byron Leigh Hatch @ team Carl Sagan
Volunteer tester
Avatar

Send message
Joined: 5 Jul 99
Posts: 4548
Credit: 35,667,570
RAC: 4
Canada
Message 1013344 - Posted: 8 Jul 2010, 4:38:48 UTC - in response to Message 1013338.  
Last modified: 8 Jul 2010, 4:40:25 UTC

Is there somewhere a dummy's guide for setting up the override file to not allow network activity during the 3 day science fair outage?
This is going to have to be a real dummy's guide because I have tried every way I can think of and it still try's to upload on the off day's.

Geek@Play
go to your BOINC Managers GUI
-> select Activity (at the top)
then you will see a drop down Menu
-> then select -> suspend network Activity
I hope this helps
Byron
ID: 1013344 · Report as offensive
Profile Geek@Play
Volunteer tester
Avatar

Send message
Joined: 31 Jul 01
Posts: 2467
Credit: 86,146,931
RAC: 0
United States
Message 1013345 - Posted: 8 Jul 2010, 4:42:39 UTC

No I'm talking about the preferences override file. There places there to set up times for each day for network activiity. No matter how I set it up network activity still occures.
Boinc....Boinc....Boinc....Boinc....
ID: 1013345 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 1013353 - Posted: 8 Jul 2010, 5:05:43 UTC - in response to Message 1013345.  

Which specific hours are you trying to set, on which days?
ID: 1013353 · Report as offensive
Profile Geek@Play
Volunteer tester
Avatar

Send message
Joined: 31 Jul 01
Posts: 2467
Credit: 86,146,931
RAC: 0
United States
Message 1013357 - Posted: 8 Jul 2010, 5:22:04 UTC

As I said in the original post, I am trying to automatically stop network activity during the 3 day outage. Can't find instructions for day-of-week override settings.
Boinc....Boinc....Boinc....Boinc....
ID: 1013357 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 1013360 - Posted: 8 Jul 2010, 5:39:22 UTC - in response to Message 1013357.  

Set "Every day between the hours of X and Y" to something not equal. As else you don't need to override the network as it's always on.

Then check Tuesday, Wednesday, Thursday and Friday.
For Tuesday fill in 17:00-00:00
For Wednesday fill in 00:01-00:00
For Thursday fill in 00:01-00:00
For Friday fill in 00:01-16:00
ID: 1013360 · Report as offensive
Profile Geek@Play
Volunteer tester
Avatar

Send message
Joined: 31 Jul 01
Posts: 2467
Credit: 86,146,931
RAC: 0
United States
Message 1013366 - Posted: 8 Jul 2010, 6:09:30 UTC

Thanks for the info.

I was taught military time such that 2400 would define the end of the day, not 0000 as that would define the beginning of a new day. My mistake.
Boinc....Boinc....Boinc....Boinc....
ID: 1013366 · Report as offensive
Profile Geek@Play
Volunteer tester
Avatar

Send message
Joined: 31 Jul 01
Posts: 2467
Credit: 86,146,931
RAC: 0
United States
Message 1013371 - Posted: 8 Jul 2010, 6:31:52 UTC

Now I'm confused................

I was in the military for 12 years and of course we used military time as described above (or below as the case may be).

In your example the 1 minute period between Tuesday at 00:00 to Wednesday at 00:01 is the network allowed or not allowed? Perhaps not allowed because X and Y are set not equal?
Boinc....Boinc....Boinc....Boinc....
ID: 1013371 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 1013372 - Posted: 8 Jul 2010, 6:50:18 UTC - in response to Message 1013371.  
Last modified: 8 Jul 2010, 6:53:02 UTC

Oh... I was asleep still. :)

The day of the week override will, of course, tell when the network is allowed. I put in the days that it doesn't matter as then Seti is down. ;-)

So you'll have to check Friday, Saturday, Sunday, Monday and possibly Tuesday.
Then:

For Friday fill in 16:00-00:00
For Saturday, Sunday and Monday fill in 00:01-00:00
For Tuesday fill in 00:01-17:00

It's also possible that it only allows till 23:59 before the next day starts with 00:00, but I am not sure about that. You can only try. BOINC will give an error if the value can't be set. (I'll check the source code later).

The 1 minute period is included in the values. Since you can't overlap days (23:16-00:02 and 00:02-23:16) or fill in 00:00-00:00 (there's only one midnight per day! so these values are equal thus no restriction), there's never really a 1 minute overlap.
ID: 1013372 · Report as offensive
Profile Geek@Play
Volunteer tester
Avatar

Send message
Joined: 31 Jul 01
Posts: 2467
Credit: 86,146,931
RAC: 0
United States
Message 1013373 - Posted: 8 Jul 2010, 7:01:47 UTC
Last modified: 8 Jul 2010, 7:07:09 UTC

I agree that there is and can only be one midnight. By all 24 hour time conventions I am aware of, UTC, GMT whatever, 2400 represents midnight and 0000 represents the start of a new day. Why would Boinc make up a new time convention? Why not just use the real 24 hour clock?

[edit] and your examples still have a 1 minute gap unacounted for between Tuesday at 00:00 to Wednesday at 00:01.

It's late......get some sleep!
Boinc....Boinc....Boinc....Boinc....
ID: 1013373 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 1013375 - Posted: 8 Jul 2010, 7:20:11 UTC - in response to Message 1013373.  

I agree that there is and can only be one midnight. By all 24 hour time conventions I am aware of, UTC, GMT whatever, 2400 represents midnight and 0000 represents the start of a new day. Why would Boinc make up a new time convention? Why not just use the real 24 hour clock?

A real 24 hour clock switches from 23:59 to 00:00, it never goes to 24:00 first before switching to 00:00 as then each day takes 24 hours plus 1 minute. 00:00-24:00 = 24h, 24:00-00:00 = 1 minute. 24:00 and 00:00 is the same thing.

[edit] and your examples still have a 1 minute gap unacounted for between Tuesday at 00:00 to Wednesday at 00:01.

No they don't. Think about it, the range is 00:00-23:59 or 00:01-00:00, there's no overlap, there's nothing unaccounted. It would be if the range was 00:02-00:00.

It's late......get some sleep!

I'm only just awake, must I go to bed again? I already slept 6 hours. :)
ID: 1013375 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 1013376 - Posted: 8 Jul 2010, 7:26:56 UTC - in response to Message 1013375.  

It looks like both 00:01-00:00 and 00:00-23:59 are possible. Rethinking, I suspect it's better to use the latter.
ID: 1013376 · Report as offensive
Profile Geek@Play
Volunteer tester
Avatar

Send message
Joined: 31 Jul 01
Posts: 2467
Credit: 86,146,931
RAC: 0
United States
Message 1013382 - Posted: 8 Jul 2010, 8:38:32 UTC - in response to Message 1013376.  

Couldn't sleep......................

Using your latter example of 00:00-23:59

At 23:59 there are still 60 seconds left until the beginning of the new day at 00:00, again using your example. During that 60 seconds is the network active or not?
Boinc....Boinc....Boinc....Boinc....
ID: 1013382 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 1013384 - Posted: 8 Jul 2010, 9:16:27 UTC - in response to Message 1013382.  
Last modified: 8 Jul 2010, 9:17:37 UTC

Hmmm, good question. So I tried something in BOINC Manager-Advanced prefs.

Setting a time of 00:00-12:00 runs from 00:00:00 to 11:59:59
So equal, setting a time from 00:00-23:59 runs only from 00:00:00 to 23:58:59

I set network times allowed between 00:00 and 01:00, but for Wednesday where I put in 00:00-00:00 and clicked OK. It took.

Shows in global_prefs_override.xml as:

   <net_start_hour>0.000000</net_start_hour>
   <net_end_hour>1.000000</net_end_hour>
   <day_prefs>
      <day_of_week>3</day_of_week>
      <net_start_hour>0.00</net_start_hour>
      <net_end_hour>0.00</net_end_hour>
   </day_prefs>


PS this only works when you have set BOINC to run according to preferences.
ID: 1013384 · Report as offensive
Profile Geek@Play
Volunteer tester
Avatar

Send message
Joined: 31 Jul 01
Posts: 2467
Credit: 86,146,931
RAC: 0
United States
Message 1013462 - Posted: 8 Jul 2010, 16:07:18 UTC
Last modified: 8 Jul 2010, 16:23:04 UTC

I guess I just don't understand the instructions..............

I leave the value of X at 00:00 and set the value of Y to 12:00 which should mean the network is never used. I make NO OTHER changes for the day of week, they are all blank. Then I save the preferences file. I check the messages and it says the current time and that it has read the preferences file. I go to "activity" and set "network activity based on preferences". Immediately Boinc starts trying to upload finished work.

So this is the part where I am really stupid. I never set any date or times for the network to become active but it does anyway. Guess I'll just continue to enable the network manually when I want it active.

[edit]
And to describe a full day as from 00:00-23:59 is troubling for those of us used to a 24 hour format. As I remember a full day is described as a full 24 hours, not 23 hours and 59 minutes. There is a full minute not accounted for.
Boinc....Boinc....Boinc....Boinc....
ID: 1013462 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 1013468 - Posted: 8 Jul 2010, 16:20:21 UTC - in response to Message 1013462.  

I leave the value of X at 00:00 and set the value of Y to 12:00 which should mean the network is never used.

No, that means that the network is available between midnight and noon. it isn't available from noon to midnight. So I don't know what time it is for you?
ID: 1013468 · Report as offensive
Profile Geek@Play
Volunteer tester
Avatar

Send message
Joined: 31 Jul 01
Posts: 2467
Credit: 86,146,931
RAC: 0
United States
Message 1013472 - Posted: 8 Jul 2010, 16:33:40 UTC - in response to Message 1013468.  

I looked again and the page says (no restriction if equal) for X and Y which implies that if they are not equal then you have FULL restrictions in place which then must be overriden by using the day of week below.

FOR ME instructions are not clear and are confusing. Especially for the missing minute each day. Like I said, I will continue to do it manually.


Boinc....Boinc....Boinc....Boinc....
ID: 1013472 · Report as offensive
Profile Geek@Play
Volunteer tester
Avatar

Send message
Joined: 31 Jul 01
Posts: 2467
Credit: 86,146,931
RAC: 0
United States
Message 1013476 - Posted: 8 Jul 2010, 16:42:45 UTC

Sorry to take up so much of your time without a satisfactory resolution.
Boinc....Boinc....Boinc....Boinc....
ID: 1013476 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 19 Sep 00
Posts: 3184
Credit: 446,358
RAC: 0
Germany
Message 1013504 - Posted: 8 Jul 2010, 17:18:22 UTC - in response to Message 1013476.  
Last modified: 8 Jul 2010, 17:19:48 UTC

No need to be sorry, the instructions are misleading and furthermore, the interface doesn't work correctly, as only two decimal digits are stored for the minutes, which doesn't allow an input of 23:59 to stay so. With every other change you make it will be reset to 23:58.

But now to your problem:

...which implies that if they are not equal then you have FULL restrictions in place
Yes, and in your case "full restrictions" would be: restrict network access to the time between 00:00 and 12:00. That means between 12:00 and 23:59, there is no network activity allowed.

which then must be overriden by using the day of week below
Yes, but even no restriction can be overridden. So, just ignore the upper values (after resetting them to equal values=no restriction) and set only the day-of-week override(s).

BTW, Ageless was slightly mistaken: 00:00-00:00 is taken into global_prefs_override.xml, but since the values are equal, it means no restriction for that day, regardless of the global setting.

So, that results in:
Tuesday 00:00-17:00
Wednesday 23:59-00:00
Thursday 23:59-00:00
Friday 16:00-00:00

Remember that any change you make afterwards anywhere in the local preferences will change the 23:59's to 23:58, but that would allow just one to two minutes of network activity on those days.

And set "Network activity based on preferences"!

Gruß,
Gundolf
Computer sind nicht alles im Leben. (Kleiner Scherz)

SETI@home classic workunits 3,758
SETI@home classic CPU time 66,520 hours
ID: 1013504 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 1013508 - Posted: 8 Jul 2010, 17:25:40 UTC - in response to Message 1013504.  

BTW, Ageless was slightly mistaken: 00:00-00:00 is taken into global_prefs_override.xml, but since the values are equal, it means no restriction for that day, regardless of the global setting.

Well yes, but that's what I wanted.. By setting a network allowed only between hours X and Y, have it override on (say) Saturday between 00:00-00:00 (no restriction, all day available).
ID: 1013508 · Report as offensive
1 · 2 · Next

Questions and Answers : Windows : Allow network usage


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.