unhappy_mage
[H]ard|DCer of the Month - October 2005
- Joined
- Jun 29, 2004
- Messages
- 11,455
Okay, the time has come to temporarily admit defeat and release (unleash?) Foldix on an unsuspecting world, seeing as how I haven't really modified it in a week or two. Given that, I've made a new filename for it and am publishing release notes. Here's MN Scout's walkthrough for how to configure Foldix (a few points have been edited for alternative methods of doing things):
If you want to make this permanent (I'd guess so), edit "/etc/rc.d/sysinit" with vi. Arrow down to line 11 and type "i#". This will put you in insert mode, and then comment that line. It's for DHCP which we won't be using, so no need to run it. Then hit the End key and enter, then enter the lines above. When you've got them all typed in, type Esc and then ":wq" (colon w q) and hit enter. Then these settings should persist across reboots.
So what's next? Presumably, getting PAM (pluggable authentication modules) going so that FAH can run as a user other than root would be good, but to quote myself:
As for putting a firewall on Foldix itself, it'd be relatively simple but relatively pointless. Everything but ssh and SMB is closed anyways, so the firewall would be effectively repeating what the policy already is, and that's no help.
So there's part two. "Part two?", you say? Yep, I said I'd release foldix and give release notes. So there are the release notes, where's the download? Well, here it is: Foldix 0.9! It weighs in at about 10 MB.
12-07-05 edit: Please note that newer versions of Foldix have more features; it's suggested you use them instead. The latest version will always be available here (at least until I change hosting, assuming I do...).
Finally, it's the part where the credits roll. seapirate and then budec, for testing ad infinitum, KodiakStar for keeping things from getting too serious ( ), Tormond for not getting mad when it didn't change to his username, and RPhArrow for moral support when I needed it and the towel was close to being thrown in. And next to last and probably least, marty9876 was the one who started this whole thing, alpha tested, beta tested, and gamma tested; to him I owe a debt of gratitude, and about 80k points at the moment. I'm not sorry I didn't pick his name for the project, though. Last on my list, though, is my father. He answered (or at least didn't laugh (too hard) at) my odd questions, some of which I imagine nobody *really* knows the answers too, and got me addicted to computers around a baker's dozen years ago. For that I thank him every day. Except on the ones I try to get PAM working
And on that note (and not even *close* to the 20k character limit per post, believe it or not!), I leave you with Foldix!
Manually configuring an IP address:MN Scout said:1. Find a hard drive you are willing to have completly erased without question. In other words, WARNING it automatically wipes the primary master drive. no "should I?", it just does it. watch where you put this disk, keep out of reach of children. WARNING
2. Boot to Anti-fold Servier cd.
3. Let run.
4. After it restarts, take the cd out. This will only take about a minute!
5. Use login:root password: Fold@on
6. cfgfold - to configure username and team #
7. getfold - to download F@H
7.5. If this doesn't work, check the output of "testnet" and try "configure static IP" below.
8. restart or just run "/etc/fold start".
9. Folding will start up right away. Yay!
Important commands to know (atleast what I know)
top - gets you to a process page
q - gets you out of the page (while in "top")
Alt+F1 etc will let you view different virtual desktops
ifconfig - will let you see your network ip address for the folding computer. You want the number on the second line. Then you can add this to EMIII. Will end up looking like this \\(your ip address here minus the brackets)\fold\1 . Enter this in the EM3 configuration window under "Box Path" on the "general info" tab. You must select the bottom list in order to do this.
alt+F5 for cpu 1 and alt+F6 for cpu 2 will let you view the folding output since each new core creates a virtual console starting at F5
testnet - will tell you if you can connect out to the internet by trying to ping http://www.google.com and several other tests.
To view FAHlog output txt file you can use virtual console 5:
1. Go back to the first virtual console by pressing ALT+F1
2. Type "more /fold/CPUNUMBER/FAHlog.txt" use 1,2 etc for CPUNUMBER since this correlates to the instance of F@H that is running
3. FAHlog.txt is displayed!
4. Note: You could hit shift+page up if you never switched off of the first virtual window. shift+page up will work in any of the virtual consoles for anything that has gone off of the screen, but it will only display new things that have gone off the screen since the last virtual console switch. If you have no idea what this means, don't worry, you're in good company; just play with it for a while and you'll get it.
"/etc/fold stop" - will stop the folding client
poweroff - shutdown the computer
Code:
ifconfig eth0 down
ifconfig eth0 YOUR.STATIC.IP.ADDRESS
route add default gw YOUR.DEFAULT.GATEWAY.IP
echo "nameserver YOUR.DNS.SERVER.IP" > /etc/resolv.conf
So what's next? Presumably, getting PAM (pluggable authentication modules) going so that FAH can run as a user other than root would be good, but to quote myself:
So that's postponed until further notice. However, I have played around with this, and it seems this is only an issue if a vulnerability is found in Samba. That seems to be unlikely, and most (all?) people are running this behind a firewall (and probably an ISP) which blocks SMB traffic.unhappy_mage said:Still no luck getting PAM going. It's an absolute cast-iron fireproof waterproof to 50 meters stainless B!TCH to get going. I've spent literally a week trying different ideas, and all of them have failed. Either I'm missing something obvious, or there is Great Magic at work here.
As for putting a firewall on Foldix itself, it'd be relatively simple but relatively pointless. Everything but ssh and SMB is closed anyways, so the firewall would be effectively repeating what the policy already is, and that's no help.
So there's part two. "Part two?", you say? Yep, I said I'd release foldix and give release notes. So there are the release notes, where's the download? Well, here it is: Foldix 0.9! It weighs in at about 10 MB.
12-07-05 edit: Please note that newer versions of Foldix have more features; it's suggested you use them instead. The latest version will always be available here (at least until I change hosting, assuming I do...).
Finally, it's the part where the credits roll. seapirate and then budec, for testing ad infinitum, KodiakStar for keeping things from getting too serious ( ), Tormond for not getting mad when it didn't change to his username, and RPhArrow for moral support when I needed it and the towel was close to being thrown in. And next to last and probably least, marty9876 was the one who started this whole thing, alpha tested, beta tested, and gamma tested; to him I owe a debt of gratitude, and about 80k points at the moment. I'm not sorry I didn't pick his name for the project, though. Last on my list, though, is my father. He answered (or at least didn't laugh (too hard) at) my odd questions, some of which I imagine nobody *really* knows the answers too, and got me addicted to computers around a baker's dozen years ago. For that I thank him every day. Except on the ones I try to get PAM working
And on that note (and not even *close* to the 20k character limit per post, believe it or not!), I leave you with Foldix!