Questions and Answers :
Unix/Linux :
Modem Connection
Message board moderation
Author | Message |
---|---|
Yosemity Sam ![]() Send message Joined: 28 Aug 99 Posts: 10 Credit: 286,143 RAC: 0 ![]() |
I'm in the process of switching from classic to BOINC. I have been running classic 4 times a day from a cron job. The cron job dial the modem, start classic then hangs up the modem. What is the best way of handling modem connections with BOINC? ![]() |
![]() Send message Joined: 25 Nov 01 Posts: 21763 Credit: 7,508,002 RAC: 20 ![]() ![]() |
What is the best way of handling modem connections with BOINC? That depends on how you get charged for the calls/connection. You can let it all happen automatically with a DUN (dial-up networking) utility/setup. Or you can do it all manually and hit "update" whenever you usually connect. Set your cache size as appropriate but take care not to set too large a number so that you don't cause problems with impending deadlines. I've not checked this out but you may well be able to use cron to send a signal to boinc to update. Good luck, Martin See new freedom: Mageia Linux Take a look for yourself: Linux Format The Future is what We all make IT (GPLv3) |
Yosemity Sam ![]() Send message Joined: 28 Aug 99 Posts: 10 Credit: 286,143 RAC: 0 ![]() |
What is the best way of handling modem connections with BOINC? Connection charges is a non-issue. What impending deadlines are you refering to? This doesn't make sence. It sounds like to run BOINC and any of it's projects with a dialup access to the internet you have to manually update through the BOINC manager. Is this correct? If so and I cannot do something as outlined below then the new process is too labor intensive and I cannot use it and will stop wasting my on time on it. My cron scrips do something like this (very high level) 1 - dial connection using wvdial 2 - start seti 3 - wait a set amount of time to allow download of data to complete 4 - hang up connection If so then I cannot use it and will stop wasting my on time with it. Thanks ![]() |
![]() Send message Joined: 25 Nov 01 Posts: 21763 Credit: 7,508,002 RAC: 20 ![]() ![]() |
Connection charges is a non-issue. Good, then it can all be fully automatic. Look up a howto for your distro, or a general howto, for enabling automatic dial-up for internet requests. (Sorry, never had to do that here being as I'm on broadband :-) ) What impending deadlines are you refering to? For s@h, you have two weeks from the WU download time to successfully upload an analysis result. You can set your cache to be up to 10 days, however this can cause scheduling problems for Boinc to try to get results back to Berkeley in time. Best is to set for just a few days and perhaps no more than 5 days max. Try smallish changes when experimenting to see what happens. ... with a dialup access to the internet you have to manually update through the BOINC manager. That is one way to do it. Tell Boinc never to connect without permission and then manually hit update when you start your dial-up. On Linux, you could do clever scripting to dial-up and then tell Boinc to update all from cron if you wish. Or you could enable automatic DUN... My cron scrips do something like this (very high level) Why not? Except at step 2 you send a signal to the Boinc manager to initiate an update. Sorry, you'll have to look that part up. There's command-line details on the Boinc website (not s@h specific). And this likely has already been done by a 3rd-party addon. Could be worth looking. (DUN sounds easiest ;-) ) And hey! This is Linux. Almost everything can be automated!! Hope that's of help, Good luck, Martin See new freedom: Mageia Linux Take a look for yourself: Linux Format The Future is what We all make IT (GPLv3) |
©2025 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.