Stupid guy installs linux to HD for first time. Watch the madness

Message boards : Number crunching : Stupid guy installs linux to HD for first time. Watch the madness
Message board moderation

To post messages, you must log in.

Previous · 1 . . . 3 · 4 · 5 · 6 · 7 · 8 · 9 · Next

AuthorMessage
Profile terrorhertz
Avatar

Send message
Joined: 26 Mar 00
Posts: 401
Credit: 31,534
RAC: 0
United States
Message 466030 - Posted: 26 Nov 2006, 1:36:47 UTC

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)
ID: 466030 · Report as offensive
Profile terrorhertz
Avatar

Send message
Joined: 26 Mar 00
Posts: 401
Credit: 31,534
RAC: 0
United States
Message 466059 - Posted: 26 Nov 2006, 2:13:02 UTC

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.
ID: 466059 · Report as offensive
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 21019
Credit: 7,508,002
RAC: 20
United Kingdom
Message 466807 - Posted: 27 Nov 2006, 10:09:26 UTC - in response to Message 465883.  
Last modified: 27 Nov 2006, 10:20:15 UTC

... 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.
If you use this to run BOINC be sure to add the command to run boinc at the end of the file. Once boinc runs it wiil not execute anymore commands listed after it in the rc.local file until Boinc is stopped.

This file can be found in other directories on different versions of Linux. The above directory is the correct one for Mandrake. ...

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)
ID: 466807 · Report as offensive
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 21019
Credit: 7,508,002
RAC: 20
United Kingdom
Message 466810 - Posted: 27 Nov 2006, 10:16:22 UTC - in response to Message 465905.  
Last modified: 27 Nov 2006, 10:17:51 UTC

...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)
ID: 466810 · Report as offensive
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 21019
Credit: 7,508,002
RAC: 20
United Kingdom
Message 467051 - Posted: 27 Nov 2006, 21:11:06 UTC - in response to Message 466807.  
Last modified: 27 Nov 2006, 21:14:43 UTC

...

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 ...

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)
ID: 467051 · Report as offensive
Hans Dorn
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 3 Apr 99
Posts: 2262
Credit: 26,448,570
RAC: 0
Germany
Message 467253 - Posted: 28 Nov 2006, 2:51:33 UTC - in response to Message 464839.  
Last modified: 28 Nov 2006, 2:52:51 UTC

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".

I'm off to look at TightVNC to see if there's passwords/permissions I can set.


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

ID: 467253 · Report as offensive
Astro
Volunteer tester
Avatar

Send message
Joined: 16 Apr 02
Posts: 8026
Credit: 600,015
RAC: 0
Message 467486 - Posted: 28 Nov 2006, 13:05:56 UTC
Last modified: 28 Nov 2006, 13:06:27 UTC

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
ID: 467486 · Report as offensive
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 21019
Credit: 7,508,002
RAC: 20
United Kingdom
Message 467504 - Posted: 28 Nov 2006, 14:39:33 UTC - in response to Message 467486.  
Last modified: 28 Nov 2006, 14:43:03 UTC

Update:

Uptime 3 days, 15 hours, 51 min.

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)
ID: 467504 · Report as offensive
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 21019
Credit: 7,508,002
RAC: 20
United Kingdom
Message 467577 - Posted: 28 Nov 2006, 18:06:38 UTC - in response to Message 467504.  

...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?

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)
ID: 467577 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14674
Credit: 200,643,578
RAC: 874
United Kingdom
Message 467610 - Posted: 28 Nov 2006, 21:20:53 UTC

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.
ID: 467610 · Report as offensive
Astro
Volunteer tester
Avatar

Send message
Joined: 16 Apr 02
Posts: 8026
Credit: 600,015
RAC: 0
Message 467643 - Posted: 28 Nov 2006, 22:17:27 UTC - in response to Message 467610.  

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.

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).
ID: 467643 · Report as offensive
Astro
Volunteer tester
Avatar

Send message
Joined: 16 Apr 02
Posts: 8026
Credit: 600,015
RAC: 0
Message 470533 - Posted: 2 Dec 2006, 14:30:28 UTC

Uptime 7 days, 17 hours, and 18 min and counting.
ID: 470533 · Report as offensive
Michael Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 21 Aug 99
Posts: 4608
Credit: 7,427,891
RAC: 18
United States
Message 470600 - Posted: 2 Dec 2006, 17:18:38 UTC - in response to Message 470533.  

Uptime 7 days, 17 hours, and 18 min and counting.


Check my sig for my current uptime.

ID: 470600 · Report as offensive
Profile KWSN - Chicken of Angnor
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 9 Jul 99
Posts: 1199
Credit: 6,615,780
RAC: 0
Austria
Message 470601 - Posted: 2 Dec 2006, 17:20:39 UTC

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
ID: 470601 · Report as offensive
Profile boog
Avatar

Send message
Joined: 28 Apr 03
Posts: 57
Credit: 1,153,933
RAC: 0
United States
Message 470985 - Posted: 3 Dec 2006, 0:49:38 UTC - in response to Message 467051.  

...

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 ...

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]


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
ID: 470985 · Report as offensive
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 21019
Credit: 7,508,002
RAC: 20
United Kingdom
Message 471401 - Posted: 3 Dec 2006, 19:12:18 UTC

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)
ID: 471401 · Report as offensive
Astro
Volunteer tester
Avatar

Send message
Joined: 16 Apr 02
Posts: 8026
Credit: 600,015
RAC: 0
Message 471740 - Posted: 4 Dec 2006, 1:26:30 UTC

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.
ID: 471740 · Report as offensive
Astro
Volunteer tester
Avatar

Send message
Joined: 16 Apr 02
Posts: 8026
Credit: 600,015
RAC: 0
Message 480597 - Posted: 12 Dec 2006, 2:53:22 UTC

Uptime, Update:

Uptime 17 days 5 hours 41 minutes and still ticking.
ID: 480597 · Report as offensive
Astro
Volunteer tester
Avatar

Send message
Joined: 16 Apr 02
Posts: 8026
Credit: 600,015
RAC: 0
Message 486155 - Posted: 20 Dec 2006, 14:25:21 UTC

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

ID: 486155 · Report as offensive
Profile tekwyzrd
Volunteer tester
Avatar

Send message
Joined: 21 Nov 01
Posts: 767
Credit: 30,009
RAC: 0
United States
Message 486302 - Posted: 20 Dec 2006, 18:05:53 UTC - in response to Message 486155.  
Last modified: 20 Dec 2006, 18:13:14 UTC

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


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)
ID: 486302 · Report as offensive
Previous · 1 . . . 3 · 4 · 5 · 6 · 7 · 8 · 9 · Next

Message boards : Number crunching : Stupid guy installs linux to HD for first time. Watch the madness


 
©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.