Modem Connection

Questions and Answers : Unix/Linux : Modem Connection
Message board moderation

To post messages, you must log in.

AuthorMessage
Yosemity Sam
Avatar

Send message
Joined: 28 Aug 99
Posts: 10
Credit: 286,143
RAC: 0
United States
Message 193306 - Posted: 24 Nov 2005, 13:36:17 UTC

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?

ID: 193306 · Report as offensive
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 21763
Credit: 7,508,002
RAC: 20
United Kingdom
Message 193323 - Posted: 24 Nov 2005, 13:52:36 UTC

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)
ID: 193323 · Report as offensive
Yosemity Sam
Avatar

Send message
Joined: 28 Aug 99
Posts: 10
Credit: 286,143
RAC: 0
United States
Message 194529 - Posted: 25 Nov 2005, 20:11:12 UTC - in response to Message 193323.  

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


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


ID: 194529 · Report as offensive
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 21763
Credit: 7,508,002
RAC: 20
United Kingdom
Message 194549 - Posted: 25 Nov 2005, 20:26:43 UTC - in response to Message 194529.  
Last modified: 25 Nov 2005, 20:29:35 UTC

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)
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

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)
ID: 194549 · Report as offensive

Questions and Answers : Unix/Linux : Modem Connection


 
©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.