View Full Version : Is folding possible on a Smoothwall box?
Fast420A
05-12-03, 12:54 AM
Would the Linux client be what I would need to use or is there not a client for this application? I don't have the smoothwall box setup yet so I can't just try it and see plus I know jack about Linux. Thanks.
CaliVW78
05-12-03, 03:37 AM
Since smoothwall is linux based, I don't see why you shouldn't be able to run it from a console on the box. Anyone correct me if I am wrong. I have many sessions running on linux but not on Smoothwall specifically. Go download the client here (http://stanford.edu/group/pandegroup/release/FAH3Console-Linux.exe) . Then from the directory that you downloaded the client to type in "./FAH3Console-Linux.exe" without the quotes and it will start the client. Enter name, team#, etc and your off and running. Good luck.
CaliVW78
Give David a PM! He lives in Linux! lol! He's mad about it! (I see why hes mad about it tho cos linux rules!)
Originally posted by Fast420A
Would the Linux client be what I would need to use or is there not a client for this application? I don't have the smoothwall box setup yet so I can't just try it and see plus I know jack about Linux. Thanks.
As long as it has reasonably up to date kernel and networking gubbinz, yes it will fold. However, as Smoothwall hasnt got a GUI running locally, using Wine and the windows client wont be possible. (The windows client is marginally faster).
I just checked the smoothwall website and it says kernel 2.4.19 so Folding should work just great :D
Download th Linux client and fold away!!! :beer:
Fast420A
05-12-03, 10:22 AM
THANKS!!!!
Originally posted by David
As long as it has reasonably up to date kernel and networking gubbinz, yes it will fold. However, as Smoothwall hasnt got a GUI running locally, using Wine and the windows client wont be possible. (The windows client is marginally faster).
I just checked the smoothwall website and it says kernel 2.4.19 so Folding should work just great :D
Download the Linux client and fold away!!! :beer:
I would like to do this but I need (lots of) help.
1) First off, "Linux Console" or "Linux Console B"
2) I want it in /fah
3) I want it to autorun without having to log in as root.
Thanks!
Arkaine23
07-08-03, 04:18 PM
1. Linux B is faster
2. save it to your /home/username then
cd /home/username
mkdir fah
mv /home/username/FAH3Console-LinuxB.exe /home/username/fah
as root:
chown -R username FAH3Console-LinuxB.exe
chmod +x FAH3Console-LinuxB.exe
3. Autostarting it will depend on the internals of Smoothwall. Generally its done by writing a simple shell script and putting that script in an /etc/rc#.d file, but not all distros use that system.
An example startup script would look like this:
#!/bin/sh
cd /home/username/fah
./FAH3Console-LinuxB.exe -advmethods -forceasm
You could just call it "fold" and stick it in /usr/local/bin.
chmod +x fold
Then you could just type the command "fold" into a terminal to start folding. That's not automatic, but pretty close. And you wouldn't have to be root to run it.
Its based on Redhat Linux. I was in the IRC folding channel and we kind of figured out that smoothwall doesnt support the console "B".
Ok ignore all the older stuff.
(1) Smoothwall has no rc.local to put "foldon" in (from another guide). Is there another file I can put the startup thing?
(2) I get this when I try to run foldon manually:
/usr/local/bin/foldon: line 8: ./FAH4Console.exe: Permission denied
Any help out there?
Did you do this:
as root:
chown -R username FAH4Console.exe
chmod +x FAH4Console.exe
Edit: OOps I meant 4 not 3 I changed it now;)
Ok I got it to run without errors.. but I dont know where/how to set it to run on startup.
Arkaine23
03-15-04, 01:46 PM
If there's no rc.local, then there may be /etc/rc2.d and /etc/rc3.d. Smoothwall probably boots into runlevel 3 by default.
So you should:
ln -s /usr/local/bin/foldon /etc/rc3.d/S99foldon
Then you should edit you startup script slightly.
#!/bin/sh
cd /path/to/folding/directory
su -c "./FAH4Console-Linux.exe -advmethods -forcesse > /dev/null &" username_to_run_as
figure-later
03-15-04, 02:48 PM
http://community.smoothwall.org/forum/viewtopic.php?t=3223
You can do SETI this way I would think FAH would be the same.
I thought about it but my SW Box is very very slow.
Hope this helps
Good luck
moz_21,
When you get it working would you mind writing out the steps in the form of a guide for the folding team page and the FAQ?
Originally posted by Arkaine23
If there's no rc.local, then there may be /etc/rc2.d and /etc/rc3.d. Smoothwall probably boots into runlevel 3 by default.
So you should:
ln -s /usr/local/bin/foldon /etc/rc3.d/S99foldon
Then you should edit you startup script slightly.
#!/bin/sh
cd /path/to/folding/directory
su -c "./FAH4Console-Linux.exe -advmethods -forcesse > /dev/null &" username_to_run_as
all I have is an rc.d folder with rc.firewall.up, rc.firewall.down, and similar files
I'll try to write a guide if I get it workin.
http://community.smoothwall.org/forum/viewtopic.php?t=4477&highlight=automatic+startup
anvil82
03-16-04, 02:06 PM
What speed is your smoothwall box?
Mostly People use < 200mhz for a smoothwall.
Originally posted by anvil82
What speed is your smoothwall box?
Mostly People use < 200mhz for a smoothwall.
Right now it is a k6-2 200mhz.. but I am tryin to figure out how to set it all up b/c I want to get possibly a 1ghz+ AMD for my smoothwall and figured then it could fold. Kinda a dual-purpose firewall...
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.