Results 1 to 2 of 2

Thread: Help to build an Autofold Knoppix

  1. #1
    Junior Member
    Join Date
    May 2004
    Posts
    2

    Help to build an Autofold Knoppix

    I wish to use configure knoppix so that it automatically boots into folding ( http://folding.stanford.edu ). I also want to manage the computer remotely. I currently use realVNC on windoze based PC's. Could I set up the computer so I can telnet into it?

    I figured that this is not too hard but my Linux knowledge is v-basic.

    I guess I need to pass the 'cheatcodes' 2, Floppy config, noeject and noprompt as knoppix starts up. What do I need to edit to do this?

    Then use a bootscript on a floppy to knoppix so I can telnet into it (anyone shed some light how I go about doing this?), wget the folding work folder for that PC from an FTP, chmod neccesary files and start folding.

    Do I just append my script to the end of the knoppix.sh script? What is the difference in syntax between a boot script and just typing the commands in at the prompt?

    Bonus question, is there something I can add to my script so my work folder is automatically backed up to my ftp every couple of hours?

  2. #2
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    It would be better to ssh to your knoppix box. There are ssh clients for windows such as putty and teraterm.

    What version of knoppix are you remastering? Setting default cheatcodes is not too tough in the 3.4 version of Knoppix.... You don't need to set any really, but I would choose the codes-

    desktop=icewm screen=whatever_resolution_you_prefer

    This way you can use VNC to access you knoppix box graphically from a windows box, and you're using a lightweight windows-like GUI, so ram will be conserved.

    You'd add a startup script for a vncserver (not hard) and set a vnc password and configuration while remastering.

    If the remote computer you want to serve the folding directory from has a network share, you can write your folding init script to sambamount the server's share and then run folding entirely on the server's hard drive. Or you could get it from there originally and fold in the ram drive and then set a crontab to automatically save the foding directory to the server every so often.


    Here's an example init script that will access a windows share drive and launch a linux folding client from there:

    #!/bin/sh
    mkdir /home/knoppix/Desktop/fold
    smbmount //hostname/sharename /home/knoppix/Desktop/fold -o username=username_to_access_sharedrive password=password_to_access_sharedrive
    cd /home/knoppix/Desktop/fold/FAH_dir_on_server
    echo "Accessing server and launching folding@home as a background process...."
    ./FAH4Console-Linux.exe -advmethods -forcesse > /dev/null &



    I built a remaster called Overclockix which has a lot of folding specific stuff. You may want to try it out and look at the scripts I have in /usr/local/bin for folding and vnc.

    I also worked with my mentor to make a specialized version called Overclockix LTSP which uses terminal services to have one box act as a server for diskless clients to boot from via the network. (Once box boots from CD-rom and uses a persistent home or is HDD installed and the client boxes get their OS from the network and fold into their own directories on the server's HDD or persistent home.)

    In all versions of Overclockix, folding@home starts automatically and can be easily configured for your own username/team by a single command or can even be permanently configured prior to burning the iso.


    Here's a pic of my laptop running Overclockix's KDE 3.2 environment with a couple of karamba themes (monitoring folding progress and system information).




    I kind of have a hard time getting online just now since I'm in the process of moving and finding a job, but I do tend to check things here and on the overclockix forum just about every weekday morning. I'd be happy to help you out.

Similar Threads

  1. how do i Build Knoppix From Zero ?
    By lfs in forum Customising & Remastering
    Replies: 3
    Last Post: 08-09-2005, 03:58 AM
  2. knoppix.build scipts not found
    By sunpascal in forum Customising & Remastering
    Replies: 0
    Last Post: 01-21-2005, 06:50 AM
  3. Build knoppix with apm/acpi & alsa
    By beforewisdom in forum Ideas
    Replies: 5
    Last Post: 05-24-2004, 07:27 PM
  4. Build an ISDN Router using Knoppix 3.3
    By torbu in forum Networking
    Replies: 1
    Last Post: 05-09-2004, 01:20 PM
  5. Knoppix Latest build and USB storage ?
    By castlesoft in forum General Support
    Replies: 2
    Last Post: 12-02-2003, 06:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit picture

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit

$99.99



Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC picture

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC

$29.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$21.68



64GB (4x16GB) Micron PC4-2666V MTA16ATF2G64AZ 16GB UDIMM DDR4 Desktop Memory picture

64GB (4x16GB) Micron PC4-2666V MTA16ATF2G64AZ 16GB UDIMM DDR4 Desktop Memory

$239.99



TEAMGROUP T-Force Zeus 64GB (2x32GB) DDR4 2666MHz PC4-21300 Desktop RAM Kit picture

TEAMGROUP T-Force Zeus 64GB (2x32GB) DDR4 2666MHz PC4-21300 Desktop RAM Kit

$199.99



32GB KIT (2x16GB) DDR4 2666MHz PC4-21300 - 288 pin DESKTOP Non ECC - Black/Gold picture

32GB KIT (2x16GB) DDR4 2666MHz PC4-21300 - 288 pin DESKTOP Non ECC - Black/Gold

$121.00



Samsung 16GB LPCAMM2 PC5 7500 DDR5 LPDDR5X CAMM2 M561K1LC4DM0-CCTGM RAM Memory picture

Samsung 16GB LPCAMM2 PC5 7500 DDR5 LPDDR5X CAMM2 M561K1LC4DM0-CCTGM RAM Memory

$189.00



Crucial DDR3L 16GB 2 x 8GB 1600 MHz PC3L-12800 Laptop RAM Sodimm Memory 1.35V picture

Crucial DDR3L 16GB 2 x 8GB 1600 MHz PC3L-12800 Laptop RAM Sodimm Memory 1.35V

$41.00



Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1 picture

Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1

$399.00



RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED picture

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED

$445.00