PDA

View Full Version : BOINC for IPCop (Linux Firewall)



Evil-Dragon
10-23-2006, 03:43 PM
Discovered this today while trying to find out how to get BOINC running on my firewall while still being able to control it without having to SSH into my firewall everytime i wanted to make a change.

Here's a basic walkthrough on how to get it running:

Requirements:
IPCop Firewall 1.4.11: http://ipcop.org/
PuTTy: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
WinSCP: http://winscp.net/eng/download.php
BOINC (Linux): http://boinc.berkeley.edu/download_all.php?dev=1
BOINC IPCop Addon (Download Here (http://www.ban-solms.de/downloads/boinc-ipcop-0.1.0.tar.gz) / Mirror (http://evildragon.myby.co.uk/boinc-ipcop-0.1.0.tar.gz)) (Credit to IPCop Forum (http://www.ipcop-forum.de/forum/viewtopic.php?t=5648&postdays=0&postorder=asc&start=0))

Optional: BOINCView: http://boincview.amanheis.de/?page=download

1) Install BOINC to /home/boinc
2) Copy boinc-ipcop-0.1.0.tar.gz to / using WinSCP in binary transfer mode
3) Login with PuTTy as root, go to / and tar xvfz boinc-ipcop-0.1.0.tar.gz to extract it.
4) cd boinc-ipcop-0.1.0 and run ./install -i (do not worry about the errors!)
5) Login to IPCop and you'll find BOINC in the Services tab.

To uninstall use ./install -u

Optionally, you can use BOINCView to control your IPCop BOINC. Simply create a file called gui_rpc_auth.cfg in /home/boinc and put a password in it or some random characters on the first line of the file (it may already be generated anyway). Create a file called remote_hosts.cfg and put the IP that you wish to control it from with BOINCView (e.g. 192.168.1.2) and then restart BOINC. Add the machine's IP to BOINCView using "get data via network access" mode and use the password that you have in gui_rpc_auth.cfg.

Hope thats helpful to anyone thats trying to get BOINC to work on a IPCop firewall. The mod isn't mine so if it breaks or destroys your machine then please don't come shouting at me. Thanks!

AMDave
10-23-2006, 09:39 PM
Good find!

Black Beard
02-04-2008, 08:35 PM
Thanks for posting this guide.

Being a Linux newb I had a bit of a problem with step one though.:icon_rolleyes::icon_redface:

It took quite a bit of searching to figure out how to install BOINC. I finally found the correct command which is (for any other newbs out there):
sh boinc_5.10.28_i686-pc-linux-gnu.sh

I also got some errors like

tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
gunzip: stdin: invalid compressed data--crc error
gunzip: stdin: invalid compressed data--length error
gunzip: stdin: invalid compressed data--format violated
tar: Error exit delayed from previous errors

the first few times I tried to install it until I forced WinSCP to transfer the BOINC file to my IpCop box in binary mode. WinSCP seems to default to text mode for .sh files when set to auto.

My Ipcop is happily crunching away now.:icon_razz:

Black Beard

Nflight
02-04-2008, 09:40 PM
Welcome to the Team there Black Beard, Glad our boards provided you with answers that can help. :)

Lagu
02-05-2008, 12:12 AM
Please feel very welcome to our forum Black Beard! Feel free ask us about our project or our forum.

Nice of you put in a little tip ho to do for Linux/Boinc.

Lagu:icon_wink:

Evil-Dragon
02-05-2008, 09:48 AM
Glad it could be of use :D