Message boards :
Number crunching :
Stupid guy installs linux to HD for first time. Watch the madness
Message board moderation
Previous · 1 . . . 3 · 4 · 5 · 6 · 7 · 8 · 9 · Next
Author | Message |
---|---|
terrorhertz Send message Joined: 26 Mar 00 Posts: 401 Credit: 31,534 RAC: 0 |
Sorry Astro I was mistaken. I thought you ment that you had Boinc running for that time. I take it that you where rferring to reallVNC or TightVNC. In my post I was asking what method you used to run boinc at startup. My bad. since you haven't done that. in particular. I'm still not pleased with some of it, for example, when I use a win machine to connect; X and Xrbf take up 75% of the cpu and it stops boinc from running when I'm managing it. I don't remember Realvnc doing that. But If I exit Realvnc then the machine reapplies full effor to crunching, so I don't attach to it often. It is probably stopping it while there is activity on the machine. Boinc only runs when the PC is idol.unless they have changed that.i've been away from Boinc for about a year. Does it return when you disconnect from the linux box or do you have to stop realVNC/tightVNC on the linux box all together to get boinc to run again? Does BOINc run full speed up untill you log in? The encryprion can bog it down if your useing a slow PC or have a lot of stuff installed and running. I run a 400MHz PC with mandrake 10 that has a rough time of handleing encrypted transfers. (Shttp and SSH) |
terrorhertz Send message Joined: 26 Mar 00 Posts: 401 Credit: 31,534 RAC: 0 |
Astro, PS. did you ever get the extra receptacles installed in you apt? Are you referring to when I was rewiring my APT to accept the extra powerload? That was over a year ago!!! I never though anyone would remember that! Yes I did. It ran fine without ever frying another recepticle. I just put in some new breakers and ran the wires to my PC area. In that way me and my roomate each had our own breakers for each of our networks. Together it was too much. I also had to replace the fried recepticles to make everyone happy since they saw it as my fault!! and I had to wash off the burn marks from the walls. |
ML1 Send message Joined: 25 Nov 01 Posts: 21019 Credit: 7,508,002 RAC: 20 |
... Another method that can be used to run programs automajically at boot in Linux is with the /etc/rc.d/rc.local file. This is much like autoexec.bat on windows/DOS. To continue operation rather than stay trapped in boinc, add a "&" on the end of the command line so that the boinc process is started up in parallel to other operations. Note that if doing this from rc.local, you must also redirect any output to a log file somewhere (use ">" and "2>" or "2>&1"). It is also a good idea to use "su" so that boinc runs as it's own user rather than as root! For example in "/etc/rc.d/rc.local": #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local # boinc: /home/boinc/bin/runboinc & And then in "/home/boinc/bin/runboinc" #!/bin/bash # BOINC background tasks # Berkeley seti@home and other clients boinc='/home/boinc/boinc/boinc' # cd "$( dirname $boinc )" cd "${boinc%/*}" # dirname # boinc="./$( basename $boinc )" boinc="./${boinc##*/}" # basename # Ensure that only one instance will be running (kill all others) killall $boinc >/dev/null 2>&1 sleep 15 #boinc="'$boinc -allow_remote_gui_rpc'" # su --command="$boinc -allow_remote_gui_rpc" boinc >>/var/log/boinc/boinccli.log 2>&1 & su --command="$boinc" boinc >>/var/log/boinc/boinccli.log 2>&1 & OK, so lots of "boinc" in there. That little lot assumes that you've installed into the boinc user home directory in a directory also called boinc. Also, you need to create a boinc writeable boinc directory in /var/log for the log messages. You could instead just have that in your boinc user directory. But then, I also use logrotate to rotate the boinc log in /var/log. Happy crunchin', Martin See new freedom: Mageia Linux Take a look for yourself: Linux Format The Future is what We all make IT (GPLv3) |
ML1 Send message Joined: 25 Nov 01 Posts: 21019 Credit: 7,508,002 RAC: 20 |
...I am just tired of giving MS $100 for the priviledge of running boinc on supplemental machines that just sit on the floor (tables, desktops, etc). This is my motivation. It took 4 days (off and on) to get this ONE working and all in all it would have been cheaper to by MS, but I suspect future addtions will go quicker and offset the expense... That little lot has been more than just a simple "install with defaults and go"... (And good entertainment :-) ) How long did it take to get your M$ systems set up as you wished from when you first came to that OS stone cold from DOS or elsewhere? A decade or more on M$ to just 4 days (+ Thanksgiving and family) to get into something else very new and customised to your existing working is very good going! Excellent stuff. Happy crunchin', Martin See new freedom: Mageia Linux Take a look for yourself: Linux Format The Future is what We all make IT (GPLv3) |
ML1 Send message Joined: 25 Nov 01 Posts: 21019 Credit: 7,508,002 RAC: 20 |
... And instead of manually hacking all that lot native-style, I've just discovered that some kind souls have 'packaged' boinc for some of the main Linux distros so that you can 'install' boinc (one-click style) just like any other application. The ones mentioned are: Debian (use "apt-get") Gentoo (use "portage") Ubuntu, Kubuntu, Xubuntu (use "apt-get") (And various boinc/seti@home utilities are packaged for Mandriva "urpmi", but not boinc itself. However, I have vague recollection of there being a Fedora Core Linux rpm package for boinc somewhere... And that should work on most Linux rpm-supported distros ok.) Happy crunchin', Martin [edit] There is also the thread "Linux question" that also discusses this. [/edit] See new freedom: Mageia Linux Take a look for yourself: Linux Format The Future is what We all make IT (GPLv3) |
Hans Dorn Send message Joined: 3 Apr 99 Posts: 2262 Credit: 26,448,570 RAC: 0 |
OK, Todays the day to get RealVNC working. As an experiment, I opened "TightVNC" on this mandriva machine. I typed in "192.168.2.3", entered password, and low and behold I was able to control on of my Winxp machines. However, if I opened RealVNC on another Win machine and entered the addy for the linux machine it came back with "connection refused". You can also use "rdesktop" to access your XP desktop from linux. You'll have to enable remote connections in the XP setings, and edit the list of users with remote access. Using rdesktop is far more efficient than vnc. You can't get remote access as the same user that is currently logged in! Regards Hans |
Astro Send message Joined: 16 Apr 02 Posts: 8026 Credit: 600,015 RAC: 0 |
Update: Uptime 3 days, 15 hours, 51 min. The link between Realvnc on my win machine to "desktop sharing" on my linux machine results in exceedingly slow reaction time on any process (seti, Boincmgr, and GKrellm. It's as if the whole processor is used for "desktop sharing" and nothing is left for other processes. I'm sure I can resolve this, but for now I'm leaving it in the corner to do it's thing. I also noticed that Boincmgr takes up 10-11% of the process when the manager is running, so I've learned to shut it down. I don't think it took that much when it was a win machine, but then maybe I've not done something exactly right either.??? Anyway, I'll leave her alone for now, and try some of the issues suggested below/above. Thanks for posting tony |
ML1 Send message Joined: 25 Nov 01 Posts: 21019 Credit: 7,508,002 RAC: 20 |
Update: Good stuff. The link between Realvnc on my win machine to "desktop sharing" on my linux machine results in exceedingly slow reaction time on any process (seti, Boincmgr, and GKrellm. It's as if the whole processor is used for "desktop sharing" and nothing is left for other processes. I'm sure I can resolve this, but for now I'm leaving it in the corner to do it's thing. Never tried Realvnc or "desktop sharing" so I don't know. I work one level lower and use "ssh" to connect/tunnel onto whichever machine and then either stay on a terminal or just let X11/Xorg do its magic across the ssh link. Use the Boinc/Boincmgr remote gui settings instead? I also noticed that Boincmgr takes up 10-11% of the process when the manager is running, so I've learned to shut it down. I don't think it took that much when it was a win machine, but then maybe I've not done something exactly right either.??? A little unexpected. I get between: S 0.7 0.5 0:00.23 boincmgr and S 0.0 0.5 0:00.25 boincmgr for running Boincmgr. That's 0% to 0.7% CPU used on an old 1800+ AMD Athlon. ???... What have you got set/configured for the graphics adapter? Is it an integrated graphics? Or something silly like an optical mouse constantly dithering the cursor? Anyway, I'll leave her alone for now, and try some of the issues suggested below/above. Thanks for posting Enjoy a few more tweaks! Happy crunchin', Martin See new freedom: Mageia Linux Take a look for yourself: Linux Format The Future is what We all make IT (GPLv3) |
ML1 Send message Joined: 25 Nov 01 Posts: 21019 Credit: 7,508,002 RAC: 20 |
...I work one level lower and use "ssh" to connect/tunnel onto whichever machine and then either stay on a terminal or just let X11/Xorg do its magic across the ssh link. See this post suggesing BoincView. That utility is Windows only but there are comments on the site that it works fine if run in Wine on a Linux system. (Wine provides a Windows API interface to the Linux OS so that you can then run Windows executables.) I'm sure there are other remote view utilities for the interested. Happy crunchin', Martin See new freedom: Mageia Linux Take a look for yourself: Linux Format The Future is what We all make IT (GPLv3) |
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14674 Credit: 200,643,578 RAC: 874 |
It depends which way round you want the link to work. Obviously Tony is, for the moment, working hard on the nix box and providing a lot of useful information (and entertainment!) in the process. But do you really want - except as an exercise in masochism - to control the windows boxes from nix? More likely, when the initial infatuation has died down, the nix box will become just a regular team member crunching quietly in the corner, and Tony will continue to do most of his posting/credit rate analysis on the regular windows boxes. (Excel for Unix, anyone?). That's when BoincView - or similar - will come in real handy to keep an eye on things. |
Astro Send message Joined: 16 Apr 02 Posts: 8026 Credit: 600,015 RAC: 0 |
It depends which way round you want the link to work. Obviously Tony is, for the moment, working hard on the nix box and providing a lot of useful information (and entertainment!) in the process. But do you really want - except as an exercise in masochism - to control the windows boxes from nix? Yup to all the above. I'm a cheap so and so. It grates me to think that I have to give a $100 to MS just to build machines that will never do anything but crunch for Boinc. Bill Gate said "Hey Tony, for a hundred bucks I'll allow you to volunteer a computer to boinc" ...My Bu**. Buying the hardware ought to be enough (and paying the electric bills). |
Astro Send message Joined: 16 Apr 02 Posts: 8026 Credit: 600,015 RAC: 0 |
Uptime 7 days, 17 hours, and 18 min and counting. |
Michael Send message Joined: 21 Aug 99 Posts: 4608 Credit: 7,427,891 RAC: 18 |
Uptime 7 days, 17 hours, and 18 min and counting. Check my sig for my current uptime. |
KWSN - Chicken of Angnor Send message Joined: 9 Jul 99 Posts: 1199 Credit: 6,615,780 RAC: 0 |
Record uptime for a Linux box running as my Dad's router was 627 days...then the UPS gave out :o) Stable all the while... Regards, Simon. Donate to SETI@Home via PayPal! Optimized SETI@Home apps + Information |
boog Send message Joined: 28 Apr 03 Posts: 57 Credit: 1,153,933 RAC: 0 |
... I am using ubuntu with boinc installed via apt-get Then I have ssh-server installed to remote in, and webmin installed to administer everything remotely. to start boinc on boot, I created a new cron job via webmin>system>scheduled cron jobs>Create a new scheduled cron job then I set the command to be started as my user "Execute cron job as" then under "Command" I put "boinc_client -dir /home/boog/boinc -allow_remote_gui_rpc >> /home/boog/boinc/boog_log &" /home/boog/boinc is obviously my path to boinc. then under "Simple Schedule" you can select when system boots I also set cron jobs to rotate the logs, and to occasionally restart boinc |
ML1 Send message Joined: 25 Nov 01 Posts: 21019 Credit: 7,508,002 RAC: 20 |
In the news this weekend for Windows users: FREE SECURITY PC owners will spend £3 billion on anti-virus software next year and many small business and home users pay their annual subscriptions without checking the dozens of free alternatives available. ... ... So perhaps there is indeed good business sense that Windows keeps them viruses going! (Note that Microsoft now also owns an Anti-Virus company.) Happy crunchin', and a virus-free Linux Christmas! Martin See new freedom: Mageia Linux Take a look for yourself: Linux Format The Future is what We all make IT (GPLv3) |
Astro Send message Joined: 16 Apr 02 Posts: 8026 Credit: 600,015 RAC: 0 |
I just walked through the installation of the Mandriva one 2007 free liveCD with someone and included getting boinc to run. Here's a play by play, step by step guide for those who don't want to give $300 bucks to MS for vista. what the heck, I'll load one up and attach while I type this: Insert CD, close drawer 07:16 click Start, Turn off, restart computer wait for win to shut down....... computer restarts, given f1/enter option 7:17, I did nothing and it started on it's own. Now loading....... screen displays text "booting the system...Press ESC for verbose mode. progress bar moving...... 07:18 brief flash of a login screen you don't have to touch. and my options box is open. Please choose language to use, it's preset to English, pick Next. Please choose country, preset to US, pick next EULA appears, click on "Accept". and OK Choose keyboard layout, preset to US keyboard, pick Next Which is your timezone. preset to New york, pick Next Date,Clock & Time zone setting, I changed this to the first box. click next 3D Desktop effects, preset to NO, click next At this point it finishes loading and opens the desktop 7:23 single click on the "firefox" Icon to open browser. Double click on menu bar to highlight existing madriva addy, Enter "http://setiathome.ssl.berkeley.edu" and click GO click on Download link Click on "all versions", scroll down to 5.6.4 linux, click on Download. A box opens, pick Save to disk and OK After download finishes I close the browser and download box. I see the boinc Icon on the desktop I click one Application, System, then select Terminal, a console opens, (note: if kde then there should be a "Konsole" icon on bottom, instead of the pull down menus I used.) My display says [guest@localhost ~]$, I want to be in ROOT, so I type in "su" (case sensitive) and hit enter. It now says [root@localhost guest}#. I enter "cd Desktop" (case sensitive) and hit enter. Display changes to [root@localhost Desktop]#. This is where you need to be. On some versions this is where you'll be when you perform the "su" command. So once you see your on the desktop, Enter "ls" and hit enter you should see boinc_5.6.4_i686-pc-linux-gnu.sh listed. If you do great. Then enter "sh boinc_5.6.4_i686-pc-linux-gnu.sh" and hit enter THe screen should read "use /home/guest/Desktop/Boinc/run_manager to start boinc" don't listen to that command Close out the Console window, double click on the new Boinc folder which should be on your desktop. it'll open a new box with many files, double click on "Boinc", and then doubleclick on boincmgr. the normal boinc manager should open adn the "Attach to projects" wizard should appear. you can figure out the rest 07:40 total elapsed time 24 min and that includes typing this out. I can do it in 10. |
Astro Send message Joined: 16 Apr 02 Posts: 8026 Credit: 600,015 RAC: 0 |
Uptime, Update: Uptime 17 days 5 hours 41 minutes and still ticking. |
Astro Send message Joined: 16 Apr 02 Posts: 8026 Credit: 600,015 RAC: 0 |
Stupid power company ruined my uptime. grrrr UPS too small I guess. Anyway, now that I'm "embracing" linux, I have a question. Is there a list somewhere of projects that have a linux app? So far, I've found ABCathome, Einstein, Rosetta, Seti, and Setibeta. I've also tried to attach to a couple which don't seem to have a linux app. Short of attaching to find out, is there a list somewhere? thanks tony |
tekwyzrd Send message Joined: 21 Nov 01 Posts: 767 Credit: 30,009 RAC: 0 |
Stupid power company ruined my uptime. grrrr UPS too small I guess. I've run all of these at one time or another on linux. *Projects I have computer(s) attached to. *Seti@Home *Seti/Astropulse Beta *Einstein@Home *XtremLab *Leiden Classical *LHC@Home *HashClash *Malariacontrol.net RieselSieve *Chess960@Home QMC@Home *Rectilinear Crossing Number *VTU@Home In addition, there's: Climate Prediction TANPAKU SIMAP Sztaki Desktop Grid Rosetta@Home Docking@Home RenderFarm@Home Predictor@Home Note: Not all are "ready for prime time" (some are alpha, some are beta) There may be more. Nothing travels faster than the speed of light with the possible exception of bad news, which obeys its own special laws. Douglas Adams (1952 - 2001) |
©2024 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.